If i have locked a program using Locking and iam in
bangalore.How can i give authorization to other user to use
my program who is another place say Pune?is it possible?
Answers were Sorted based on User's Feedback
Answer / nazneen
Authorization are server specific. If the person in pune is also working on the server, as the person in banglore then authorizations can be created for him to access the program.
About locking: If the program is locked in write mode, then it is not available for any other person for modifying. But if it is read mode, then anyone can view the program.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / saifur rahaman
f you wish to Lock or UnLock a program Editor Lock it can
be done by the program given below. The SAP System Table
TRDIR has a field called EDTX which is basically the EDITOR
lock filed. Edit Lock facility is given in the PROGRAM
ATTRIBUTES. The EDITOR LOCK is a check box given in the
PROGRAM ATTRIBUTES. If this field is SET then the program
gets locked and if this is Unchecked the the program is
unlocked.
If the EDITOR lock is ON then only the program's author
user who has created the program can edit it. Please find
the program below.
REPORT ZEX_LOCKUNLOCKED .
************************************************************
**
*
ABAPLOVER.BLOGSPOT.COM *
* Editor
Lock *
*
*
************************************************************
**
* Table Declaration
TABLES: TRDIR. "System table TRDIR
*Parameters-------------------------------------------------
-*
Parameter: P_PROG LIKE TRDIR-NAME,
P_EDITOR LIKE TRDIR-EDTX.
* Select the entered Program
SELECT SINGLE * FROM TRDIR WHERE NAME = P_PROG.
* Set/Remove the lock
TRDIR-EDTX = P_EDITOR.
MODIFY TRDIR.
IF SY-SUBRC EQ 0.
WRITE: / 'Editor Lock update Successful ', TRDIR-NAME.
IF TRDIR-EDTX = 'X'.
WRITE: ' Lock'.
ELSE.
WRITE: ' UnLock'.
ENDIF.
ELSE.
WRITE: / 'Editor Lock update Unsuccessful ', TRDIR-NAME.
ENDIF.
Is This Answer Correct ? | 2 Yes | 0 No |
How to determine the attributes of an internal table?
How to upload the customizing data using LSMW?
What is the difference between refresh and free statements?
What is pnp-sw-found ? : abap hr
What does an extract statement do in the ABAP program?
what is the use of OK_CODE in BDC?
What are the commands used for interactive reports?
How do you differentiate tax for different countries? : sap abap hr
How to handle table control in BDC?
what is a ticket?
What loop do you code for a READ DATASET Statement
By which function module upload data from application Server to desk top and to code can u explain