cancel
Showing results for 
Search instead for 
Did you mean: 

Popup Message for Change

Former Member
0 Kudos

hi,

i have a requirement like this, if i have some Z module made, if any changes is done in this module by me or by nybody else then there shud be one popup message stating that if any changes done in this Z module some changes has to be done in my another Z pgm. i have written comments and made documentation also in my Z Module.

this req. will be like as we try to change SAP Pgm, n it asks for Acess Key like this.....

i hope i have cleared my query.....

abhishek suppal

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

You can try to do something using the exit EXIT_SAPLWBABAP_010 (for new editor) or

EXIT_SAPMS38E_010 (for old editor).

Max

Former Member
0 Kudos

Dear Max

if i am not able to achieve by using the EXIT.

can u tell me little in brief

Former Member
0 Kudos

Hi

I tried to use the exit EXIT_SAPLS38E_001, it is called in fm EDITOR_USER_EXIT when ABAP EDITOR is called, so you can put your code for control in it.

So run the transacion CMOD and active a new project and add the enhancement SEUED001. I think the component as EXIT_SAPLS38E_001 is good for you:

function exit_sapls38e_001.

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(PROGRAM) LIKE SY-REPID

*" VALUE(OPERATION)

*" EXCEPTIONS

*" CANCELLED

*"----


IF OPERATION = 'EDIT'.

IF PROGRAM = 'Z.......'.

  • Here run your message

ENDIF.

ENDIF.

endfunction.

Max

Message was edited by: max bianchi

athavanraja
Active Contributor
0 Kudos

you call the authority object S_DEVELOP to achieve the same

authority-check object 'S_DEVELOP'

id 'DEVCLASS' dummy

id 'OBJTYPE' field 'PROG'

id 'OBJNAME' field sy-repid " your program name

id 'P_GROUP' dummy

id 'ACTVT' field '02'.

for a user to be able to edit your program he should have S_DEVELOP object in his profile with objname = your program name and activity 2.

Regards

Raja

Former Member
0 Kudos

Dear Raja

can u tell me little in brief

how to use this object.

Former Member
0 Kudos

If you want to change any standard sap code then it will ask for access key. If you provide that access key then it will allow you to change that code.