Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
ArunPonnuraj
Explorer
1,409

Introduction:

In SAP, value mapping refers to the process of mapping and transforming values from one system or set of values to another within the context of master data. This is particularly important when you are integrating SAP MDG with other systems or consolidating data from multiple sources.

In this example, we will see how a value mapping can be configured in SAP MDG with respect to Material master field – Division (MARA-SPART)

Let us consider that we have a source system (MDG Hub) and material master in the source system gets replicated via IDOC to transactional SAP system. As per the requirement, the Division value 30 in the source system needs to be converted to value 35 when data gets syndicated out to the target system. 

Details:

Step 1: Identify the Global Data type for the field SPART. For this you can go to below path

MDGIMG – Central governance for Material - Maintain Fields for IDOC Value Mapping.

ArunPonnuraj_0-1741608252028.png

As given in the below screenshot, the global data type for field SPART is MDGCO_DIVISION_CODE

ArunPonnuraj_7-1741608439294.png

Step 2: Maintain Value Mapping for the global data type. Go to path

MDGIMG – Data Replication settings – Value Mapping – Maintain Value mapping

Select the Navigation button and start assigning the ‘Assign Code list’ and values

ArunPonnuraj_8-1741608492138.png

In this ‘Assign code list’ Overview screen – add a list ID/mapping ID for the list of values for which you needed the conversion to happen.

ArunPonnuraj_3-1741608316263.png

Assign the list of values in the ‘Define Value Mapping’ that needs to be converted. Internal Code value is the value that will be sent by source system and External code value is the value that will be received by the target system.

In this example, I have added only one entry as Division Code 30 from MDG needs to be converted to Code 35 in the transactional SAP system.

ArunPonnuraj_9-1741608549588.png

Step 3: Now go to the below path

MDGIMG – Data Replication settings – Value Mapping – Assign Code Lists to Elements and Systems

ArunPonnuraj_10-1741608600878.png

Add a new entry by updating the Global Data type, Business system (target system), list ID, List agency id and version id

(Note the Global Data type, List ID, List Agency ID and version ID to the be the same as added in the previous screen)

ArunPonnuraj_6-1741608316307.png

Step 4:

Now update/replicate a material with Division '30' from MDG HUB and you can see that the material gets replicated out with '35' for the business system configured in the value mapping settings.

ArunPonnuraj_11-1741608652822.png

 

ArunPonnuraj_12-1741608652835.png

Conclusion:

Thus, the MDG value mapping configuration helps us to integrate the MDG system with other downstream/upstream systems by mapping and transforming values as per downstream/upstream requirements

 

 

1 Comment
zfiori
Participant
0 Kudos

Hi Community,

" Assign the list of values in the ‘Define Value Mapping’ that needs to be converted. Internal Code value is the value that will be sent by source system and External code value is the value that will be received by the target system. "

 

Thanks for your selfless sharing, it really help us a lot.

🙂

 

Regards,

ZFiori.

Labels in this area