cancel
Showing results for 
Search instead for 
Did you mean: 

anyone use "STFC_CONNECTION" FUNCTION between SAP system and JAVA system for sending data??

08-26-2020 3:30 AM
2174 views 2 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello experts,

i am trying to send some message to java systems...in sap

i already has done to setup configuration of RFC COnnection of tcp

when i execute my program...

i got this message.. : (

this is my source..

is there something wrong in my code??

if so, tell me plz..

SELECT * FROM ZEDI_NH_DESADV
INTO CORRESPONDING FIELDS OF TABLE LT_ITAB.


*
CALL FUNCTION 'RFC_PING'
DESTINATION 'ZEDI_QAS'.

CALL FUNCTION 'STFC_CONNECTION'
DESTINATION 'ZEDI_QAS'
EXPORTING
REQUTEXT = REQUTEXT
IMPORTING
ECHOTEXT = echotext
RESPTEXT = RESPTEXT
TABLES
RFCTEST = LT_ITAB.

MODIFY ZEDI_NH_DESADV_T FROM LT_ITAB.

i will wait experts answer...

thank you

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Hwang,

simply check the server samples contained in the JCo SDK archive. It also explains how to implement a server function module.

Best regards,
Markus

0 Likes

i see thanks

Answers (0)