Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can I group IDocs in a single file using the EDI file port?

I'm working with TRFC port using the "collect IDoc" option and defining the "packet size" in WE20. Is it possible to send the IDocs to the EDI system so that it can send them out in ONE EDI file? (1 EDI file - several IDocs) Nevertheless, I don't know whether this is possible with the conventional File ports. Is there any tricks in SAP EDI to do this? As far as I was told, ACTIS EDI manager, which is what we use, doesn't have this grouping option for a business partner either.

I'm working with TRFC port using the "collect IDoc" option and defining the "packet size" in WE20. Is it possible to send the IDocs to the EDI system so that it can send them out in ONE EDI file? (1 EDI file - several IDocs) Nevertheless, I don't know whether this is possible with the conventional File ports. Is there any tricks in SAP EDI to do this?

As far as I was told, ACTIS EDI manager, which is what we use, doesn't have this grouping option for a business partner either.
IDocs are usually created one by one and hence every IDoc is stored in its single individual file. I have not seen a way to cheat the IDoc engine to pack them together.

A simple way to bypass this shortcoming is to do it with a simple shell script on OS level (in UNIX a .ksh file, in DOS/Windows a .bat or a VB-Script file). Have the IDocs written to a dedicated directory and then periodically execute the script. This script would:
* Append the files to a single master file
* Remove or archive the original IDoc files
* Send the master file containing all IDocs to the EDI manager

Regarding the ACTIS manager, it is only partly true that it cannot combine the IDocs. Principally it is possible, but it may be some investment to write the script to it. Basically it would do the same what I suggested above using a shell script, only it would perform it within ACTIS. I suggest to contact ATOS-Origin in Berlin to have it done. They will probably suggest to rather use to replace the ACTIS manager by a newer product.
This was last published in May 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close