2023 Jan 13 3:54 AM
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?
2023 Jan 13 6:33 AM
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.
2023 Jan 13 6:56 AM
could be a $tmp and there is no version with TR to go back to previous code.
2023 Jan 13 12:09 PM
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...)
2023 Jan 13 4:03 PM
There is no active version to go back to. The return to active version text is greyed out.
2023 Jan 16 8:33 AM
2023 Jan 13 7:27 AM
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
2023 Jan 13 8:26 AM
In addition, in Eclipse/ADT the corresponding function is in menu "Edit" > "Toggle active and inactive version".
Kind regards
Jan
2023 Jan 13 4:02 PM
There is no active version to go back to. The return to active version text is greyed out.
2023 Jan 16 8:32 AM
2023 Jan 13 5:56 PM
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.
2023 Jan 16 10:45 AM
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
2024 Jun 02 3:09 PM
In SAP ABAP Editor (SE80), you can easily discard your inactive changes without creating a transport. Here's how:
1- In SE80, navigate to your ABAP program screen.
2- Look for the "Version" menu (usually on the top menu bar).
3- Within the "Version" menu, select "Version Management".
4- This will display a list of versions for your program.
5- Identify the "Inactive" version you want to discard (usually the latest one).
6- Right-click on the inactive version and choose "Toggle active and inactive version".
This action will discard your un-activated changes and revert the program back to its original state. You won't create any unnecessary transport requests and your program will be back to how it was before your modifications.