Banner

Attention: open in a new window. PDFPrintE-mail

2008
03
Oct

Report to remove Editor Lock

User Rating: / 2
PoorBest 

The following report is used to remove the editor lock.

REPORT sy-repid.
TABLES: TRDIR.

PARAMETERS: P_PROG LIKE TRDIR-NAME OBLIGATORY.

START-OF-SELECTION.
SELECT SINGLE * FROM TRDIR WHERE NAME = P_PROG.
IF SY-SUBRC = 0.
IF TRDIR-EDTX = 'X'.
MOVE ' ' TO TRDIR-EDTX.
MODIFY TRDIR.
WRITE: /'Editor Lock was removed from', P_PROG.
ELSE.
WRITE: /'Program', P_PROG, 'does not have an Editor Lock'.
ENDIF.
ELSE.
WRITE: /'No match found for program', P_PROG.
ENDIF.

 

Last Updated (Monday, 29 November 1999 16:00)
Please register or login to add your comments to this article.
Banner