cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Error

former_member188885
Active Participant
0 Kudos
47

Hi All,

I have a file to JDBC scenario. After the file is picked up by XI, there is an mapping error.

In Moni, i get the following error:

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

Hence when i try to test the mapping in IR, i am getting the following error:

Cannot produce target element /ns0:MT_MSDYNAMICS_OUT/STATEMENT/TABLENAME/ACCESS[2]/SM_Upgrade_Status. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns0:MT_MSDYNAMICS_OUT/STATEMENT/TABLENAME/ACCESS[2]/SM_Upgrade_Status. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

Can you please tell me why this error is occuring and how can this be solved?

View Entire Topic
Former Member
0 Kudos

hi,

this error is occurring because ns0:MT_MSDYNAMICS_OUT/STATEMENT/TABLENAME/ACCESS/SM_Upgrade_Status is a mandatory field and your mapping does not put any value in it.

try using mapwithdefault and it should work.