‎2007 Jun 26 11:29 AM
Guyz,
i'm on ecc6.0 and want to copy a standard report and FM with all its enhancement points. Can i do ? Kindly let me know how to do the same ?
Thanks
‎2007 Jun 26 1:34 PM
Hi Sreedhar,
I am afraid that you cannot copy the enhancement points while copying the sap standard programs and function modules..
Any way when you copy the Standard program of FM they become just has normal z program and you can enhance them any way you want after copying.. than why you what those Enhancement points..
Enhancement Points are available in standard programs for customer enhancement to add extra functionality to the existing functionality.. and when you copy the FM or Report you can modify/Enhance it as you like.. and this no need of Enhancement Points in Custom Porgrams and the FM.
Hope you have better idea now..
regards,
Pavankumar
‎2007 Jun 26 11:35 AM
Hi,
Enhancement frame work is the new concept using which SAP allows you to change the existing programs
See the following blogs that talk about the same in detail
/people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework
Check the theard also
https://forums.sdn.sap.com/click.jspa?searchID=3456104&messageID=2839972
<b>Reward points</b>
Regards
‎2007 Jun 26 11:55 AM
Dear skk,
i'm afraid blogs doesn't talk about my question...
any pointers pls ?
‎2007 Jun 26 1:34 PM
Hi Sreedhar,
I am afraid that you cannot copy the enhancement points while copying the sap standard programs and function modules..
Any way when you copy the Standard program of FM they become just has normal z program and you can enhance them any way you want after copying.. than why you what those Enhancement points..
Enhancement Points are available in standard programs for customer enhancement to add extra functionality to the existing functionality.. and when you copy the FM or Report you can modify/Enhance it as you like.. and this no need of Enhancement Points in Custom Porgrams and the FM.
Hope you have better idea now..
regards,
Pavankumar
‎2007 Jun 26 8:32 PM
i'm not looking for enhancing copied code... when I copy standard FM, it doesn't copy enhancement codes (code inside enhancement spots ), as it involves hundreds of includes, copying all of them manually would be real tough task .....
‎2007 Jun 27 7:40 AM
Yes when you copy the FM it will not copy code inside enhancement spots, and enhancement points first see weather you can enhance the existing function module user new enhancement framework if not copy FM and all the includes in Z FM and Z includes and then modify the FM with the code in the enhancement spots and your additional logic as per your needs, OR go for custom function module as there is no easy way out...
Regards,
Pavankumar
‎2007 Jun 27 12:01 PM
Thanks for your suggestion pavan kumar. Actually as there was no way i could enhance standard function module, i had to copy to Z... and found enhancement code was n't copied....
now do you expect me to check for all enhancements in each and every include ( there are at around 100 includes), and re-implement the enhancement spot ? Could you elaborate pls ?
Thanks
‎2007 Jun 29 7:19 AM
Sreedhar ,
When you want to copy a Std. Fm , always you have to copy the Function Group and not at Fm level. Hope this help.
Thx
Parthi
‎2007 Jun 29 10:31 AM
Parthiban -- I did the same..
All -- Requirement changed ==> no copying of std FMs....
thanks for all ur help anyways.
‎2007 Jun 29 11:13 AM