Application Development and Automation 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: 
Read only

customise function module lost after patch upgrade to ECC6 patch 21

Former Member
0 Likes
1,843

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

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,502

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

5 REPLIES 5
Read only

Former Member
0 Likes
1,502

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

Read only

0 Likes
1,502

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

Read only

0 Likes
1,502
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,503

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

Read only

0 Likes
1,502

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.