Application Development and Automation 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: 
Read only

create IDOC from XML-File on application server

edvdm
Participant
0 Likes
4,238

Hello!

One customer send us his orders via FTP as XML-File. This XML-File includes the structure of the IDOC ORDERS.

Now we should import this XML-File as IDOC in our system an create after that a sales order.

How can we import this XML-File?

Best regards

Markus

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,517

Hi Markus,

Answer is here in similar thread. please use search on the forum before posting a question. Do you need any other detail.

Regards,

Sachin Dhingra

5 REPLIES 5
Read only

Former Member
0 Likes
2,518

Hi Markus,

Answer is here in similar thread. please use search on the forum before posting a question. Do you need any other detail.

Regards,

Sachin Dhingra

Read only

0 Likes
2,517

Hi Sachin!

FM IDOC_XML_FROM_FILE needs a Port.

What kind of Port should it be? The XML-File of our customer is located on our application server.

Regards

Markus

Read only

0 Likes
2,517

Markus,

It should be XML port in tcode WE21. Although, I have never used it myself. Would you please check the reply here by Ganimede Dignan (3rd last reply)

Regards,

Sachin Dhingra

Read only

0 Likes
2,517

Hi Sachin!

I have another one questin.

Each XML-File from our customer has a unique filename with some constant and some variable parts. The variable part includes the timestamp. How can I read the filename to import the correct file?

Regards

Markus

Read only

0 Likes
2,517

XML File must be encoding with UTF8, our first XML-File was encodied with UTF16