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

How can i create a standard Function Module exit in ABAP

Former Member
0 Likes
1,262

Hi All,

I need to provide a Function Module exit where the customers will be able to plugin their own code. I have gone through help but not able to get clarity. So it would be of great help if you explain me in detail what needs to be done.

Regards,

Vinay.

Hi All,

I need to provide a Function Module exit where the customers will be able to plugin their own code. I have gone through help but not able to get clarity. So it would be of great help if you explain me in detail what needs to be done.

Regards,

Vinay.

6 REPLIES 6
Read only

manuel_bassani
Contributor
0 Likes
971

Hi,

i supose that you function module is a standard one.

In this case, as far as i know, you can use the exits (or Badi, BTE, etc..) that already exist.

Providing a new customer-exit means a change in the standard code.

Regards, Manuel

Read only

Laxmana_Appana_
Active Contributor
0 Likes
971

Hi,

create a table and store function modules (which you want to work like function module exits) like

table A :

1. 100 FUC1

2. 200 FUC2

and use dynamic function call

if not <function name> is initial.

call function <function name>....

endif.

function name will be decided at runtime , pass this function name based on conditions and reading the function module name from table entries.

if code implemented in the function modules ,it will work if you pass name of the FM's to dynamic call .

Regards

Appana

Read only

Former Member
0 Likes
971

Hi,

Unless SAP has provided an enhancement option, i think we will not be able to do a standard FM exit.

We can plug in custom code provided SAP has an option for that particular transaction by way of either ->

1. User exit.

2. Function module exits.

3. BADI.

Regards,

HR

Read only

0 Likes
971

Hi Hema Rao,

I work for SAP and i need to provide a Function module exit, which i dont know how to create.

Regards,

Vinay.

Read only

0 Likes
971

Hi ,

what u are looking for ?

check tcodes SMOD /SE15 to find out user Exits or u can check in SPRO also.

Regards

Prabhu

Read only

Former Member
0 Likes
971

hi

good

go through the following links, which ll help you to solve your problem.

http://help.sap.com/saphelp_nw04/helpdata/en/ab/9d563cf19bcb43e10000000a11405a/content.htm

http://www.easymarketplace.de/userexit.php

thanks

mrutyun