Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOCS!

Former Member
0 Likes
557

All,

May be this is a basic one. I just want to know if there are 100,000 records in a file, how many IDOCS can be created? Can we create 1 IDOC with 1 control record and 100,000 data records or create 100,000 IDOCS?

Note: MIddleware is picking up the file and creating IDOCS in SAP.

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
511

Hi Somen,

Yes, you can create an IDoc with 1 control record and 100,000 segments.

SAP has set maximum limit (repeating segments) up to 9,999,999,999.

Regards,

Ferry Lianto

All,

May be this is a basic one. I just want to know if there are 100,000 records in a file, how many IDOCS can be created? Can we create 1 IDOC with 1 control record and 100,000 data records or create 100,000 IDOCS?

Note: MIddleware is picking up the file and creating IDOCS in SAP.

Thanks,

3 REPLIES 3
Read only

Former Member
0 Likes
511

Your best bet is to determine a limit on the number of segments per IDoc, say 5000 or so, and generate an IDoc for each block of segments. If you generate one IDoc per record, you end up adding many unneccessary table entries in EDIDC(1 record per IDoc) and EDIDS (4 records per IDoc?).

Placing them all on one IDoc can result in performance issues, especially in the RFC communication between the middleware and SAP.

Read only

Former Member
0 Likes
512

Hi Somen,

Yes, you can create an IDoc with 1 control record and 100,000 segments.

SAP has set maximum limit (repeating segments) up to 9,999,999,999.

Regards,

Ferry Lianto

Read only

0 Likes
511

Another thing to consider is whether or not there are dependencies among segments. For example, you might not want to prevent processing of all records just because one of them is in error.

In the end, how you organize the data really depends on the critical factors regarding your interface.