Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create IDOC from XML file

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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.

0 Kudos

Hi Mahesh,

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

Any suggestion.

Thanks,

Rahul

Former Member
0 Kudos

ss

Former Member
0 Kudos

Hi All

XML port triggers inbound ????

Hi Rahul

Use Business Connetor for XML to idoc....

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

Ramesh