cancel
Showing results for 
Search instead for 
Did you mean: 

user exists

Former Member
0 Kudos

Hello All

I am basically form SD module.Could you pls help in understanding about User exits, functional module,program,batch jobs(just over view is sufficient

Srikanth

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.

The naming standard of function modules for functionmodule exits is:

EXIT_<program name><3 digit suffix>

The call to a functionmodule exit is implemented as:

CALL CUSTOMER.-FUNCTION ❤️ digit suffix>

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

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.

Batch Jobs: The data in the legacy system needs to be uploaded into sap to have all the data at one place.There are various ways in which a the data can be uploaded into the sap system. One which is used normally by the functional guys is LSMW and ECatt. They help fast data uploads. LSMW is mainly used for master data upload. The master data is uploaded directly into the production server. Only pieces of such master data would be there in test client for testing purpose. The configurations and developments are done in the development server and tested in quality and finally have them moved to production. Apart from LSMW, Bapi's and BDC's ( Session and Call transaction method ) are used to upload data into SAP. While uploading data the previous legacy data is converted into a flat file ( generally an excel or notepad file) which is read by sap and put into sap. The flat file is cleansed and purged to remove redundant data, and ensure data consistency.

You create your own batch jobs in SM36. For deliveres the program to setup in batch is RVV50R10C and billing is program SAPMV60S. Just give the parameters in this and schedule when to run and frequency.

Function Modules:

Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.

Function modules allow you to encapsulate and reuse global functions in the SAP System. They are managed in a central function library. The SAP System contains several predefined functions modules that can be called from any ABAP program. Function modules also play an important role during updating and in interaction between different SAP systems, or between SAP systems and remote systems through remote communications

former_member217082
Active Contributor
0 Kudos

Hi Srikanth

An user exit is used when the standard SAP is not meeting the clients requirement .and there are some user exits

Check the userexits data

[https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits]

NOTE : Before Posting search in the forum as there will be many queries

Regards

Srinath

former_member188076
Active Contributor
0 Kudos

Hi

Search the thread Dear before posting, there is lots of material on this Topic, or else you may check IMG> Sales and Distribution>System Modification--> User Exits.

Regards

AA