‎2009 Jul 31 2:05 AM
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
‎2009 Jul 31 6:54 AM
hi
First u understand the what is XML and than u know the ftp that use and get file in u r internal table.
‎2009 Jul 31 10:43 AM
You can use FM: IDOC_XML_FROM_FILE or use the ICF-Service: /default_host/sap/bc/idoc_xml
‎2009 Jul 31 10:51 AM
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
‎2009 Jul 31 3:08 PM
XML contains some usage data that XML file pusing into SAP using HPSB delivery mechanism
‎2009 Aug 03 6:47 AM
first read data from XML to internal table
then from internal table fill data in into FM IDOC_INBOUND_WRITE_TO_DB
cheers