cancel
Showing results for 
Search instead for 
Did you mean: 

UK E-Filing: Message Mapping Transformation

Former Member
0 Kudos

Hello Everyone,

Just curious to know if anyone has seen this error while working on E-Filing for the UK, while trying to send data to the Inland Revenue:

com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start

Helpful, readable, and easy to understand reponses which provide a resolution to this issue, will be rewarded accordingly.

Thanks for your help!

John

Accepted Solutions (1)

Accepted Solutions (1)

former_member214364
Active Contributor
0 Kudos

Hi John,

Could you please check whether you mapped all mandatory target fields in Target message?

whats the occurrence of Renvelope node? The error which you got is complaining about this node generation.

Cheers,

Jag

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi John,

1) Your problem is related to Message mapping only.

2) This type of error means in mapping you have context problem. Some where your context is mismatched for IRenvelope node.

3) Take your runtime xml and check directly in message mapping.

4) Your output instances for IRenvelope is more than its occurances.

5) Try by using RemoveContext function before your target node.

Regards Rohit,

Reward points if helpful