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

Posted on 2011-03-09
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?

Question by:ClayCanvas
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

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

Author Comment

ID: 35113403

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?


Expert Comment

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...

Author Comment

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)?


Accepted Solution

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)...

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

When CRM stops functioning propperly or mysteriously disappears then this is something you should always check. This can be useful when looking at an end users machine or your own machine if you are the end user. It may be fairly obvious to some but…
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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