cancel
Showing results for 
Search instead for 
Did you mean: 

CPI iFlow Message Mapping UBL 2.1 Invoice XSD error

marco-silva
Participant
0 Kudos

Dear experts,

I would like to perform an XML creation in CPI. I'm following the UBL 2.1 format for invoices.

On my iFlow, I uploaded all the XSD resources needed for UBL-Invoice-2.1.

Then on my message mapping I select the main file "UBL-Invoice-2.1.xsd" but I get a lot of errors:

Any idea of what I'm doing wrong? I found SAP note 2564364 and I think I'm following the recommendation, despite I'm not using Eclipe.

Thank you.

Best regards,

Marco Silva

View Entire Topic
carlosrpereira
Explorer
0 Kudos

For add the XSDs from UBL in your I-Flow you will need create a zip file with 2 folders inside ( mainDocument, and common )
Inside the mainDocument you will put XSD file relative to the main XML that you will need work, like Invoice. I

Inside the common folder you will be inserting all the xsds files relative to the common data types;

carlosrpereira_0-1711719164543.png

you will zip the both files together and upload it inside your I-flow as XSDs definition.

automatcaly SAP CPI will made all the references necessaries to you use it. BUT, you will have a problem to use the MessageMapping object because there is some fields that they are recursives ( inside them there are another fields that are calling it againg ) and MessageMapping structure will not support it.