Application Development 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: 

IDocs and Multiple Records

Former Member
0 Kudos
171

Ignorant newbie here. In migrating legacy data to an R/3 system, one approach seems to be to massage the data into IDoc format and ship it to R/3 for processing by some BAPI_xxx_CREATEFROMDATA BAPI.

I have a tool that can be changed to write IDoc formated data out to a disk file.

I am unclear on whether an IDoc can contain the data for only one record or a whole bunch of records. Or maybe I should be asking whether the disk file I produce can contain multiple IDocs (header, segments, header, segments,...).

Also, once I've produced the file containing the IDoc(s), what do I do with it; does DX Workbench handle such things?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
104

Hi,

1) Each IDoc# contains data to process single transaction. But it contains with mutiple rows with segments data that to process necessary application data that required to create like Sales order creation/change , Material master creation/change.

2) your disk file can have any no# of idocs.

Your DX workbench(data migration tool) will process all the IDocs from file by considering one idoc# at a time.

It is as simple as like how your BDC program works inorder to post your orders that reading from file.

For understading about DX requirements click on given below link:

http://www.sapgenie.com/sapgenie/docs/PROCESSING_LSMW_DXWB.doc

Naga

1 REPLY 1

Former Member
0 Kudos
105

Hi,

1) Each IDoc# contains data to process single transaction. But it contains with mutiple rows with segments data that to process necessary application data that required to create like Sales order creation/change , Material master creation/change.

2) your disk file can have any no# of idocs.

Your DX workbench(data migration tool) will process all the IDocs from file by considering one idoc# at a time.

It is as simple as like how your BDC program works inorder to post your orders that reading from file.

For understading about DX requirements click on given below link:

http://www.sapgenie.com/sapgenie/docs/PROCESSING_LSMW_DXWB.doc

Naga