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

File Size

Former Member
0 Likes
615

Hello Friends,

How to get the file size or length of a particular table or file i.e. number of bytes.

my requirement is to get the lengh of the file i am sending to application server.

because i need to send a check file along with the data to application server which will contain the name of the file and number of bytes of that particualar file

Hello Friends,

How to get the file size or length of a particular table or file i.e. number of bytes.

my requirement is to get the lengh of the file i am sending to application server.

because i need to send a check file along with the data to application server which will contain the name of the file and number of bytes of that particualar file

4 REPLIES 4
Read only

Former Member
0 Likes
596

CALL METHOD cl_gui_frontend_services=>file_get_size
  EXPORTING
    file_name            = str
   IMPORTING
     file_size            = size.
 
CALL METHOD  cl_gui_cfw=>flush( ).
WRITE: / file(50), size.
Read only

0 Likes
596

hello santosh,

i will be scheduling my report,

and as per my knowledge we can not use GUI's in back groud

correct me if i m wrong

Read only

0 Likes
596

ya ... you cannot make use of this then ...

Read only

0 Likes
596

you have any other idea dear