Solved

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

Posted on 2011-03-09
5
757 Views
Last Modified: 2013-12-08
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
Comment
Question by:ClayCanvas
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:chwong67
ID: 35113377
You can lock/unlock transaction using SM01. You may write a batch program and schedule to lock/unlock within the time frame...
0
 

Author Comment

by:ClayCanvas
ID: 35113403
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
 
LVL 9

Expert Comment

by:chwong67
ID: 35113573
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
 

Author Comment

by:ClayCanvas
ID: 35113611
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
 
LVL 9

Accepted Solution

by:
chwong67 earned 500 total points
ID: 35113660
Write a simple ABAP program to lock/unlock transaction CO11N by Batch Input (with the help of Batch Input Recorder SHDB)...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question