‎2011 Jul 26 8:13 AM
Hi All,
I has write a program for lock the tcode for that I am using FM:-RSAU_WRITE_SM01_LOG,When I pass Input for FM like below
Tcode and lock ,
It will run correct but the database updation is not takes place..
Can any one guide to resolve the Issue..
Please tell me if there is any fm to lock the tcode ..
Thanks In advance.
Regards,
Nagesh
‎2011 Jul 27 10:13 AM
Hi,
If your ultimate motive is to update database,then why you are trying to lock a Tcode? You should lock the database table instead,then do your update work and then release the lock. That's it. I think it would be better if you create lock object from SE11 of your particular database table. Call ENQUEUE function module. Update DB table. Then call DEQUEUE function module and you are done.
Let me know if you face any problems.Hope this would help.
BR,
Atanu
‎2011 Jul 30 7:33 PM
Hi Atanu,
I am triying that also but ,while update database table whatever field get's updated is diffrent for diffirent tcodes, so how can i update
and
My requirement is Lock the tcode based on time and release the tcode base some time.
‎2011 Jul 30 8:42 PM
I suggest you read and understand the LUW concept - it's explained in SAP help. I think you may have a fundemental misunderstanding.
‎2011 Jul 27 11:34 AM