‎2013 May 30 10:48 AM
Hi Expert,
I am facing a problem where by I have customized a function module according to SAP sample source :SAMPLE_PROCESS_00001110 to ZFI_PROCESS_00001110 and write some code to check duplicate invoice. After we have apply patch from 6 to 21 for ECC6 version, I found that the whole function module of ZFI_PROCESS_00001110 was lost. Is there any body encounter this problem before? Why the program was overwrite after the patch is upgrade. Thanks in advance,
Rgards,
Jennie
‎2013 May 30 3:13 PM
You should not have created your customer Function Module FM in the original Function Group FG, but in a customer function group. (*) e.g. creating a Zxxxx function groupe and a Z_xxxx function module) As you inserted your code in a SAP standard object you were replaced during update/SP, can you look for the FM/FG in SPAU ?
For version management, call transaction SE37 and navigate in the menu : Utilities, Versions, Version management, you should be able to read your former code. Then paste it in a new copy of the sample FM, copy in a customer function group, then change the FM name in FIBF transaction
Regards,
Raymond
(*) For name of customer objects, read Note 16466 - Customer name range for SAP objects
‎2013 May 30 11:55 AM
Hi,
Which function group you have used to create ZFI_PROCESS_00001110 ?
If you have used standard function group, then it may be overwrite if same function group related patches applied.
you can retrieve deleted code by using version management.
Regards,
Mordhwaj
‎2013 May 30 12:57 PM
Hi,
Function group BFFMSMPL4 that I use to create ZFI_PROCESS_00001110.
Can you explain more details on how to to using version management to retrieve deleted code?
Thanks.
Regards,
Jennie
‎2013 May 30 1:23 PM
Hi,
Please refer below links...
http://scn.sap.com/message/307387#307387
http://www.saptechnical.com/Tips/ABAP/RetrieveDeletedPrg.htm
Regards,
Mordhwaj
‎2013 May 30 3:13 PM
You should not have created your customer Function Module FM in the original Function Group FG, but in a customer function group. (*) e.g. creating a Zxxxx function groupe and a Z_xxxx function module) As you inserted your code in a SAP standard object you were replaced during update/SP, can you look for the FM/FG in SPAU ?
For version management, call transaction SE37 and navigate in the menu : Utilities, Versions, Version management, you should be able to read your former code. Then paste it in a new copy of the sample FM, copy in a customer function group, then change the FM name in FIBF transaction
Regards,
Raymond
(*) For name of customer objects, read Note 16466 - Customer name range for SAP objects
‎2013 Jun 06 11:42 AM
Hi Raymond,
Thanks for your reply. I think what you state is correct and I will try to create it to my own function group and function module. Thanks for your help with valusable screen capture. I test it. Thanks.