on 01-12-2021 3:17 PM
Hello,
I deleted by accident the FM CRMXIF_ORDER_IDOC_SEND when using a report on a DEV system.
It is a Standard SAP FM and i wanted to ask if there is any possibility to restore the FM.
Also when deleting the FM the system created a transport but there is nothing in this transport (so there are no versions to compare).
Thank you for your responses in advance.
Hi All,
Thank you for your answers.
I was able to restore the function module by transporting its' copy from QAS to PRD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry i meant "From QAS to DEV"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm fascinated. *How do you delete a function module by accident?
Anyway. Recovery is a pain. You can try version management, but you have to recover the main program, the top include and the function module.
Generally, you must simply find another system running at the same level, and copy paste it from there. It's the easiest way to do it. Been there, done that. (Refer to * in my answer ! 🙂 )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Call SE37 and input the FM name, then navigate in the menu to Utilities, Versions, Version Management. Even when the FM is deleted the version(s) will be displayed, there select last version and click on 'Retrieve'.
NB: In some cases, not on HANA, no sscr key already registred, you will be required to input such a key, that can be obtained from SSCR Keys - SAP ONE Support Launchpad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If transports are not an option...
I have found that if you just create a deleted object again, with the exact same name, and then going into it you will have access to to previous versions like always. I have not tried Function Modules though. And they are typically spread across multiple "files", so it might be the case that you would have to know what you're doing and go at it one step at a time until complete... Not sure.
As this is a SAP object and not customer namespace, that might also make things a bit harder... ☺️
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have another system where the function module is available? If so, you could create a transport there with the relevant objects, and import that transport in your development system.
And if there is no transport lane you can use, ask basis to download the transport files and upload them in your development system.
If transports aren't a solution, check when the last backup of the system has been made, and if you don't lose too much, do a restore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could do a "copy transport" from Quality or Production, if you only deleted this fm it should be quick and ti shoudn't ask for object registration, this way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello piwanski2
If you deleted a function module, then it's gone, like deleted for good.
You can restore your system from a backup but this will have a wide reaching side effects, as you'll basically wind the time back.
Or you could go to your QAS or PRD box and export the function module from there and import it to the DEV box. I'd say you just need to transfer the same object that is recorded in the transport request in DEV box; the transport request that was created when you deleted the function module.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.