Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Could not execute the RFC sender scenario

Hi,

My Scenario is RFC to File asynchoronous.

RFC is in XI box and I want the file to created on the XI box only.

I have created an RFC destination using Sm59 transaction on XI box. Following are the details

RFC Destination --> SAP_TO_XI

Connection Type --> T

Program ID --> PRG_ID

Activation Type --> Registered Server Program

Gateway Host --> SAPXIS01

Gateway Service --> sapgw00

I have created the Sender CC with the above gateway host, service and the program id.

I want to execute the scenario on SAP XI by executing the RFC on XI box through a report.

The following is the statement used in the report to execute the RFC

*********************************************************

Data: LS_CTRY_DTLS TYPE Z_TEST_TABLE.

CALL FUNCTION 'Z_TEST'

DESTINATION 'SAP_TO_XI'

IN BACKGROUND TASK

TABLES

LT_CTRY_DLTS = LT_CTRY_DTLS

EXCEPTIONS

COMMUNICATION_FAILURE = 1

SYSTEM_FAILUE = 2.

COMMIT WORK.

*********************************************************

The function module is not giving any error and at the same time, no messages are shown in SXMB_MONI transaction. Can you please let me know the reason for this.

Thanks

Priya

Not what you were looking for? View more on this topic or Ask a question