cancel
Showing results for 
Search instead for 
Did you mean: 

Check file size within the adapter

Former Member
0 Kudos

Hello,

I'll check the file size within the adapter without using a script on the OS. The need is to refuse files with a special size range.

Regards Geert

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In your File adapter under Advanced Mode you can give Maximum File Size.

The adapter only processes files that are smaller than the specified size. An error occurs if files are any larger.

for more infor see the last para...

http://help.sap.com/saphelp_nw04/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm

Regards,

Sarvesh

Former Member
0 Kudos

Thanks! It seems to solve at least the problem with files reaching a certain size.Regards Geert

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I am Not clear with your exact requirement.

But there is an option on file sender channel:

Go to Advanced Tab --> Additional Parameters --> Maximum File Size (Bytes)

For this parameter, mention the max file size in bytes.

-Tanaya.

Former Member
0 Kudos

You can set the size limit in file sender channel configuration -> Advanced Mode->Maximum File Size

http://help.sap.com/saphelp_nw70/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm

Shabarish_Nair
Active Contributor
0 Kudos

use ASMA - Source File Size (technical name: SourceFileSize)

that will retrieve your file size

similar approach - /people/shabarish.vijayakumar/blog/2009/07/30/sourcefiletimestamp--an-useful-asma