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

Function Module 'FTP_SERVER_TO_R3'

Former Member
0 Likes
789

Hi All,

When reading file from FTP to SAP,I am not able to read all data(Using FM FTP_SERVER_TO_R3). I am not able read data which closed red in brackets shown below.Could any one suggest solution. Not able tp read all the fields of a file from FTP to SAP.

Code:

TYPES:BEGIN OF ty_asci,

              data         TYPE char8000,

            END OF ty_asci,

            tt_adata       TYPE TABLE OF ty_asci.

DATA:  it_adata       TYPE TABLE OF ty_asci.

CALL FUNCTION 'FTP_SERVER_TO_R3'

         EXPORTING

           handle                 = v_hdl

           fname                  wa_file

           character_mode    = v_bin

*       IMPORTING

*           BLOB_LENGTH  =

         TABLES

*           BLOB                 =

              text                   = it_adata

Thanks and Regards,

Uma

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
553

Hi All,

I got answer.In display mode it is not displaying move the data to string .Now it is displaying all the fields.

Thanks and Regards,

Uma

1 REPLY 1
Read only

Former Member
0 Likes
554

Hi All,

I got answer.In display mode it is not displaying move the data to string .Now it is displaying all the fields.

Thanks and Regards,

Uma