cancel
Showing results for 
Search instead for 
Did you mean: 

Split the IDOC into multiple IDOC if the IDOC has more than 500 records

Former Member
0 Kudos

Hi All,

I developed an outbound IDOC in which we are facing an issue.

There is some limitation on the maximum idoc size it can handle.

If number of records is more than 500, split the idoc into multiple iDoc's, e.g. if it would have 1300 records , the result would be 2 iDoc's with 500 records, and the last one would have 300 records

How can i acheive this.

Regards

Jai

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Closed

Former Member
0 Kudos

Hello Jai,

How did you achieve this.I had requirement similar to you .But it is for payments.

I can leverage your soultion please share it with me

Ramu

Former Member
0 Kudos

Hi,

Yes, U can do this.

Using java mapping, in which u have lot of control on data, u can easily check the number of records...

So according to ur requirements, say if the records are 800, u will have 2 Idoc's 1 with 500 and the other with 300 records.

If nt clear,pl do post

Babu.

Former Member
0 Kudos

Hi,

I am not sure why problems with size comes up just for 500 records.

but anyway if you want to split the Idoc into mulitple then do it at R3 side before sending to PI.

you can achive it through user-exit or copying the outbound processing FM.

Regards,

Suresh

former_member200962
Active Contributor
0 Kudos

1) IDOC Packaging....done on Sender end

2) IDOC split is not possible using mapping as IDOC adapter does not support it.

Regards,

Abhishek.

Former Member
0 Kudos

Hi,

when SAP sends IDOC's to BizTalk Server there is some limitation on the maximum idoc size it can handle.

Anything can i done from my end?

Former Member
0 Kudos

Then try to split the IDoc thorugh ABAP code at R3 side itself.

Suresh

Former Member
0 Kudos

HI,

Can you please tell the procedure how to acheive this.

Regards

Jai

former_member200962
Active Contributor
0 Kudos
Anything can i done from my end?

Try to make use of IDOC Packaging concept ...blog on the same available.... or may be we can wait for Michal to provide some inputs

Former Member
0 Kudos

Hi,

in SAP R/3 side go to partner profile (we20) and select the outbound messages and there select the option of collect idocs and set the packet size there...so that SAP will take care of sending as per your requirement...

HTH

Rajesh

Former Member
0 Kudos

Thanks Abhishek,

I am waiting for your reply.

Regards

Jai

Former Member
0 Kudos

Hi,

1) first you need to know which message type/Idoc type you are triggering.

2) Get the Corresponding processcode from Partner profiles(WE20/ WE41).

3) Then the look for prper user-exit in the related processing FM.

4) write logic to split the IDoc accordingly.

if no proper user exit available then copy the standard processing FM and need to all ALE related configurations.

Catch hold any ABAP expert in your team to do all these.

Suresh

former_member206760
Active Contributor
0 Kudos

Agree with Suresh..

your requirement can be addressed by ABAP coding on R3 side..

go to we20 partner profile go to the corresponding message type and in the message control get the outbound process code..

In the processing FM you can find the user exit to do the coding..

or if you are not using message control say like material master ..there are exits avaiable in FM master idoc distribute