cancel
Showing results for 
Search instead for 
Did you mean: 

Sending 80 Byte Fixed Size of File in SAP PI 7.11

Former Member
0 Kudos


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

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

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