Skip to Content
author's profile photo Former Member
Former Member

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 02:31 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 03:41 PM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.