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

customer exit

Former Member
0 Likes
3,114

Abapers,

What is the " CALL Customer-function-001 " what is the use of it and what is diffrence between call customer-function 001 and call function.

thking u all.

regards,

satish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,518

CALL CUSTOMER-FUNCTION '100' when clicked on 100 will lead to you a user exit include, which when created and activated will become part of SAP standard program code from where the CALL is made.

I hope this explains.

9 REPLIES 9
Read only

Former Member
0 Likes
2,519

CALL CUSTOMER-FUNCTION '100' when clicked on 100 will lead to you a user exit include, which when created and activated will become part of SAP standard program code from where the CALL is made.

I hope this explains.

Read only

Former Member
0 Likes
2,518

Hi ,

Customer exit are like plug in .

For that you create a Project from transaction CMOD add enhancement component which will have a name of exit and within that it will have a include program with a Zinclude where you code the logic to extract additional data .

after that You activate the project and code.

in the program it is called as Customer Function .

Read this document .

CALL CUSTOMER-FUNCTION function_exit parameter_list.

Effect

This statement can be used in programs delivered by SAP. It includes the function module exit specified in function_exit . The function module exit is a customer exit. In an SAP program, it enables you to call a function module provided by SAP and implemented by the customer.

The indicator function_exit must be a three-digit text field literal. A function module exit is specified by SAP using the transaction SMOD and can be activated using the transaction CMOD in customer systems.

Specifications by SAP

An empty or partly implemented function module must be assigned to the function module exit using the transaction SMOD. The name of the function module consists of EXIT_, the program name, which contains the statement CALL CUSTOMER-FUNCTION, and the three-digit indicator in function_exit. The interface of the function module is completely defined by SAP.

Activation in the customer system

The transaction CMOD enables the customer to implement the source code of the function module within an enhancement project and to activate the function module exit. If the function module exit is not activated, the statement CALL CUSTOMER-FUNCTION is ignored. If the function module is activated, the corresponding function module is called in the same way as the general function module call.

Syntax and meaning of the parameter_list for the assignment of the actual parameters to formal parameters and for the exception handling are the same as in a general function module call. It is not possible to dynamically fill the interface.

Normal call function is function which does something functionality that it is an exit .

It is normal function module.

Please reward if useful.

Read only

Former Member
0 Likes
2,518

Hi Satish,

Customer exits are provided to the customer in the form of Function Module which holds the include in the customer namespace.The user can add own source code in it.This is technically an enhancement.Eg for customer exits are Function module exits,Menu Exits,Screen Exits.

For customer exits

http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1975d943b111d1896f0000e8322d00/frameset.htm

Regards,

Priyanka.

Read only

Former Member
0 Likes
2,518

hi satish,

The call to a functionmodule exit is implemented as:

CALL CUSTOMER.-FUNCTION ❤️ digit suffix>

http://www.sap-img.com/abap/a-short-tutorial-on-user

Example:

The program for transaction VA01 Create salesorder is SAPMV45A

If you search for CALL CUSTOMER-FUNCTION i program

SAPMV45A you will find ( Among other user exits):

CALL CUSTOMER-FUNCTION '003'

exporting

xvbak = vbak

xvbuk = vbuk

xkomk = tkomk

importing

lvf_subrc = lvf_subrc

tables

xvbfa = xvbfa

xvbap = xvbap

xvbup = xvbup.

The exit calls function module EXIT_SAPMV45A_003

2. How to find user exits?

Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT

If you know the Exit name, go to transaction CMOD.

Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.

You will now come to a screen that shows the function module exits for the exit.

regards,

keerthi

Read only

Former Member
0 Likes
2,518

Hi all,

Thnks for replying but if suppose a program doent hav call customer function then wht shuld be done frnds......

thnking u again.

regards,

satish

Read only

Former Member
0 Likes
2,518

Hi Satish,

When you click on the CALL Customer Function 001 it will take you to a User exit . We have User exits only for standard transactions where you can write codes to process or check the data .

Regards,

Sowmya.

Read only

Former Member
0 Likes
2,518

hi

good

Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits.

When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated.

Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs.

These calls have the following syntax:

CALL CUSTOMER-FUNCTION ‘001’.

thanks

mrutyun^

Read only

0 Likes
2,518

But frnds my question is suppose if we dont hav call customer function then wht can be done regarding that.

I think its not mandatory that always call customer function will be there.

plzz suggest.

regards,

satish

Read only

0 Likes
2,518

Any Suggestions frnd.

regards,

satish