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

XML to IDOC

Former Member
0 Likes
723

HI all

I am getting XML file comes from Non SAP systems.I need to convert xml format into idoc and then stored in data base tables.

Could you please give me sugestions how to proced. I know if it is Texr file we can use LSMW or BDC.

Thanks

srini

5 REPLIES 5
Read only

Former Member
0 Likes
632

hi

First u understand the what is XML and than u know the ftp that use and get file in u r internal table.

Read only

0 Likes
632

You can use FM: IDOC_XML_FROM_FILE or use the ICF-Service: /default_host/sap/bc/idoc_xml

Read only

manubhutani
Active Contributor
0 Likes
632

lets say your data is coming from XI(xml file). if its standard, then there would be a function module attached to a process code in the message type in the partner profile(we20)

whenever the idoc will come as an xml file, that function module will be trigerred and required action will be taken.

let me know if you have any doubt.

Regards

Manu

Read only

0 Likes
632

XML contains some usage data that XML file pusing into SAP using HPSB delivery mechanism

Read only

Former Member
0 Likes
632

first read data from XML to internal table

then from internal table fill data in into FM IDOC_INBOUND_WRITE_TO_DB

cheers