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

Revert Changes!

Former Member
0 Likes
3,066

All,

As I didnt realise that I have change access to the standard code, by mistake during navigation I had changed something in standard BADI. As it is a mistake, I dont know what I changed. but those changes are saved to a transport. I tried a lot to undo those changes but I couldnt find out. Is there anyway to revert them.

Please suggest.

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,642

Hi

If, for some reason, reverting changes using Gaurav's method wouldn't work for you, then simply:

1. Delete this BADI from the transport you added it to

2. Copy from quality/production system original source code of this BADI.

Rgds

Mat

9 REPLIES 9
Read only

Former Member
0 Likes
2,642

Goto utilities-versions-version management.

And retrieve to the original version.

save and activate, and you are done.

G@urav.

Read only

Former Member
0 Likes
2,643

Hi

If, for some reason, reverting changes using Gaurav's method wouldn't work for you, then simply:

1. Delete this BADI from the transport you added it to

2. Copy from quality/production system original source code of this BADI.

Rgds

Mat

Read only

0 Likes
2,642

There is no copy in QAS or production. We are still in development. There are no versions to retrieve the earlier version.

Any other ideas.

Read only

0 Likes
2,642

There must be a version maintained for the BADI's class that you have modified.

Check the name of that class in BADI's attribute and adjust the version for that class's method by going to SE24.

G@urav.

Read only

0 Likes
2,642

How to adjust the version? I have only one version there? Let me know the steps.

Read only

0 Likes
2,642

There should be two versions - one with your userid and the other with SAP (or something like that).

Rob

Read only

0 Likes
2,642

Try this. Go to BADI definition (SE18), go to utilities->regenerate. Dont hit the display button. You can find utilities on the initial screen itself of se18.

Hope this helps.

Thanks.

Read only

0 Likes
2,642

Rob,

I dont see any version other than the active version. There is only version and that is generated by me which is assigned to a transport. No initial version of SAP.

Naren, let me try your way.

Thanks,

Read only

0 Likes
2,642

Thanks. It worked.