Skip to Content
0

Value Mapping via UDF

Jul 01, 2017 at 08:13 PM

118

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Manoj K Jul 01, 2017 at 11:19 PM
2

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.

Check this Thread i have showed a sample example.

Br,

Manoj

Show 3 Share
10 |10000 characters needed characters left characters exceeded

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.

0

Kiran,

Please go through the blog Dynamic Value Mapping this has an exapmle of how to setup value mapping.

Br,

Manoj

0

Thanks Manoj! .

Now i am able to implement successfully.

1