Skip to Content
Former Member
Nov 14, 2010 at 10:55 AM

Using CopyValue function with error


Hi All,

I have a requirement to send the three values coming in the one source field to three different target fields.

E.g: Source field is "src1" and having the values 1,2 ,3 These values should be sent to the target fields such as

first target field "Trg1" should get the value as "1" and the second target field "Trg2" should get the value as "2".

third target field should getv value as "3"

I have used copyvalue function. it is working fine but if any value from "src 1" is blank.

I will have the runtime error as follow

Runtime exception occurred during application mapping com/sap/xi/tf/_MM_MT_WORKORDER_TO_ORDCHG_ORDERSO5_; Runtime exception when processing target-fieldmapping /ns0:MT_WORKORDER/StatementName2/TEST/acc

Will appreciate your advise on how to resolve this.