cancel
Showing results for 
Search instead for 
Did you mean: 

Could not execute the RFC sender scenario

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Madhav,

Thanks for answering. I have done as you have said. The connection is working properly. I am getting the following message when I clicked on the Test Connection button.

Connection type: TCP/IP connection

Logon: 4 msec

0 KB: 1 msec

10 KB: 3 msec

20 KB: 4 msec

30 KB: 5 msec

But, still I am not able to see the messages through SXMB_MONI

former_member183906
Active Contributor
0 Kudos

By default, all synchronous messages in XI are not logged.

U need to add the following entry

SXMB_ADM -- Integration Engine Configuration -- Specific Configuration

Parameter LOGGING_SYNC of RUNTIME with value 1.

This should be done only on Dev environments as SAP recommends turning Synch logging off for Production for performance.

Former Member
0 Kudos

Use WE 19 transaction and test the RFC. Fill some sample values and give the correct RFC destination and do the testing.

Former Member
0 Kudos

Hi Shankar,

Where should I mention the RFC name in WE19 transaction?

Priya