05-01-2009 8:46 AM
I want to lock abap program.
because in our development system the program which develop by
implementation company is locked
when i go to edit that programs the abap editor code in gray mode
and application toolbar had modify delete insert buttons.
if i want to insert some code
I can press Insert button and
below type code is inserted.
then i insert my code in bracket.
how can i do this????
{
<my code>
*
}
05-01-2009 8:54 AM
05-01-2009 12:20 PM
when in abap editor > Edit > Modification Operations > Switch Off Assistant.
it give a message and the editor in normal editor mode.
but i want to create my new develop reports like this.
05-01-2009 9:13 AM
05-01-2009 9:18 AM
Hi,
Report to remove 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.
05-27-2009 11:07 AM