on 10-03-2009 12:31 AM
Hi Experts
I am working on a Proxy to File scenario where Proxy would be sending the data to XI and File will be created, Data from the sender will be appending to the file till 6:00pm
On the sender File is having the Four different record structures,
Header1
Detail1
Detail2
Trailer1
Header only needs to be written one time at the time file creation, During the time frame 12:00am to 11:50 Detail Records needs to be appended to the file,
At the end of the day the trailer1 record needs to be written and Other CC will be pick up the file and send it to the Vendor,
How can I achive this, (Like one header at the begining of the day, and Footer at the end of the day,
Do I need to use a BPM to do this, Is there any other way to acive this without BPM
Thanks
PR
How can I achive this, (Like one header at the begining of the day, and Footer at the end of the day,
For Header:
Since it will be created and sent at the begining of the message processing you can send it in the usual way....in the mapping just create the target structure resembling the header.
For Footer:
Since it is required to be send only at the end of the day.....Create it along the Header....in Receiver Determination have two receivers (one for Header.....one for Footer....Receiver/ location for Footer will be dummy not the one of the vendor).
Now this will create the Footer file at some location X.....now create another Sender Channel which will pick this Footer file at the end of the day (make use of Availability Time Planning).....and send it to the vendor at that time....
In the receiver file Channel the construction mode will be append.
Personally i wont suggest to use a BPM...why?....the BPM instance will keep on running for entire day....and it may not be a good approach....my take on your problem
If you find an optimizing solution for this problem, then do not forget to mention it here...it will help the community in future
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
>Header only needs to be written one time at the time file creation, During the time frame 12:00am to 11:50 Detail Records needs to >be appended to the file,
I dout it , Let us see experts view
Cheers
Agasthuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.