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 retrieve deleted Function group and the Function module in it from Development system.

Former Member
0 Kudos

Hi All,

There is a scenario where unfortunately existing Function group has been deleted from development system.

we have the transport request captured with deleted Function group, i am trying to retrive via main program of FG but couldn't able to do so.

Kindly help me on this if there is a easy way rather than creating the function group and function module again in the Development system.

Thanks in advance!

Regards,

Vinay Singh

7 REPLIES 7

raymond_giuseppi
Active Contributor

Did you create the main program SAPLZxxxx and then regenerate its code thru version navigation, recreate every include (including FM), and regenerating their source thru version navigation too. Then you could consider SE37 menu for 'Utilities', 'Repair Func. Group'.

Are there any system where the deletion request was not transported, then you could export it in a transport of copies request and import this request back to development?

Regards,
Raymond

former_member182550
Active Contributor
0 Kudos

Or, If the function group has been transported, you could recreate an empty one with exactly the same name and then us version history to retrieve the previous version.

Rich

Sandra_Rossi
Active Contributor
0 Kudos

If you have a transport request with the deletion flag set, then you should have another transport request containing the creation of the function group + other transport requests containing all subsequent modifications (function modules, includes, dynpros, text elements...) You could import them all in the same chronology. Of course, it's more simple to do it as Raymond suggests, by exporting the last version if the function group still exists in another system.

0 Kudos

Hi Vinay,

Was the function already transported to another system(quality/production)?

  1. If yes, then you can go to either quality or production system,
  • goto se37, then enter the same fm name, -> utilities -> more utilities ->upload/download
  • you can download from there and upload similarly to development system.

2. If not?

  • you can try creating the missing function group in your dev system.
  • Navigate to the "main program" - get the orginal coding for the include via the Version management.
  • in the "XX"-Include you can see as a remark the original name of the function modules.
  • create this function modules in the SE37 and get the old coding via the Version management.

Thanks

Tripti

0 Kudos

Hi Tripti

Thank You..!!!

Your second solution worked for me.

Thanks,

Shailesh

0 Kudos

Hi Tripthi,

Same issue here, when i am trying to follow your second option, unable to create FM in XWOC function group which starts with exit_.

There are 17 FM's which need to be created. Please help me reinstate to earlier one.

Or, Please help me run IW32 tcodes and all other PM related tcodes smoothy by disabling the Function module exit.

Please help.

0 Kudos

hey santosh1588

silly question, do you have the transport request where those exits got saved?

if yes, instead of creating those again, enter the tr in se01, find the f.m. doubleclick on one of those and from there you should be able to retrieve the latest version

hope this helps!A