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: 

How to delete Modified/Inactive version from abap program

0 Kudos

I have a ABAP program screen that I made changes to, pressed the save icon, but did not activate. So I have "Modified/Inactive" status.

I want to delete what I saved and just to back to the original.

I don't have a transport, so I don't want to undo my changes and activate it, which would make the program identical, but it would create a transport entry which I am trying to avoid. I just want to delete my saved version and go back to before I did anything without adding to a transport.

I am able to see the inactive version in SE80, but can I remove this saved version?

11 REPLIES 11

Sandra_Rossi
Active Contributor
0 Kudos

I don't understand: if you did a change (whatever activated or not) and it was not assigned to a transport request, it means that even the menu action "return to active version" won't assign it to a transport request.

If not, you should check the bug with SAP support.

0 Kudos

could be a $tmp and there is no version with TR to go back to previous code.

0 Kudos

frdric.girod probably the OP focused on transport requests for no good reason as maybe the only question the OP has is about returning to the active version. I'm always surprised to see people thinking about possible consequences on something they don't even know (if that's the case/maybe the question is more complex than said...)

0 Kudos

There is no active version to go back to. The return to active version text is greyed out.

abap_1920932 Honestly I don't understand your situation. The screenshot clearly shows the active version of the report.

DominikTylczyn
Active Contributor

Hello abap_1920932

While editing the inactive version of your program, you can use the menu Utilities -> Versions -> Return to Active Version

That will overwrite the inactive version with the active one. You will get a popup warning about loosing your changes in the inactive version.

Best regards

Dominik Tylczynski

In addition, in Eclipse/ADT the corresponding function is in menu "Edit" > "Toggle active and inactive version".

Kind regards

Jan

0 Kudos

There is no active version to go back to. The return to active version text is greyed out.

abap_1920932 Honestly I don't understand your situation. The screenshot clearly shows the active version of the report.

Sandra_Rossi
Active Contributor
0 Kudos

From your multiple comments:

It means it's already active and there's no inactive version, it's why "return to active version" is grayed out.

Of course, what the screen is showing doesn't correspond to what you have described in the question.

Sandra_Rossi
Active Contributor

Just realized that your issue is about the versioning of SCREENS.

I just reproduced your case: I did a change, saved, and I don't see the "modified" version, nor I can "return to active version" (which is normal as there is no "modified" version):

I can't find any SAP Note about this (and no info in the forum), maybe it's not possible. Hopefully you can contact SAP support to get more information.

Good luck!

NB: I'm surprised that in your screenshot, you have an empty Request, you should have either LOCAL or a Transport Request number, if it was modified. Maybe that's due to specificities in the package assigned to the program containing your screen, or anything else, I can' say...

3a9e4ce873a94034b33dc62b0ce600ee FYI