‎2008 May 19 9:02 PM
I'm calling the EDIT_TEXT function module to allow users to add or change texts stored under given text ids. It appears that just using this standard SAPscript text editor (via EDIT_TEXT) doesn't actually lock the text from updates by another user. How would I lock the text, so that only one user can change it at one time?
Is there a specific ENQUEUE function module that is used for texts? I did some searching, but it wasn't clear to me which one to use. ENQUEUE_E_LS_TEXT looked like a possibility, but I'm not sure and searching through OSS and these forums proved unsuccessful.
Thanks in advance for anyone who can help.
Regards,
Angela
‎2008 May 19 9:42 PM
Hello Angela
Table STXH (STXD SAPscript text file header) is assigned to package STXD which contains several lock objects.
Most likely ESSSTXT is the one your are looking for.
Alternatively, you simply edit a text and check the details of the lock entry using transaction SM12 to find the lock object.
Regards
Uwe
‎2008 May 19 9:42 PM
Hello Angela
Table STXH (STXD SAPscript text file header) is assigned to package STXD which contains several lock objects.
Most likely ESSSTXT is the one your are looking for.
Alternatively, you simply edit a text and check the details of the lock entry using transaction SM12 to find the lock object.
Regards
Uwe
‎2008 May 21 2:41 PM
Thanks very much, Uwe. That answered my question and it worked. I awarded full points.
If I have further related questions, I'll post them in a separate thread.
Regards,
Angela
‎2008 May 21 2:43 PM
Hello Angela
You are always welcome. And now I know, too, which lock object to use in case I need it.
Regards
Uwe