Skip to Content
avatar image
Former Member

SAP PI : How to define a data type from an xsd

Hello SAP PI members,

I am a newbie to SAP PI and just getting my hands dirty with the software. I am trying the following file to file scenario:

1. Sender sends a file using file adapter with a complex XSD.

2. PI transforms the complex xsd to Vendor IDOC schema.

3. Receiver writes the file using file adapter in a different directory.

The question is how I do create the input data type from this complex xsd? All tutorials show creation of a data type manually and it would be very cumbersome for the given xsd.

I have uploaded the xsd file as a text file.

Thanks,

Mustafa

mlxml.txt (13.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 11, 2017 at 11:54 PM

    As you don't have any File Content Conversion in your Sender File Channel/Adapter, there should not be any problem. Just pick up the xml file through NFS/FTP.

    Create Sender File Communication Channel

    Regards,

    Nabendu.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 12, 2017 at 10:31 AM

    Hi Mustafa!

    Use "Import data type" menu item to import Data type from XSD schema file.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded