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.

    Requires Free Membership to View

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 first published in April 2004

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.