Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Lock ABAP Program

Former Member
0 Kudos

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>

*

}

5 REPLIES 5

Former Member
0 Kudos

can u pls explain your requirement .

thanks

0 Kudos

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.

Former Member
0 Kudos

Use: *@#@@SAP on the first line of the Report.

System should be greater then 4.6

[Hide Codes|;

Regards,

Gurpreet

Former Member
0 Kudos

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.

Former Member
0 Kudos

nothing