cancel
Showing results for 
Search instead for 
Did you mean: 

COLLECTION OF IDOC INTO SINGLE CSV FILE

vijender_p
Active Participant
0 Kudos

Hi All,

I am working on IDOC to file scenario where multiple IDOCs  are been written into a single file using Append option.

Now what is happening is When I am trying to add time stamp to a file

But without time stamp in naming convention  .csv data is appending in file for all IDOCs.

How can I get Multiple IDOCs into single file with time stamp.

Also I need 1 single file per run.

So suppose 10 IDOCs come in one run, it should be written in one file with timestamp.

Then for second run another file should be written, It should not happen that second run IDOCs should get appened in first run file,

Regards,

vijender

Accepted Solutions (1)

Accepted Solutions (1)

sunil_singh13
Active Contributor
0 Kudos

Vijender,

One Approach could be append to a file without timestamp so that all the IDOCs will be into one file for that call and then in File Adapter call Script post message process and rename the file and append timestamp to it.

Thanks,

Sunil Singh

Answers (0)