cancel
Showing results for 
Search instead for 
Did you mean: 

Using FTP_R3_TO_CLIENT with JCo 3

sealcw
Explorer
0 Kudos

Hey all,

I'm using FTP_R3_TO_CLIENT to send data from SAP to a java standalone server which uses JCo3 (JAVA SAP Connector Version 3.0.8). The function uses the table 'BLOB' to transport binary data.

CALL FUNCTION 'FTP_R3_TO_CLIENT'
EXPORTING
    fname                
=
    rfc_destination      
=
    BLOB_LENGTH          
=
*   CHARACTER_MODE        =
* TABLES
    BLOB                 
=
*   TEXT                  =

The ABAP function builder described the BLOB table with no associated type. So I searched with the 'Where-used list', which table type is given to this function in other programs and I found results which uses length from 120 until 2550.

LCV120U10                          2550
LSCMS_FILEU06                  1024
LSDCLF15                            1022
RSFTP009                            120

Has anybody an idea how I can define the 'BOLB' table in the function template of the JCo repository to get the data  from a table with no associated type or a source code example for JAVA to read data from table ('BLOB') with no associated type and different length?

Thanks for any help

  Christian Weiß

Accepted Solutions (1)

Accepted Solutions (1)

sealcw
Explorer
0 Kudos

JCo 3.0 does no longer support RFC_START_PROGRAM fro security reasons. Moreover, you obviously mixed up a few things: When using destination BACK in ABAP, you try to do a callback to JCo, which is not supported with JCo 3.0.....

see:

Call back in JCo3.0.1 server programming | SCN

I close the discussions.

Answers (0)