Skip to Content

Using OASIS UBL in SAP PI

Hello everyone!

We are working with a customer who uses UBL 2.0 as a standard to exchange messages, so we'll have to use it in PI to communicate with them.

I was reading some threads were people asked about if it's supported by SAP PI and I found some yes and no:

I would like to know if someone already used it in SAP XI/PI and could give me some tips and information about how to create Data Types and using Communication Channels if necessary. So far, they gave me some XSD files that represent common structures (where the types are defined) and other files that import the commons to define some messages. They both are large files containing types and definitios. I couldn't import them into PI because the whole schemas are not declared.

Any information would be very useful.

Thanks!

Juan.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Apr 05, 2013 at 06:03 AM

    HI Juan,

    I have had the same question 6 month back when we get similar requirement to use UBL schema's in PI to integrate with ECC in Synchronous/Asynchronous ways.I will suggest you below things-

    1. Import UBL schema 2.0 in PI - You will get the whole set of UBL schema o OASIS site as well as you can request client for the sccema.

    2. Once you import these UBL schema in PI, look carefully for referencing schema each XSD requires. It is necessary to have correct schema reference else once you test SOAP scenarios(Inbound/outbound), you will get strange errors wile testing it.

    3. Make sure in each XSD fields, no RED references, means all references are there in external references tab.

    4. As you must be aware that UBL schemas are big in nature, don't try to use one to one mapping for same XSD - It will give error, a well known error of memory exception / Array index. Don't remember exact error.

    5. Lets say if you are creating SOAP(UBL) -> PI -> Proxy scenario, create minimal proxy structure manually, don't use same UBL structure.

    Let me know if you want any more clarification.

    Regards

    Aashish Sinha

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 04, 2013 at 10:13 PM

    I think they provided schema definition about their side message structures and WSDL (web service definition language). Please contact the client and check whether they support Webservice. If so, get the WSDL and import it in PI as external defintion. You don't need to create data types for this. You simple use their message definition as message types. In this case you can use SOAP receiver adapter to integrate with the client. Please search SCN for the soap receiver adapter scenarios.

    If they don't support web service then you use their XSDs as message types. You don't need to create data types and ask for the communication standards(like protocols such as SOAP, FILE etc) they support.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 05, 2013 at 03:27 AM

    Hi Juan,

    You can see this thread, here you have a lot of guide and documents for starter of PI.

    https://scn.sap.com/thread/943796

    Regards,

    Sreeni.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.