Application Development and Automation 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: 
Read only

Application server file lentgh

Former Member
0 Likes
657

Hi,

I am trying to read an application server file using open dataset in Binary Mode..

I want to find the file length of the file read.(number of bytes transferred as in the GUI_Download FM parameter Filelength)

How can i achieve it.

Appreciate ur ideas.

Rgds.

stck

1 ACCEPTED SOLUTION
Read only

former_member226519
Active Contributor
0 Likes
632

use DESCRIBE TABLE and sy-tfill will contain the number of rows and sy-tleng the length of a table row in bytes.

use DESCRIBE TABLE and sy-tfill will contain the number of rows and sy-tleng the length of a table row in bytes.

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
632

Ignore

Edited by: Keshav.T on Jan 6, 2010 7:23 PM

Read only

Former Member
0 Likes
632

Hello,

Use the FM EPS_GET_FILE_ATTRIBUTES passing the file name and the directory name and get the file_size.

Vikranth

Read only

former_member226519
Active Contributor
0 Likes
633

use DESCRIBE TABLE and sy-tfill will contain the number of rows and sy-tleng the length of a table row in bytes.

Read only

0 Likes
632

Answered

sy-tfill * sy-tleng worked.

Thanks .