2006 Sep 08 8:04 PM
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,
2006 Sep 08 8:42 PM
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,
2006 Sep 08 8:17 PM
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.
2006 Sep 08 8:42 PM
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
2006 Sep 08 8:50 PM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |