Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

PDF File Size calculation

Former Member
0 Kudos

When the output for the Delivery is triggered, PDF file is generated and saved on AL11 path. In another custom program, need to calculate the size of the PDF file generated and save the value. Let me know how we can achieve this.

2 REPLIES 2

p190355
Active Contributor
0 Kudos

If the PDF file is generated using CONVERT_OTF function module, there is an exporting parameter

BIN_FILESIZE

Can you check if this parameter can help?

Cheers,

Remi

nikolayevstigneev
Contributor
0 Kudos

Or you can use any FM for getting file size like EPS_GET_FILE_ATTRIBUTES.