• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 786
  • Last Modified:

Disable ability to run SAP transaction based on the time of day?

Is it possible to configure access to a SAP transaction based on the time of day?  We have some processing that occurs every night from 1:15 a.m to 2:00 a.m. that becomes corrupted when any individual performs a confirmation (co11n) during that 45 minutes period.  Is there a way to disable the transaction co11n during this 45 minute window?

Thanks
0
ClayCanvas
Asked:
ClayCanvas
  • 3
  • 2
1 Solution
 
chwong67Commented:
You can lock/unlock transaction using SM01. You may write a batch program and schedule to lock/unlock within the time frame...
0
 
ClayCanvasAuthor Commented:
thanks

What would happen if someone had the transaction open when it went from the unlocked to the locked state?  If they already had it open would they still be able to run the transaction?

0
 
chwong67Commented:
For those users already using the transaction before the transaction is locked, the transaction can still be saved and lock will be effective for next transaction...
0
 
ClayCanvasAuthor Commented:
One last question if I could.  I'm a non-technical user (business side).  What's the best way for me to explain to one of our analysts the method you have suggested (using a batch program to lock/unlock the transaction)?

Thanks
0
 
chwong67Commented:
Write a simple ABAP program to lock/unlock transaction CO11N by Batch Input (with the help of Batch Input Recorder SHDB)...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now