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

How to bundle IDocs into one big file

I wonder how I can bundle IDocs into one big file, rather than transferring thousands of files back and forth?...

INVOIC, ORDRSP are concerned.

SAP does not do the job for you. But write them into a dedicated directory, then write an operating system script (.BAT in Windows, bash, PHP, PERL etc. in Linux, .SH in UNIX) that concatenates the files into one file. In wWindows this looks like: copy file01+file02+file03 alldata

Of course it is a bit more difficult, as you would not know all the file names in advance. In this case you better bother to write a little Visual Basic Script. For UNIX/Linux visit some Linux/Unix Forum to learn how you can concatenate files into one.

This was last published in April 2004

Dig Deeper on SAP ABAP

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.