Skip to Content
0
Jul 01, 2020 at 01:27 PM

How to insert entries in Value Mapping Table at runtime using ValueMapping API ?

531 Views

Hi Friends

I try to find options how to insert entries in Value Mapping Table in Integration Directory using UDF. (If I use the SAP Standard ValueMappingReplication message type (from BASIS SWCV), I need to create a separate Message Mapping and Operation Mapping)

Reason is that from Main mapping, when I get "the value not found or null " from Value Mapping table (using ValueMapping Standard Function in Mapping) for the given key, in that case only I need to insert new entries in Value Mapping Table at run time.

Value Mapping API class

https://help.sap.com/doc/2f39047ed6b141cb83658041d2d4e029/7.5.12/en-US/PI/com/sap/aii/mapping/value/api/package-summary.html

The standard class XIVMService has methods executeMapping. But, those methods to retrieve value for the given key from Value Mapping table. I could not find any methods to insert entry in Value Mapping table.

Could you please clarify ?

Thank you.

Regards,

Jegatheeswaran P.