cancel
Showing results for 
Search instead for 
Did you mean: 

Collection of muliplte IDOCs and mapping to a single file

former_member187437
Contributor
0 Kudos

Hi All,

I have a scenario, where R/3 will collect the IDOCS and send to XI. XI has to collect them and map it to a single xml file.

Could this be done wihout a BPM? please suggest me how to do this?

i went through the threads on IDOC package, but still not clear.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

it is impossible to collect 20.000 IDOC's with a BPM in a serios time frame. You have to check, if you could redesign your entire process.

As workaround you could send the IDOC's not directly to XI, you could use the file port and send them in XML format to th file system. This gives you the posibility to create bundles. When you want to bundle 100 IDOC's you receive 200 files with 100 IDOC's each. This files can be uploaded with the file adapter and mapped to the target structure without BPM.

If you want to Bundle the idocs from R/3 itself, you can find the Collect Idocs option in the Outbound Partner Profiles (WE20) ..

But it is required to collect these Idocs in the XI with the help of BPMCollect Patterns. Because if you send 100 idocs at a time from the R/3 it will reach XI as one message for each idoc.

Also have a look into this blog-

with out bpm refer tyhgis blog

Regards,

Surya

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Aarathi,

You can refer this blog

Regards,

Surya

Former Member
0 Kudos

Dear Aarthi,

Another idea for collecting IDocs consists in using standard functionality of the IDoc. Instead of sending the IDoc directly to the XI via the IDoc adapter, you can download the IDocs gathered in a file with XML format. This file can now be uploaded by the sender file adapter. As the XML structure is the same as the IDoc adapter produces, there is no change of the behaviour of the message, besides there no single IDoc inside, but multiple IDocs instead.

1.As first step you go to WE21 and create an XML file port in the application system. Apply here a function module for creating the file name. You can use a standard module or a self-written module.

2.With WE20 you assign the port to an outbound IDoc

3.Schedule report RSEOUT00 with a variant where you assign the IDoc type, the xml port and the number of IDocs which shall be collected.

4.The report collects all IDocs in one file, until the "Maximal number of IDoc" is reached. When you have for example 2400 IDocs and you set "Maximal number of IDoc" to 1000, you receive 3 files, two with 1000 IDocs and one with 400. Inside the file there is one IDoc tag for each IDoc.

Former Member
0 Kudos

Hi,

Check out this thread, a similar thing has been discussed.

Refer this blog for IDocs (multiple types) collection using BPM:

Former Member
0 Kudos

Hi,

Check this

REgards

Seshagiri