cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping runtime error

Former Member
0 Kudos

Hi Everyone ,

My scenario gives me an error in moni .

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM2SUSOrderCreate_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM2SUSOrderCreate_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>

The root cause of the error is :

RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:PurchaseOrderRequest/PurchaseOrder/Item/ScheduleLine/Quantity/unitCode. The message is: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Too many values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method useOneAsMany[, , ]

Please do guide me where I am possibily wrong and what needs to be done

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use the Standard function Use One as Many which is available in Node functions for your Field unitCode and mapp it to target.

Regards

Seshagiri

Former Member
0 Kudos

Hi Sheshagiri,

I got it resolved it was basically a problem due to software component conflict ...... got the lead from here

Thanks

Tom Jose

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tom,

The Error shows you are using a standard function 'useOneAsMany', in which one of the input is 'unit code'

you have two provide 3 inputs to this standard function, where in the number of instances of the first two inputs should be the same. the instance of the third input may differ.

Please make the necessary changes, and test it.

Thanks,

Varun