cancel
Showing results for 
Search instead for 
Did you mean: 

Batch IDOCs to single message in XI

Former Member
0 Kudos

Hi Experts,

I have situation wherein I am getting a batch IDOCs of same type and needs to fed in XI as a single message. I would like to know

a) How a batch IDOCs can be made to single message?

b) How XI can check the number of IDOCs in a batch?

c) What should be done if target system requires this batch IDOCs in split manner.

Please give me some tips. Your help will be well appreciated.

Thanks & Regards,

Praveen.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Refer this blog:

Regards,

Sreenivas

Answers (3)

Answers (3)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Praveen,

if you want to have a batch of IDOCs in XI from ERP (r3)

then it's possible with EhP1 for PI 7.0

as per my blog : "sender IDOC adapter packaginig"

then you don't need any BPM etc to collect it

Regards,

Michal KRawczyk

Former Member
0 Kudos

HI praveen,

Go throgh the following blog for Idoc message packaging.

Regards

Sridhar Goli

prateek
Active Contributor
0 Kudos

a) How a batch IDOCs can be made to single message?

Use idoc packaging. In IR export Idoc as xsd, change the occurrence of Idoc tag from 1 to 0..9999 and then reimport and use it at External Definition.

c) What should be done if target system requires this batch IDOCs in split manner.

If u use BPM, then in transform step, do the mapping to convert single idoc into multiple ones and store these individual idocs in multiline container variable if required.

Regards,

Prateek

Former Member
0 Kudos

Thanks to all.

But I have the situation in which BPM cannot be used.

Please let me know how can I do.

Thanks,

Praveen.

prateek
Active Contributor
0 Kudos

Actually for ur splitting requirement multi-mapping is required which is not possible without BPM for Idocs at receiver.

Regards,

Prateek

Former Member
0 Kudos

Hi Parveen,

I will give you one of the best Idea to implemet it.

Create an XML port in R/3. Write all your Idocs as a XML file, on server or any folder on server..

Mention packet size in Partner Profle to decide that how many Idocs you want to write in one XML file.

Use FTP channel to pick the XML Idoc in file from that folder. The scenario will look like

R/3>XMLFILE->FTP channel>Mapping-->Output.

It will come as a single message in XI.

Thanks

Kulwinder

Former Member
0 Kudos

Thanks for your reply.

I would like to add one more condition that I am in need of the Batch Idocs into XML and without ftp channel it needs to fed into XI for the mapping. Please let me know your views.

Regards,

Praveen.

prateek
Active Contributor
0 Kudos

am in need of the Batch Idocs into XML and without ftp channel

Once the idocs are downloaded as xml, they can communicate with XI using File adapter only. Use FTP or NFS protocol. Other way is not possible if u use file port.

Regards,

Prateek