2009 Jan 25 2:05 PM
Hi all ,
There is a standard function module i need to use.
But i need to tweak it.
I need to comment one of the statements it has used (its a PERFORM).
Is it possible.
2009 Jan 25 2:06 PM
2009 Jan 25 2:12 PM
create a Zcopy of it use it. U need to copy the function group to Zfunction group with all includes and copy the function module to ur Zfm
кu03B1ятu03B9к
Edited by: kartik tarla on Jan 25, 2009 7:47 PM
2009 Jan 25 7:11 PM
if you use netweaver 7.0 (2004s) or more, you may use an implicit enhancement option with "EXIT" statement at the beginning of the routine. Be sure to do it only if you come from the function module. If the routine is called from several locations, you may define a global flag in the function group, set the global flag ON at the beginning of the function module, and set it OFF at the end, all these changes are to be done also with implicit enhancement options. For more information see enhancement framework in sap library, and SDN page for enhancement framework.
2009 Jan 26 4:18 PM
To change a standard program / function module you need to use either a user exit or an enhancement point.
Since it is a function module, it is better if you copy it to Zfuncton module and change it.
This way you are not effecting other programs.
Mubeen