Skip to Content
avatar image
Former Member

Create IDOC from XML file

Hi,

I want to create Scheduling Agreement from idoc using XML file means i am receiving XML file and i want to convert this XML file into IDOC and finally process this IDOC to craete scheduling agreement.

But i don't have any idea for this.pl. tell me what should i do for this.

Thanks,

Rahul

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 15, 2008 at 09:45 AM

    Hi,

    You are receiving XML file and you want that to converted into the IDOC and inturn to be processed in your system, for this you need to create an XML port and you need to read the file from that port then an IDOC will be created. Create an XML file port in WE21 transaction and then goto WE16 transaction and you can use that transaction to upload a file as an IDOC into the SAP system.

    Once the IDOC is created rest of the activity is same.

    Thanks,

    Mahesh.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mahesh,

      i tried the same as per your specifications but WE16 is giving error "unable to open file".

      Any suggestion.

      Thanks,

      Rahul

  • avatar image
    Former Member
    Dec 02, 2008 at 11:12 AM

    ss

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 12, 2008 at 08:43 PM

    Hi All

    XML port triggers inbound ????

    Hi Rahul

    Use Business Connetor for XML to idoc....

    xml should be in idoc structure format.....

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded