cancel
Showing results for 
Search instead for 
Did you mean: 

PI conditional IDOC create

Former Member
0 Kudos

Hi ,

I am having an issue with my PI mapping . The requirement is such that the source file needs to be mapped to 3 IDOC message types and 3 idocs are to be created in R3.

If a particular data is not present in the source file IDOC should not be created .

In ESB I have used createif to build this logic but i receive this error when I try to execute this.

com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /IBAN_SAVEREPLICA01. Values missing in queue context. Target XSD

for 2 of the 3 idocs I can only check for the conditions in ESb and if false IDOC should not be created.

How can I achieve this?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Neelima,

Have you tried using the 'exists' node function?

Also, check http://scn.sap.com/thread/340403 which will give a basic understanding of these functions and you can build the mapping from there.

Hope that helps.

Regards,

Rakesh.

Former Member
0 Kudos

This has now been resolved.It was a context issue.