cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping via UDF

former_member207701
Participant
0 Kudos

Hi Gurus,

I have a standard mapping wit a udf which is calling value mapping in ID part i am not sure what inputs i need to pass to this UDF to get me the value .

XIVMService.executeMapping(src,dst,value);

now i have checked the SAP help and it tells src and dst are identifiers and value is the input .

So can somebody help me how what does the src and dst identifiers mean and how do i need to setup my value mapping in ID for this.

Thanks.

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor

Kiran,

1. Src : This is the source identifier i.e a combination of Source Agency and Schema

2. Dst : This is the target identifier i.e a combination of Target Agency and Schema.

3. Value : This is the value for the respective src identifier.

So by using above three combination you retrieve the target value.

Before Calling XIVMService you need to call XIVMFactory for building source and target identifier.

The reason for using such UDF's because using these UDF you can actually pass Agency and Schema Dynamically which is not possible via standard value mapping function.

Br,

Manoj

former_member207701
Participant
0 Kudos

Thanks Manoj for your Explanation.

Can you please provide a example with value mapping in ID part too as well .As i am doing this first time I am still bit confused how to setup value mapping in ID part.

former_member207701
Participant

Thanks Manoj! .

Now i am able to implement successfully.

Answers (0)