cancel
Showing results for 
Search instead for 
Did you mean: 

One IDOC split to multiple IDOC's

former_member183906
Active Contributor
0 Kudos

Scenario is in ECC 6.0 and SAP PI 7.0 .

SAP is sending Custom IDOC to PI 7 and PI 7 is sending that to receiver system.

The custom IDOC sometimes contains more than 250 segments and receiver system is not able to process IDOC's with more than 250 segments. Receiver system is having this limitation.

QNS :

(1) What are options to restrict IDOC's creation to 250 segments in SAP

OR

(2) Can it be taken care at SAP PI 7.0 end. Like 1 doc is coming to PI with more than 250 segments and Can PI break this into multiple idoc's of max 250 segment length so that no data loss is there.

Your suggestions are needed for both options.

Thanks in advance..

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
(1) What are options to restrict IDOC's creation to 250 segments in SAP

Did you check the IDOC packaging option: /people/michal.krawczyk2/blog/2007/12/02/xipi-sender-idoc-adapter-packaging

Regards,

Abhishek.

former_member183906
Active Contributor
0 Kudos

I checked IDOC packaging option, but its not splitting IDOC.

I have IDOC with 250 segments in SAP. I need 50 idocs from it of 5 segments. How it is possible at SAP or SAP PI end ?

Former Member
0 Kudos

Try out this mapping-

You need use 1:n mapping by making the occurance of target MT to unbounded.

Idoc -> Index(context,increment1)-> Division by n(250)->floor->SplitByValue->collapseContext->TargetMT

Segment ->Index(context,increment1)-> Division by n(250)->floor->SplitByValue->Target Segment

Iam not sure on how to build this logic in SAP.But the effective way is to implement this restriction in SAP before IDoc reaching PI.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Azhar,

Thanks for the response.

I have already created a new thread with name IDOC of large size.

The requirement is similar to mine. I didnt find any solution yet. So i replied here only.

Can you please provide a solution

Thanks

Akriti

Former Member
0 Kudos

Hi ,

I have a similar problem.

CAn you please help me how you split the IDOC.

Thanks & Regards,

Akriti

azharshaikh
Active Contributor
0 Kudos

Hi Akriti,

Request you to open a new thread with the issue/error details(with screenshots if any) as this is already closed.

Regards,

Azhar