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

Need to tweak a standard function module

Former Member
0 Likes
548

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.

4 REPLIES 4
Read only

Former Member
0 Likes
512

Is there any other way out , by which we can do it???

Read only

Former Member
0 Likes
512

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

Read only

Sandra_Rossi
Active Contributor
0 Likes
512

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.

Read only

Former Member
0 Likes
512

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