Q

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

Dig deeper on SAP ABAP

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close