cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete the old code in the EXIT_SAPLRSAP_001

Former Member
0 Kudos

Hi All,

In R3 system, I wrote an exit for 2LIS_11_VAHDR by using T-code CMOD in the function exit EXIT_SAPLRSAP_001 and the code does not meet my requirement today i want to delete the code and i will write the fresh one. now my problem is i am not able to delete the code can any body suggest me how to delete the old code.

and can we create new project and can we assign to the Enhancement RSAP0001.

Can anybody suggest me in this

Thanks in advance......

Narendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Narendra,

You can put the code in comments, if you don't want to use the old code..You can delete also..But be sure that code belongs to you only..

SE38>zxrsau01>change-->find out your data source

Comment(Or can delete) the code starting from WHEN '2LIS_11_VAHDR'. to the end of the code that you have written..

If you really want to delete the assignment of RSAP0001 to your old project>goto CMOD>your project name>change>delete assigment

Then create a new project and assign the enhancement RSAP0001 to your new project and write the code in Include 'ZXRSAU01'..

Hope it helps

Thanks

Teja

Answers (4)

Answers (4)

edwin_harpino
Active Contributor
0 Kudos

hi Narendra,

you cannot delete the old code, what's the problem ?

SE38, program zxrsau01, edit/change,

remark/delete the old code,

or system not allow you to change the code ? ( i dont think so since you can add the coding before)

hope this helps.

Former Member
0 Kudos

Hi Narendra,

Please see if this below Document is helpful...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd7...

Regards, Aby Jacob

Former Member
0 Kudos

Hi Narendra,

In EXIT_SAPLRSAP_001 you must be having some statement like

INCLUDE ZXRSAU01.

We do write the code in ZXRSAU01 only .. If you want to change your code there you can comment out the lines or overwrite in this only...

Regards.

Former Member
0 Kudos

Hi

Narendra

This is Sreenivas.

Go to the T.code :CMOD and give the project name there which you created and the above only there is delete button.press it . it will delete the old project and you can create new project.

Hope this helps you.

If this helps you assign points to me.

Rgards

Sreenivas.