Skip to Content

Introduction:

This article will describe in detail the usage of SMD tool with the customer exit which can be used for passing some additional fields while distributing the master data.  

In this article, we will take the example of material master data and additional field we would be considering is change number (AENNR).


Steps to be followed:  

Step1: Identify and Activate the Customer Exit.  

In this example, we are taking the example of material master data and hence we need to first identify the FM where we can put our code for passing the additional fields to the IDOC.


For Material Master Data the FM which is getting called is MASTERIDOC_CREATE_MATMAS.

If we see in detail, the MARA data is being copied to the structure E1MARAM. In this case, E1MARAM does have the field AENNR but not in MARA. Hence, somehow we need to fetch it and assign it to the E1MARAM.

Once we identify the customer exit, we can double click on the INCLUDE and press ENTER to activate it. It will take us inside the FM and there we can find the INCLUDE.

1.JPG

2.JPG

Step 2: Logic for fetching the change number and assigning it to E1MARAM structure.  

  Now, we can put the logic inside the include for fetching the change number.

3.JPG

4.JPG

Step 3:Execute the REPORT RBDMIDOC for your MESSAGE TYPE.  

It will create the IDOC from the change pointers.

4.JPG

Step 4:Verify the IDOC for E1MARAM and check if the AENNR is getting filled

5.JPG


Note: Please note that this is one way to use SMD tool for distributing the master data and user may needs to make some more changes depending on the his/her requirement.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply