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

posting a idoc

Former Member
0 Likes
507

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

3 REPLIES 3
Read only

prabhu_s2
Active Contributor
0 Likes
479

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.

Read only

Former Member
0 Likes
479

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

Read only

0 Likes
479

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