Escolar Documentos
Profissional Documentos
Cultura Documentos
SAP is a ERP software in which all standard business applications are delivered, sometimes
customer may need to alter existing functionality or add additional functionality to the existing
applications based on customer business requirements.
Enhancements concept
The enhancement is a concept of adding your own functionality to SAP's standard business
applications without having to modify the original applications. To modify the standard SAP
behavior as per customer requirements, we can use enhancement framework.
A pop up will open, you can find the program name, copy the program name and go to SE38,
display ( simply double click to go to program source ).
Once you go to program source, click on find icon.
A pop up will open, search for the word CALL CUSTOMER in main program.
You will find the list of Function Modules with the word CALL CUSTOMER.
Double click on function module CALL CUSTOMER-FUNCTION '911', you can see a include
'INCLUDE ZXOIKU46', that`s where you can implement your own functionality .
VL01 is the t-code for creating a deliver order, this uses standard SAP program SAPMV50A, the
standard program don`t check for storage location equal to space or not.
As per the requirement we need to find a suitable user exit for this and we need add additional code
to check storage location.
Technical information : Storage location field is LGORT and it is available in LIPS table.
To implement the user exit for this we need to follow the below steps.
Step1: Find the user exit.
Step2: Verify the user exit.
Step1: Implement the user exit.
Click on Find icon, select main program, find 'userexit' and press enter.
click on Save (Ctrl S), debugger will open..now this is the suitable exit.
Technical requirements:
Tcode is : XD01/ XD02/ XD03.
Country Field is : LAND1 .
Region Field is : REGIO.
Table name is : KNA1 .
The above tables and fields are given by functional consultants.
To implement the Customer exit for this we need to follow the below steps.
Step1: Find the function exit.
Step2: Verify the customer exit.
Step1: Create project for customer exit.
Step4: Implement the Customer exit.
Double click on Program name SAPMF02D.Click on Find icon, main program, find CALL
CUSTOMER, enter.
A list of call customer functions will be displayed.
Based on requirement, Check Import/Export Parameters for each Function Module And roughly
select some Customer Function Modules .
As per this requirement, we need KNA1 Table details, So we can use the below Customer Function
Module which has an exporting parameter I_KNA1.
Stop the Debugging and now implement the Functional Module Exit. As this exit is triggered, this is
the suitable Functional Module Exit for our requirement.
To implement we need to provide enhancement name but we don`t have enhancement name, we just
have customer exit name, now we need to find enhancement name.
Follow the below steps to find enhancement for a customer exit.
All the enhancements for customer exits will be stored in MODSAP table, we can get enhancement
name by using our customer exit.
Get Function module name from customer exit, double click on CALL CUSTOMER FUNCTION
'001'.
Not down the Function Module name, go to SE11, provide table name MODSAP, display, contents
and provide enhancement/member as EXIT_SAPMF02D_001, execute.
You will find the enhancement name for the function exit.
Now go to CMOD and to project ZXD01_EX and click on enhancement assignments and add
enhancement as SAPMF02D, enter and click on components.
You will find Function module name, double click on function exit.
You will find a include inside the function module, double click to create and add your own code.