BusinessObjects Board

How to process multiple IDOCs sourced from a realtime job?

Dear experts,

We are currently working on data migration from SAP to SAP. The strategy is to use BODS and IDOC for the migration.

The following tutorials were referred to send/receive IDOCs between SAP systems.
Receiving IDOC in Business Objects Data Services (BODS) from SAP
Sending IDOC from Business Objects Data Services (BODS) to SAP

The Real-time dataflow, which receives IDOC from the source system, sends the output (1:1 mapping) into an XML file. The subsequent dataflow would then read the XML file generated from the RT job and sends the IDOC to the target SAP system.

This sample dataflow works fine when you process a single IDOC. With the “Delete & re-create file” option in the RT job file target de-selected, BODS merely appends each incoming IDOC into the target XML file. This means there is no single root node. The subsequent dataflow won’t be able to parse this XML file.

Data migration involves thousands/millions of IDOCs and we have difficulty making it work for processing multiple IDOCs at a time. Perhaps we are just missing something very crucial here? Really appreciate if anyone can provide us the necessary guidance!

Thanks,
Y.E.


ytan (BOB member since 2015-09-07)