Calling Remote function tool leads always to a logon screen

Hello,
I run an remote function tool in system A. In System B I run a report calling this function module.
Each time, I execute the report, a remote logon screen appears. It looks the same like the one you logon the system. You have to specifiy client, user and password.
I know one possibilty to avoid this logon screen appeaering.
System B (holding the function module) must declare System A as a trusted system. Thus, the user does not need to logon system B, each time calling the func. module. I processed this in correspondence with the help data, but the screen still appears.
Is there any other possibilty to avoid appearing the logon screen or does anybody know wheter I did something wring??
thanks, holger

Hi Holger,
1. This has to do with tcode SM59 (Maintain RFC Connections)
THE CALLING SYSTEM HAS NOT DEFINED
USER ID / PASSWORD TO LOGON TO THE TARGET SYSTEM.
HENCE, IT SHOWS BLANK LOGIN SCREEN
2. Under the node RFC Destinations ---> R/3 Connections,
   various systems are defined for RFC Purpose.
3. Lets say ur system(which u want to connect) is PRD.
4. Double Click PRD and go the the details.
5. There are 3 Tabs. Goto LOGON/SECURITY TAB.
6. In the logon information , enter the
   USERID and password and client.
7. Save.
Then try your program.
Hope this helps.
Regards,
Amit Mittal.

Similar Messages

  • Calling Remote Functions Locally Triggers any Database commit(Implicit)

    Hello,
    Am making use of RFC enabled function module as normal function module (Calling remote function module locally).
    My question is does it trigger any implicit database commit or not. Since synchronous RFC triggers database commit.
    Regards,
    Tenzin Choegyen

    I057200 wrote:
    Since synchronous RFC triggers database commit.
    Let me correct the statement both synchronous as well as asynchronous RFCs trigger an implicit DB commit.
    SAP documentation on synch-RFCs states:
    If the content of dest is equal to the constant space, then the addition DESTINATION is ignored and a normal call CALL FUNCTION func is executed.
    Please note that you should not use the DESTINATION addition or use DESTINATION space. DESTINATION none will start the FM as an RFC in the same app server.

  • What is the exact syntax for calling remote function module.

    Hi to all
    1.....what is the exact syntax for calling remote function module.?
    Thanks and regards,
    k.swaminath reddy

    hi
    good
    Lets do simple example where you will first create a RFC in one server (say A) and create normal program in othere server (say B). Finally you will call the RFC in A from B.
    Do the following steps for creating RFC in server A.
    1. log on to server A
    2. go to se37
    3. Edit -> function groups-> create function group and give the function group name (say ZGRP).
    4. create a FM ( say Z_TEST_RFC) in se37 providing the function group which is created just now.
    5. go to attribute tab -> choose remote-enabled module from processing type.
    so that your FM will become RFC.
    6. provide the import parameter in import tab.
    we will provide only two import parameters.
    - parameter name : P_NUM1, typing: TYPE, associated type : I & check the pass value (all the parameters of RFC must pass by value).
    - parameter name : P_NUM2, typing: TYPE, associated type : I & check the pass value
    7. provide the export parameter in export tab.
    parameter name : P_SUM, typing: TYPE, associated type : I & check the pass value
    8. write the given simple code in source code tab.
    FUNCTION Z_TEST_RFC.
    P_TOT = P_NUM1 + P_NUM2.
    ENDFUNCTION.
    Do the following steps for creating ABAP program which will call the RFC in server B.
    1. se38 - > creat a program.
    2. write the given simple code.
    data tot type i.
    call function 'Z_TEST_RFC' destination 'XXXXXX'
    exporting
    p_num1 = 10
    p_num2 = 15
    importing
    p_tot = tot.
    write tot.
    please note that XXXXXX is RFC connection which is avialable in sm59 transaction in server A.
    -go to sm59 - > abap connection (list of RFC connection configurations are avialable). choose server B connection and replace it of XXXXXX in the code.
    finally you can execute the normal abap program that will call the RFC and display the result.
    reward point if helpful.
    thanks
    mrutyun^

  • Local function calling remote function - error

    Dear All
    i have following remote function wich return some value from both methods ie.
    1) select func1(variable, varialbe) from dual@remoteDB; working
    2) select func1(variable, varialbe) from dual; -- by making a synonym at local
    Now i create a local function funclocal calling remote functino i.e. func1 in this example as:
    CREATE OR REPLACE FUNCTION funclocal(locc varchar2, artnoo number)
    RETURN NUMBER IS
    query_str VARCHAR2(1000);
    STKQTYY NUMBER;
    artno number(10);
    loc varchar2(80);
    BEGIN
    artno := artnoo;
    loc := locc;
    query_str := 'select func1(loc, artno) from dual ';
    EXECUTE IMMEDIATE query_str
    INTO STKQTYY;
    RETURN STKQTYY;
    END;
    compiled successfully.
    But when i run as:
    SQL> select funclocal('abc', 469183) from dual;
    select funclocal('@st3', 469183) from dual
    ERROR at line 1:
    ORA-00904: "ARTNO": invalid identifier
    ORA-06512: at "funclocal", line 11
    Please guide me.
    Regards
    Saeed

    EXECUTE IMMEDIATE query_strAs Andreas states: Why are you using dynamic sql?
    From what I see all you need is sth like
    create or replace function funclocal (locc varchar2, artnoo number)
       return number
    is
    begin
       return func1 (locc, artnoo);
    end funclocal ;
    /even the whole concept of a »local« function seems suspicious. Why do you need that one?

  • Urgent: No data while calling remote function in custom widget.

    Hi,
    I created a function module with transaction se37 and in its attributes checked the 'Remote Enabled' radiobutton.
    Now in my widget I called this remote function in my RFC view.
    The data is not displayed in the widget and in debug mode error is displayed :
    "Type error: data.root has no properties (RFCRequest .js: Line 102 )"
    what is the reason for the error ?
    or am I going wrong with remote function module call.
    regards,
    Omkar H. Nakhate

    Hi,
    Thanks for the information provided.
    We are using Eclipse plug in to create the widget
    After  Debug yahoo widget,
    This is my Konfabulator log.
    Welcome to Yahoo! Widgets 4.5.1 (build 10A39) on 04/03/08 17:01:44.531
    Type '/help' for help.
    Loaded Widget 'rfc_call' from C:\Documents and Settings\Administrator\Desktop\new Data\rfc_call\Main.kon
    04/03/08 17:01:44.875: rfc_call version is 1
    Main.kon (Included file 'js/utils/PlatformUtil.js')
    Main.kon (Included file 'js/utils/DomUtil.js')
    Main.kon (Included file 'js/utils/CommonUtil.js')
    Main.kon (Included file 'js/utils/Common.js')
    Main.kon (Included file 'js/utils/Timer.js')
    Main.kon (Included file 'js/utils/DataLoader.js')
    Main.kon (Included file 'js/utils/RFCRequest.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/Skin.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinCell.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinConfiguration.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinCustomDraw.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinImage.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinInput.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinList.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinElementStyle.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinEvents.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinComponent.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinText.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinLabel.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinViewDefinition.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinViewDraw.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/XmlUtil.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/ConfigurationReader.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/SkinUtil.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/ResourcesReader.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/ResourceBundle.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/Components.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/ComponentEvents.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/ComponentProperties.js')
    js/utils/PlatformUtil.js (Included file 'js/skinlib/WidgetUtil.js')
    Main.kon (Included file 'js/skinlib/SkinLib_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/c.About/js/c.About.js')
    js/utils/PlatformUtil.js (Included file 'components/c.About/js/c.About_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/c.Feedback.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/Animation.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/c.FeedbackController.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Feedback/js/c.Feedback_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Footer/js/Footer.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Footer/js/c.Footer_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Header/js/Header.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Header/js/c.Header_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/Task.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/TaskSet.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/JavaChecker.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/FoundationChecker.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/tasks/WidgetDeployer.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/TaskViewer.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/StartupServices.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/ActivityLogger.js')
    js/utils/PlatformUtil.js (Included file 'components/c.StartupManager/js/c.StartupManager_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Table/js/Table.js')
    js/utils/PlatformUtil.js (Included file 'components/c.Table/js/c.Table_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/c.TellToFriend/js/c.TellToFriend.js')
    js/utils/PlatformUtil.js (Included file 'components/c.TellToFriend/js/c.TellToFriend_Include.js')
    js/utils/PlatformUtil.js (Included file 'components/Main/js/controller/Controller.js')
    js/utils/PlatformUtil.js (Included file 'components/Main/js/view/View.js')
    js/utils/PlatformUtil.js (Included file 'components/Main/js/model/Model.js')
    js/utils/PlatformUtil.js (Included file 'components/Main/js/Main_Include.js')
    Main.kon (Included file 'components/Main/js/Main.js')
    04/03/08 17:01:45.859: Starting deployment
    04/03/08 17:01:45.859: Deployment Finished
    17:1:46! [Components.create] cAbout : c.About
    17:1:46! [Components.create] cFeedback : c.Feedback
    17:1:46! [Components.create] cFeedbackHeader : c.Header
    17:1:46! [Components.create] cFeedbackFooter : c.Footer
    17:1:46! [Components.create] referenced1 : c.Table
    17:1:46! [Components.create] cMainHeader : c.Header
    17:1:46! [Components.create] cMainFooter : c.Footer
    17:1:46! [utils.DataLoader]> open( POST http://127.0.0.1:7531/SapMiddleTier/RESTJSON/ewcs/service/rfct?serviceProvider=&httpMethodOverride=POST true );
    17:1:46! [utils.DataLoader]> headerName: Content-Type ; headerSource: text/xml
    17:1:46! [utils.DataLoader]> data: <root><RfcRequest name='ZTABLE'><![CDATA[ <T_ROM></T_ROM> ]]></RfcRequest></root>
    17:1:52! [utils.DataLoader]> (http://127.0.0.1:7531/SapMiddleTier/RESTJSON/ewcs/service/rfct?serviceProvider=) request returned
    TypeError: data.root has no properties (RFCRequest.js: Line 102)

  • Webdynpro/abap portal unable to call Remote functions?? HELP

    <b>Scenario:</b>
    webdynpro/abap system A talks to system B.
    webdynpro Abap has a call as
    call function 'BAPI_FLIGHT_GETLIST'
        destination 'RFCB'....
    At "A"
    created  SSL  Server for https, created certificate request and imported it from SAPtest ticket.
    imported certificates for the SSL from "mySAP" and "Server CA" downloaded from sap site
    enabled the ACLs for the above 2 certificates on client '000"
    The browser's http proxy tool shows that after login to system A with Http, further requests go through RFC destination to system B, called RFCB.
    RFCB config to systemB as a specific user, everything is fine.
    However, if RFCB is set to 'current user', it does not work.
    So, SSO ticket is not used to login to system B, I guess.
    How to set up the RFCB.  If I change to 'trusted system', I get RFC authentication error.  The sdn shows to setup S_RFC auth object into user profice with PFCG.
    Can you help?
    Thanks.

    Hi ,
    I have used RFC's couple of time in WebDynpro ABAP .As I am doing WD Application for SRM where I require to fetch data from other R/3 servers .
    Now do you want something like this . You will pass some parameters to RFC and based on that will updates data in that Remote R/3 and Also send results that you want show over WebDynpro Application .
    Please see thread below .See that help you or not.
    Re: RFC call Dumps with ***Ilegal reference***
    Cheers
    Parry

  • Call remote function on a satellite system using RFC target sys option

    Hi all,
    I am on the Java stack and I would like to call the ABAP stack of a statellite system. I can create a JCo connection on this system directly but for security reason I am not allowed to do that. I would like to call this system through the ABAP stack of my machine (I am in dual stack environment).
    - How can I use RFC target sys (available in SE37 for Remote-Enabled functions) with my JCo connection?
    - Or, is there a generic function which can call all other functions on a remote system (still using RFC target sys)?
    Many thanks,
    Stephan

    Siddhesh - thank you for the link; the blogs by Thomas are required reading as far as I am concerned.
    Hi Raja;
    <i> do you mean another ABAP system (was6.40)?
    and from here using another FM you call the 4.6c
    system RFC ?</i>
    Yes, that is what we are doing.  We are calling a web service from an Intranet form to the 6.40 system that, in turn will call the 4.6C system and pass the data back to the Intranet form (through 6.40)
    <i> may be you could pass the RFC destination as import
    parameter to the 6.40 RFC and use the same will the
    call to 4.6C RFC from the 6.40 RFC</i>
    That would work, but it would be more beneficial to just use the function module on the 6.40 system as a proxy to the function on 4.6c and not have to enter code in it each time. 
    I had thought of writing just one function module in the 6.40 system that could dynamically call any different function module in 4.6c (based on the input parameters), but since were are trying to accomplish SOA, we need visiblity to each web service (ergo function module).
    If it's not possible, that is OK I am just hoping someone had found a way to pull this off.
    Thanks!
    John

  • Call Remote Function Module with SAEURI  dataelement as Export parameter

    Hi Experts, Am creating a program in a Gateway system, where i need to call a FM from HR system.
    My Code is like this,
    Data: lname(20) type c,
             lv_url type SEAURI.
    Call 'Z_EMP_GET' Destination 'HR_DEST'
    Exporting
    Pernr = '12345678'
    Importing
    lname = lv_lname
    Url = lv_url.
    At HR Destination system, I have a FM 'Z_EMP_GET ' with signature as
    Importing : Pernr Type NUMC
    Exporting : lname Type Char20
                     Url Type SAEURI(Char 4096).
    When i debugged it, I see the Remote FM is getting Perner value and returning only lname, but URL paramter is empty.
    I believe i have problem in receiving Long Text (URL - Char 4096).
    How can i handle this and let me know if need to specify String length parameter for RFC call somewhere.
    Also let me know if need more details
    Thanks in advance.
    Thanks in advance.

    Hi naveenraj,
    I don't know which type of URL you want in output but you can check  entries in table HTTPURLLOC and or if you want URL of employee photo then you have to use this FM HRWPC_RFC_EP_READ_PHOTO_URI.
    Regards,
    Shahezad

  • How to create RFC function module and how to call this function module

    Hi,
    i want to know step for creating RFC function module and then How to  use this function module from some other sap system.
    Thnaks,
    jigar

    Jigar,
    To implement a remote function module in ABAP, perform the following steps:
    Register the module as remotely callable in the RFC server system.
    In the function module Administration screen (transaction code SE37), set the field Can be called via REMOTE CALL. Registering a module as remote causes an RFC stub to be generated for it.
    Write the code for the function module.
    Create the destinations.....................
    Displaying, Maintaining and Testing Destinations
    To display, create or modify destinations, choose Tools ® Administration ® Administration ® Network ® RFC destinations or enter transaction code SM59.
    Remote Destinations are stored in table RFCDES. The RFCDES table describes logical destinations for remote function calls.
    It is not possible to maintain the RFCDES table directly.
    You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® AcceleratedSAP ® Customizing ® Execute Project ® SAP Reference IMG.
    In the Implementation Guide, expand the following hierarchy structure:
    Basis
    Application Link Enabling (ALE)
    Sending and Receiving Systems
    Systems in Network
    Define Target Systems for RFC Calls
    Displaying Destinations
    The initial screen for this transaction displays a tree:
    Different connection types (i.e. partner systems or programs) are possible. For further information, see Types of Destinations.
    To display all information for a given destination, double-click it, or place the cursor on it and press F2 .
    To search for a destination, press the Find button and specify your selection. You get a list of all entries matching your selection. Place the cursor on the one you want, and press F2 or simply double-click the destination. All information for the given entry appears.
    Creating Destinations
    On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
    All available connection types are explained in Types of Destinations.
    To create a new RFC destination, press the Create button. A new screen is displayed with empty fields for you to fill in.
    If you want to create a new destination
    As you create a remote destination, you can specify a particular application server or a group of servers for a balanced distribution of system load.
    For details of the destination parameters, see Entering Destination Parameters.
    Changing Existing Destinations
    On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
    You can display all information for a given destination by double-clicking it or pressing F2 on it.
    To change an existing destination, double-click it, or place the cursor on it and press the Change button.
    For details of the destination parameters, see Entering Destination Parameters.
    Testing Destinations
    To test a destination, choose the appropriate function from the Test menu.
    Connection (also available via the Test connection pushbutton)
    Authorization (checks logon data)
    Local network (provides a list of application servers)
    You can use the CALL FUNCTION statement to call remote functions, just as you would call local function modules. However, you must include an additional DESTINATION clause to define where the function should run:
    CALL FUNCTION RemoteFunction
    DESTINATION Dest
    EXPORTING
    f1 =...
    f2 =...
    IMPORTING
    f3 =...
    TABLES
    t1 =...
    EXCEPTIONS......
    The field Dest can be either a literal or a variable: its value is a logical destination (for example, "hw1071_53") known to the local SAP System. Logical destinations are defined in the RFCDES table (or the TRFCD table in R/2 Systems) via transaction sm59 or the following menu path: Tools ® Administration, Administration ® Network ® RFC destinations. You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® Customizing ® Enterprise IMG. In the Implementation Guide, you can then choose Cross-application components ® ALE ® Communication ® Define RFC destination.
    The remote function call concept, for example, allows you to access a function module in an R/2 System from an ABAP program in an R/3 System. If you want to read a customer record from your R/2 System’s database, create a remotely callable function module in the R/2 environment which retrieves customer records. Call this function from your R/3 System using a remote function call and listing the destination for the target R/2 System:
    Pls. reward if useful

  • Calling a function module from APO Macro

    Hi,
    Can I call a function module from a macro directly without going through the user exit? If so, how should I pass the parameters to the function module? I don't have to get the results back to macro.
    Regards

    Hi Asokan - you can call a function module directly from a macro providing it is designed to be called from a macro. For example if you are in the Macrobuilder and use the menu path Edit -> Edit User Function then you will get a list of existing function modules that you can call directly by inserting a Operator/function into your macro. If you want to call a function module not listed in the User Function drop down list then you will either need the user exit or create a custom function module as a wrapper and register the wrapper function module in the Edit User Function menu path. Calling a function module will always return a value - but you can choose to ignore that value depending on how you build your macro.
    Regards
    Andy

  • Remote Logon: logon screen appears?!

    Hello,
    From System A I call a remote function module in system B. I always get a logon screen when calling the remote function module in system B.
    From System A I call the function module for many systems besides system B in a loop. So if there could appear a logon screen (calling the remote function tool in the system) I would skip it and go to the next system.
    I need something like... "If a logon screen appears during remote logon -> Skip calling that function module in that system."
    Does anybody know how to solve it?
    thx,
    holger

    You mean the function module.
    sorry but i use 4.6C. RFC_LOGIN ist not remote enabled!!!
    I can not use it!
    What I mean is. The remote function module is on System B, C, D, E, F,...
    I call this function module from system A only!
    If I call the function module in system B, from system A, a logon screen appears.
    I would not like to make any changes in system B,C,D,E,F...concerning SM59...
    What happens, If the logon screen in system B appears. Could I catch that message in my report in system A (calling the remote function module in system B)?
    So if i execute the report, I need to know whether a logon screen appears...my report has to.
    If the logon screen appears, I would skip calling the function module in that system...same for system C,D,E,F,....
    thanks a lot,
    holger
    Message was edited by: Holger Schmidt

  • Automatic remote login at remote function call

    Hello,
    we have three systems, development, testing and productiv. I want to do a remote function call on the repective other system. But I always get a login window where you have to insert your password for that system. Is there a possibility to do this automatically? Thanks.
    Cheers, Lars.

    or else in SM59 double click on your destination server and in logon/security tab and give ur username and password and try

  • How to debug a remote function module in calling system? Help!

    Hi Experts,
       I have a ABAP report (in System A) from where I am calling a remote function module which exists in a different system B.
    ABAP Program(System A)<----calls--
    RFC(System B)
    Can I debug the RFC funnction module in system A using ABAP debugger? In other words if i put a breakpoint on the "call function" statement then in debug mode I want to see that the control is going to system B and I should be able to process the FM code line by line. Is this possible?
    Is there any special transaction or settings?
    Is there any alternative?
    Please help
    Thanks
    Gopal

    hello,
    Try this method.
    first check whether RFC connection is working b/w 2 systems.
    if connection is working, then do like this.
    In System B , put endless loop in FM before some main select statement.
    like
    DATA : v_a TYPE c VALUE space
    DO  .
       IF v_a = 'X'.
         EXIT.
       ENDIF.
    ENDDO.
    the above code will be endleep loop.
    In system A, when cursor goes to CALL FUNCTION DESTINATION 'XXXXX'.
    u shud be logged in system B. the moment control comes to system B.goto tcode SM50 . check ur username . choose that particular  checkbox then in menu bar --> program/session --> Program --> Debugging.
    i hope it will help u.
    try & let us know.
    Thanks,
    Manjunath MS

  • RFC remote function module call from XI

    hi
    I am trying to call a remote function module directly from XI which is not a bespoke module.
    And i am getting the following error:
    com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.
    Please help me in this.
    Thanks in advance.

    Hi Naina,
    Normally RFC are synchronous, they do have return parameter as export parameter.
    If return parameter is missing then , you can create Wrapper RFC.
    Wrapper RFC:
    It is nothing but you just  create BAPI in SE37 transaction with Return parameter as export parameter and make it remote enabled by clicking on Radio button.
    Under source code, CALL BAPI which XI has to call.
    Thats it!
    I hope this helps.
    Let me know if any help required.

  • CALL_FUNCTION_REMOTE_ERROR when calling a remote function call through PI

    Hello.  Thanks in advance for your perspective on this.
    We are developing an interface that runs in an R/3 system and is suppossed to perform a lookup in another R/3 system via a PI 7.0 system.
    Here's what we are trying to do, let's call these systems "A", "B", "C" respectively.
    R/3  ->  PI   -> R/3
    The R/3 system (A) executes code, which calls this function module like this:
          CALL FUNCTION 'Z_CHK_MAT' DESTINATION 'XI_RFCADAPTER'
            EXPORTING
              iv_region           = lv_region
              iv_matnr            = ls_matnr-matnr
            IMPORTING
              ev_flg_is_purchased = e_flg_is_purchased.
    This code, is set via the "DESTINATION" parameter to use the RFC destination 'XI_RFCADAPTER'.  This destination, points to the PI (B) system above.
    Anyhow, we're getting a short dump in the R/3 (A) system, which is like this:
    CALL_FUNCTION_REMOTE_ERROR
    "JCO.Server could not find server function 'Z_CHK_MAT'"
    From my analysis, I believe this is because the remote function module Z_CHK_MAT does not exist, in the PI (B) system.
    Our developer, believes this should just "pass through" the PI (B) system, and call the function module in the R/3 (C) system.
    Any insight on this?  In this scenario, does this Function Module need to exist in the PI abap side?  Can you give perspective / guidance on this?
    Thanks a lot
    Steve

    No need to exist in PI ABAP side.
    Just make sure that:
    1. as Michal said, you import it in Integration Repository (and use it in your configurations);
    2. the RFC Destination type that points to XI is of type T, not 3;
    3. both the RFC Destination & the Sender RFC Adapter (and only them) are using the same Program Id.
    Regards,
    Henrique.

Maybe you are looking for

  • Facebook app is no longer working on my BB curve 8520!HELP please??

    Hey there I have had my BB 8520 for quite some time now & never had any problem having access to my Facebook app , it was slow with notifications etc etc but never did it not allow me to use the app!! So I woke up one morning and opened my facebook a

  • What is the best way to manipulate text?

    What is the best way to manipulate text in Photoshop?  Let's say I need to edit an "A" and I want to stretch out the bottom corners of the letter, while not moving the upper portion (wide bottom, skiny top)... what is the best way to do this?  I know

  • Can i transfer music from ipod back to pc after hard drive scrubbed?

    i have a lot of music loaded. but our hard drive was scrubbed and the library from which this music came was erased. i re-installed itunes, and at first looked for a way to transfer the music from the ipod back onto the computer. couldn't figure that

  • JButton to simulate table column header

    is there a property on the JButton that will make it behave the same way as a table column header ? Someone showed me a property window of a swing app and they wanted to know how it was done. i suggested to juse use soem buttons, but when i looked cl

  • Back-up via another access point

    Hi I was wondering if it is possible to use another access point to back up from, rather than connecting directly to the time capsule, we have 3 access point routers in our house (all connected to 1 network), to provide adequate signal. So can the ba