Académique Documents
Professionnel Documents
Culture Documents
function.
Business Requirement: When ever we create a customer. We need to check
weather the customer belongs to Country : GERMANY and if Region is
equal to space .
Then, Raise an Error message.
Technical requirements:
Tcode is : XD01/ XD02/ XD03.
Country Field is : LAND1 .
Region Field is : REGIO.
Table name is : KNA1 .
The above tables and fileds are given by functionasl consultants.
STEPS:
Step1 : Find the FM exit for the requirement.
Step 2: Implement the Exit using CMOD Transaction .
Step 3: Test It .
Now, double click on the above Function Module and Put a breakpoint .
Now execute the Transaction.
Goto XD02
Give any customer number, Ex : 3471
Press Enter
Customer screen will be displayed.
Click on Save.
Our break-point will be triggered. Please check the below screen
shot ..
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.
Click on create
Give Short Text as Implementing Enhancement for XD01.
Click on execute .
Clcik on
Button.
Goto XD02.
Give customer no
Press neter
Check below