2008 Mar 24 11:44 AM
Hi,
I am working on SAP CRM .Currently i used the XI system to read a XML file file using a file adapter and posting the information as a inbound idoc in the CRM system using the idoc adapter.
Can the same functionality be achieved without using XI? Can the XML document be read by a ABAP program and can the information be used to create a idoc without making use of XI.
Regards,
Shambavi
2008 Mar 24 11:51 AM
yep very much possible. put all xml files in a file server and create a file port in crm that would read the xml from the file path. using the function module that are aviable to convert an xml data to internal table u can process the rest of the requirements pretty stright fwd.
2008 Mar 24 12:22 PM
Hi Prabhu,
I know that the information in the xml can be parsed and put into a internal table. Can you tell me the steps that i will have to follow so that i can use the internal table to create a inbound idoc in the CRM system.
Thanks,
Shambavi
2008 Mar 24 12:45 PM
shambavi
all u got to check the sdn for code snipets and blogs that give pointers on reading a xml file to internal table. not sure if sax parser would help but all i assume if DOM parser is compatible in sap. once reading the xml file into a internal table u can make use of std functional entries like bapi's to post ur data to crm application.
check if there reports are helpful:
BCCIIXMLT1
BCCIIXMLT2
Edited by: Prabhu S on Mar 24, 2008 1:47 PM