cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

what is the exact syntax for calling remote function module.

Former Member
0 Likes
1,139

Hi to all

1.....what is the exact syntax for calling remote function module.?

Thanks and regards,

k.swaminath reddy

View Entire Topic
Former Member
0 Likes

Hi,

The syntax is same as you call any normal FM.Just one addition you will have to pass the RFC destination also with the RFC FM Like

DESTINATION rfc_sys in the below RFC FM.

CALL FUNCTION 'RFC_READ_TABLE'

DESTINATION rfc_sys

EXPORTING

query_table = p_kc_ykat1050

TABLES

OPTIONS = z_option

data = pit_ykat1050

EXCEPTIONS

table_not_available = 1

table_without_data = 2

option_not_valid = 3

field_not_valid = 4

not_authorized = 5

data_buffer_exceeded = 6

OTHERS = 7.