on 04-03-2010 4:09 AM
Hi everyone
I have the following scenario: ECC --> PI7.1 --> FTP server
The abap proxy will send 350 000 records to PI so we took the decision of split the hole message into little messages; by doing an append.
The customer is asking how are they going to know when the file is ready so they can take it?
I thought to use dyamic name file but I have a doubt:
If I send multiple messages how am I going to control the file name when the last message arrives?
Can someone give me somelight??
Thanks in advanced
Emmanuel
Hi,
one possibility would be to send proxies in EOIO mode and after the last one
send a separate proxy (to the same queue) which would create some sort of a flag file
in the same folder - so whenever you'd see the flag file this would mean that the original file is complete
as the mode was EOIO
of just send a whole file at once without splitting
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal
Thanks for your quick answer.
We tried to send the whole message without splitting but there were just 144 000 records; it failed due to the message size (30 MB) and timeout (600 secs) so if we send the 350 000 records message it´s size may be about 75 MB;
Do you think that sending that kind of messages should be healthy for the server?
Thats why we decided to split the message!
Thanks again and Regards
Emmanuel
Hi Emmanuel,
We got the same requirement recently. I did as below.
Create one more field in the proxy structure for sending the file name, read this filename in PI mapping and then set this file name for receiver channel using dynamic configuration.
On ECC side, generate a unique filename for all chunks (prefix z for filename for all chunks except last chunk). You can handle this thing in the script in receiver file channel which renames the file as expected by the end user on the last chunk.
Note: use file construction mode as append in receiver file channel.
Regards,
Praveen Gujjeti.
Edited by: Praveen Gujjeti on Apr 3, 2010 11:02 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.