Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is logo in sap script?

1057


1)can any body tell the transport request number concept and 2)there are 3 screens in one screen u have uploaded the resume and second screen also u have done the same thing but when u are uploading the resume in third screen u got some error in somewhere else but whatever u have uploaded the resume in 1 and 2 should not

2101


How can we set the table spaces and extent sizes? : abap data dictionary

1227


What are the difference between call screen and leave screen?

1115


What are the uses of table pool or table cluster.

889


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

2315


How do we handle multiple line items in BDC's.

7439


What is the major difference between pool tables and transparent tables?

1017


What are the techniques involved in using sap supplied programs?

986


What are the different types of internal table?

1079


How can an internal table with header line and one without header line bedistinguished when passed to a subroutine?

1011


In tm, if a group of employees gets 10 days of annual leave, what will be the time evaluation status? : sap abap hr

987


What kind of deliverables you have on a day to day basis?

1355


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization

1044


What are the 2 other types of views, which are not allowed in release 3.0?

1052