on 05-16-2014 1:45 PM
Hi, I have a requirement that I need to send the file with approximately 80 bytes or less from SAP PI to a receiver system.
The message that I'm sending is a text file with file sizes that ranges from 200 - 1000 bytes.
Is this even possible in PI?
The only solution that I thought of is zipping the file but it does not guarantee that I will get 80 bytes or less by zipping it.
Thanks,
Roni
Hi,
In receiver determination under conditions choose context objects and select sourceFileSize. The problem is in xpath, there is no way to use less than or equal sign. So only files with exactly 80 bytes would fit the condition.
A choice would be to run a script before message processing that checks filesizes before getting polled.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.