Application Development and Automation 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: 
Read only

Lock ABAP Program

Former Member
0 Likes
565

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
Read only

Former Member
0 Likes
517

can u pls explain your requirement .

thanks

Read only

0 Likes
517

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.

Read only

Former Member
0 Likes
517

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

System should be greater then 4.6

[Hide Codes|;

Regards,

Gurpreet

Read only

Former Member
0 Likes
517

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.

Read only

Former Member
0 Likes
517

nothing