Hi Experts,
I am currently working on idoc to file interface...where we collect all the files and store in temp folder on a daily basis by keep appending the files in it and send one FINAL file to the receiver at night.
The file structure has one header and multiple details.. each idoc triggere create a file which creates both header and details.
header1
detail1
header 2
detail2
headern
detailn
my requirement is,
I just need to have only one header(common for all details) and keep appending only the detail records...the first idoc which gets triggered should only create the header and rest all idocs should append only the detail records.
header
detail1
detail2
detail3
.
.
.
detailn
can someone suggest how i can achieve this.
thx