What is RFC to XI scenario

Hi Forum,
What is a RFC-->XI scenario
When do we configure Sender RFC channel,
Does it mean calling a RFC enabled Function Module in XI from a R/3,
Does it mean executing a Function Module in a R/3 and sending the output to XI,
how do i go about writing a ABAP code for such a situation (pls provide a sample code)
How do i make a message interface in XI for the RFC message coming from the R/3 to my XI
What is the purpose of doing such kind of scenarios
pls help
Edited by: sudeep dhar on May 7, 2008 8:58 AM
Edited by: sudeep dhar on May 7, 2008 8:59 AM

Hi Sudeep
What is a RFC-->XI scenario
>> It means passing data fior RFC call to XI and XI inturn will pass the data to some other application system.
When do we configure Sender RFC channel
>> We need this when your RFC call is on sender application system and the processing is done on receiver applciation system.
Does it mean calling a RFC enabled Function Module in XI from a R/3,
>> NOP, it doesn't mean calling a function module in XI as XI is just a integration broker it wont process any data.The call is intend for other receiver systems passed via XI.
Does it mean executing a Function Module in a R/3 and sending the output to XI,
>> NOP, it is not passing output to XI.
how do i go about writing a ABAP code for such a situation (pls provide a sample code)
>>Sample code will contain call to the sender message interface in the configured scenario.
How do i make a message interface in XI for the RFC message coming from the R/3 to my XI
>> Import the RFC from the sender system to XI and then you can use that message interface in your scenario creation.
What is the purpose of doing such kind of scenarios
>> This is used when you intend to place a RFC call from a sender system to receiver system, so the processing of the RFC is done on the receiver system.
The main points to be considered while RFC to XI scenario is
1) The RFC destination is TCP and the program name mentioned in the desnation should be registered in though sender communication channel. The program name mentioned in the RFC desnation and sender commnucation channel should be same.
Thanks
Mitesh

Similar Messages

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • RFC-XI-JDBC Scenario: Help with RFC code

    HI,
    I am doing RFC-XI-JDBC Scenario, where I have to poll the contents of my Ztable in SAP to Oracle.
    The appraoach i am using here is :
    1. Created a FM with import parameters as the fields of my Ztable and without any  export parameter or source code.
    2. Created a report to call that FM in background. The code of my report is as follows :
    ************************REPORT***********************************************************
    Data:       it_zrfc_read_table type table of zrfc_read_table,
                wa_zrfc_read_table like line of it_zrfc_read_table.
    PARAMETERS: tab_name like DD02L-TABNAME.
    Data:       l_tabname type DD02L-TABNAME.
    At selection-screen.
    select single tabname from DD02L into l_tabname  where tabname = tab_name.
    if sy-subrc <> 0.
      message 'incorrect table name' type 'E'.
    endif.
    start-of-selection.
    select * from (tab_name) into corresponding fields of table it_zrfc_read_table.
    loop at it_zrfc_read_table into wa_zrfc_read_table.
    CALL FUNCTION 'ZRFC_READ_TABLE2XI'
    IN BACKGROUND TASK DESTINATION 'ORACLEGIS_RFC_SENDER'
      EXPORTING
        valve_id       = wa_zrfc_read_table-valve_id
        equnr          = wa_zrfc_read_table-equnr
        ernam          = wa_zrfc_read_table-ernam
        invnr          = wa_zrfc_read_table-invnr
        groes          = wa_zrfc_read_table-groes
        elief          = wa_zrfc_read_table-elief
        gwlen          = wa_zrfc_read_table-gwlen
        gwldt          = wa_zrfc_read_table-gwldt
        serge          = wa_zrfc_read_table-serge
        typbz          = wa_zrfc_read_table-typbz.
        endloop.
        commit work.
    NOw my problem is that although I am able to send a table with a single record, but when my records > 1, it is not able to poll.
    Please guide me what can be altered in the code or any other suggestion.
    Thanks,
    Puneet

    Hi,
    Instead of calling RFC many times I would:
    1) create RFM with only one import parameter
    TYPE your_table type
    2) call only once RFM in the report:
      CALL FUNCTION 'ZRFCNAME'
        IN BACKGROUND TASK
        DESTINATION 'RFCDEST'
        EXPORTING
          pt_table = i_table.
      COMMIT WORK AND WAIT.
    This will also improve the performance.
    Regards,
    Jakub

  • RFC  to SOAP Scenario -- Delivery Exception

    Hi All,
    I am working on RFC to SOAP scenario.
    On executing a program in the SAP system, the system is throwing a dump stating                                                   "com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML".
    I feel that the error is because of the response not being sent back by the webservice. On executing the webservice independently, it is working fine i.e. sending back the response.
    Can anyone suggest the possible reasons for this error and what needs to be done to rectify this?
    Thanks,
    Ravi Kiran

    the return from the Web service must have been an HTML(may be an error page or something)...What kind of authorization does this WS look for ?
    Pls check these threads...
    SOAP Receiver Adapter Proxy Settings
    Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML

  • ERROR During call of SOAP with a SOAP- RFC- SOAP Synchronous scenario

    Hello Experts,
    I've recently created a SOAP->RFC->SOAP synchronous scenario but every time I'm invoking the SOAP via XMLSpy then i will hang and send a timeout error. Also a log in XI was generated as shown below.
    I hope you could help me on this one.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          28.09.2010 09:31:23
    Short text
         SQL error in the database when accessing a table.
    What happened?
         The database system detected a deadlock and avoided it by rolling back
         your transaction.
    What can you do?
         If possible (and necessary), repeat the last database transaction in the
          hope that locking the object will not result in another deadlock.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "DELETE_LUW_PACKET" "(FORM)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         The database system recognized that your last operation on the database
         would have led to a deadlock.
         Therefore, your transaction was rolled back
         to avoid this.
         ORACLE always terminates any transaction that would result in deadlock.
         The other transactions involved in this potential deadlock
         are not affected by the termination.
    Regards,
    Alfred

    Normally such an error comes when the DB of SAP PI is full.
    Contact your BASIS or ADMIN team and ask them to free the DB space.
    Regards,
    Abhishek.

  • Program id in RFC to webservice scenario

    HI
    I am trying to build a RFC to WS scenario. when we create the RFC destination in R/3 side we need to enter the program ID. How do i know what is the program id i need to enter??
    thanks
    murhty
    Edited by: sudhakar murthy on Aug 20, 2008 7:46 AM

    Hi Sudhakar,
    You can use any alpha-numeric string for the Program ID. Just keep in mind d program ID is a register Program ID that shud be registered on ur R/3 and Xi.
    Now to register the Program ID on R/3 and XI automatically you have to enter the same Program ID in ur RFC destination and ur RFC adapter in Integration Directory.
    Note: You can use even ur name as a program ID but that shud not be used in any other TCP/IP type RFC destination i.e dat shud be unique in ur R?3. Now use the same Program ID(Case sensitive) in ur RFC adapter.
    While testing the RFC destination if the test fails just check whether you have started your RFC sender communication channel or not?
    Hope this will help u
    Regards,
    Rookie.

  • Issue in RFC to File Scenario

    Hi All,
    I am working on SAP PI 7.31 dual stack. I have configured a simple RFC to File scenario with aysnchronous interface. I am using classic configuration.
    In Sender RFC channel monitoring I am getting the below exception and the file is not created.
    "Error in processing caused by : com.sap.aii.af.lib.mp.module.ModuleException : call to messaging system failed: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message xxxxxxxxxxx(OUTBOUND) expired".
    Please suggest me what could be the issue.
    Thanks,
    Madhurima

    Hi Madhu
    As the log says the function module is try to execute synchronously.
    But as per your requirement it should be asynchronous. Please remove all the  export parameters from the function module.
    Then re-import the function module in PI and adjust mapping and operation mapping.
    Stop and start the RFC sender adapter so that it will get the new metadata of the function module.
    The function module should have only import parameters so that it will act like a asynchronous interface.

  • RFC-to-SOAP-Scenario: XIServer:NO_MAPPINGPROGRAM_FOUND

    Hey guys,
    We've implemented in SAP PI 7.11 a RFC-to-SOAP-Scenario. The whole scenario is sync. WSDL and RFC are imported objects.
    Now we're going on to test in backend and call the related remote function module via se37.
    The error message is (from xsmb_moni)::
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Mapping program is not available in runtime cache: Object ID A2DC458230C93030AE8B43396EEC43DB Software Component 83222F30FC9011DF8643DD3AC3E93CB3</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    What we've already done:
    -> Cache refresh
    -> server restart
    -> soap fault mapping
    -> dummy changes
    -> mapping is available in sxi_cache
    -> function module is not dumping in backend
    Any ideas how we can go futher with this?
    Thank you very much and greetings,
    Stefan

    FYI...
    Apparently, this error message can sometimes be misleading.
    I found in another thread that this message came after a short dump in the ABAP function. After viewing ST22 in our backend system I noticed short dumps corresponding to the times when I make the SOAP call.
    [NO_MAPPINGPROGRAM_FOUND SOAP RFC Adapter]
    We can call SE37 with the same parameters and there is no ABAP error. So the search for root cause continues, but maybe this info will help someone.
    -Aaron

  • ** RFC to JDBC scenario - SYSTEM_FAILURE exception comes - urgent help

    Hi Friends,
    I have completed RFC to JDBC scenario. When execute RFC in the system, it throws an exception SYSTEM_FAILURE. What could be the problem ..?  The message is not entered into SXMB_MONI. In the backend system itself, it throws error.
    Kindly reply, friends.
    Kind Regards,
    Jeg P.

    Hi Jeg,
    Check out if u get any info/help in the thread below .. Henrique Pinto's reply and others to this thread.
    How to make Real Time connectivity between R3(RFC) Sender and XI
    File Adapter: SYSTEM_FAILURE_INTERNAL
    More details regarding this exception:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/0425e0488911d189490000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a2/a002416225f023e10000000a155106/frameset.htm
    kanan

  • RFC to HTTP Scenario, Dynamic URL .... Limitation with 200 Character...

    Hi Experts,
    I am doing an RFC to HTTP Scenario. In which the Target URL is Dynamic and i am passing some values from the input payload.
    The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
    How to solve this ...Any way to achive this...
    Regards,
    Jude

    Hello,
    The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
    You can check Michal's reply in this thread, http://forums.sdn.sap.com/thread.jspa?messageID=7767169#7767169. There is no official statement from SAP that they will change it.
    What you can do is to use a third-party tool to shorten the URL e.g bit.ly I am unsure though of licensing reasons. Or an alternative is to place the parameters in the HTTP Body, in that way, you can place as much parameters as you like.
    Hope this helps,
    Mark

  • Problem Executing RFC to File Scenario

    Hi,
    I am currently working on RFC to File Scenario which is Asynchronous in Nature i.e. The RFC will send some data to XI and then it'll be dumped in an XML File on the shared drive.
    Following are the steps which were performed by me :
    1. i created an RFC Destination in R/3 using SM59 and entered the Required values as mentioned in the blog
    The specified item was not found.
    2. Then i entered the same values in the communication channel of the sender RFC adapter.
    I tested it from R/3 and the connection was successful.
    3. i created an RFC in SE37 in the R/3 and just added an existing table under the "tables" tab. No further code was written in it. I saved it and activated it.
    4. All the IR and ID objects were made and activated and then the scenario was run by sending a single data row by pressing F8. The RFC showed a message of "System Failure" and while looking into the XI Server (SXMB_MONI) the message gave absurd values with a error symbol(it a Red Light symbol and there was no Red Flag).
    Initially, the XML file was getting posted in the shared drive but after further execution it stopped.
    I am unable to figure out the problem. Kindly let me know where i am going wrong and what needs to be done to correct it ?

    Hi,
    For Sending RFC asynchronously check for these points:
    For RFC creation and importing please follow this discussion. Very useful:
    Re: RFC to FILE
    Specially reply by Udo Martens.
    Also for sender RFC, check two things.
    1) First step is Register your ProgramId using activiating the communication channel(XI). You should be able to see it in smgw(R/3)
    smgw->Goto->Looged on Clients(Check it here)
    2) Then use this registered programid in your RFC Destination,in R/3 (it is Case-Sensitive).
    These are just common errors i have encountered sometimes.

  • RFC - XI - WEBSERVICES scenario - Where to create RFC Destination

    Hi  Experts
    For my RFC - XI - WEBSERVICES scenario, I have to create one TCP/IP RFC destination on R/3 system with the following details
    RFC Destination Name    : XXXX
    Connection Type            : T (TCP/IP)
    Activation Type              : u201CRegistered Server Programu201D
    Program ID                      : YYYY
    Gateway Host                : R/3 Details ..??
    Gateway Service           : R/3 Details ..??
    My Function Module (Remote-Enabled) - u201CZZZZu201D is defined in R/3 System.
    This Function Module should be communicated with the target system i.e. NW XI system 
    As per the Note from SAP Help: To be able to communicate using RFC, you need to define the target systems as RFC destinations in the sending system(R/3)
    Target system u2013 XI Server
    Sending system u2013 R/3 System
    Are my details provided are good enough as per my explanation? Please guide me in this regard.
    QUESTION : Where exactly do I need to create the RFC Destination(SM59)? on R/3 side or on XI side?

    Refer the following link-
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID1636235450DB01012070359836134304End?blog=/pub/wlg/1438
    what are the inputs should be given to Gateway Host and Gateway Service while creating RFC Destination??
    Open transaction SMGW on the R/3 system and choose
    Goto -> Parameters -> Display. Beneath Attributes there will be the
    entries 'gateway hostname' and 'gateway service'.#

  • How to monitor RFC to JDBC scenario?

    How to monitor RFC to JDBC scenario
    Hello,
    I have update_insert scenario from RFC to Oracle database.
    In TOC SXMB_MONI I have black and white flag.
    In RWB I found for this scenario only successful status.
    But in the database I found only 2 records from the 15 that I sent.
    How can I monitor this problem?
    What are the steps to investigate this situation?
    Have a way to see the exact statement that I sent to the database?
    Regards
    Elad

    Hi Elad,
    If nothing can be seen in the Adapter monitor...go to the Database.
    Oracle has various developer\system tools that can allow you to get information.
    For example Oracle has the TOAD tool which allows you to get the SQL trace of the treatment the XI actually send.
    see if the SQL interpreted by the JDBC adapter was really what you meant.
    Good luck.
    Nimrod.G

  • Reg RFC to JDBC scenario

    Hi Techies,
    This is inregard of RFC to JDBC Scenario.
    Iam having an old RFC to JDBC scenarion which is working fine.
    I want to call other BAPI programme using the same RFC connection.
    I have changed  BAPI and ABAP Programmes.
    But Still in my integration builder, Still the RFC is calling the old stucture.
    How flush the buffer and call the new structure using the same RFC.
    Regards,
    Kiran

    But Still in my integration builder, Still the RFC is calling the old stucture.
    what about the RFC structure that is imported in IR/ ESR....was it re-imported?

  • NO DATAS IN OUTPUT FILE FOR RFC TO FILE SCENARIO

    In RFC to File scenario, I am executing the ABAP program in ECC and generates a empty file in PI server.
    I am getting the error message in SM58 of ECC:
    u2018Bean Z_HR_OUTBOUND_DATA2 not found on host SDNPI1,u2019
    'call FM Z_HR_OUTBOUND_DATA2 to ProgId ECCTOPI_OUTBOUND on host SDNPI1 wit'
    RFc Source code:
    FUNCTION Z_HR_OUTBOUND_DATA2.
    ""Local Interface:
    *"  EXPORTING
    *"     VALUE(FILENAME) TYPE  BBP_ACC_DESCRIPTION-ACC_OBJ_NAME
    *"     VALUE(RETURN) LIKE  BAPIRETURN STRUCTURE  BAPIRETURN
    *"  TABLES
    *"      ITAB10 STRUCTURE  YSTRING1 OPTIONAL
    *"      P_STATUS STRUCTURE  ZHRT0031 OPTIONAL
      DATA : wa_status TYPE zhrt0031,
             wa_itab10 LIKE ITAB10.
    break-point.
      LOOP AT p_status INTO wa_status.
        CONCATENATE wa_status-pernr
                    wa_status-ename
                    wa_status-orgeh
                    wa_status-plans
                    wa_status-persg
                    wa_status-rank
                    wa_status-***
                    wa_status-icnum
                    wa_status-usrid
                    wa_status-dept
                    INTO wa_itab10-str1.
        APPEND wa_itab10 TO itab10.
      ENDLOOP.
    wa_itab10-str1 = 'test'.
    append wa_itab10 to itab10.
    append wa_itab10 to itab10.
        CONCATENATE sy-datum
                    'PYO_EMPDAT.TXT'
                      INTO
                      filename.
    ENDFUNCTION.
    And in the ABAP program the RFC is called like:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    in background task destination 'ECCTOPI'
    EXPORTING
      INTERFACE       =
    IMPORTING
       FILENAME        = filename
       return = return
    TABLES
       ITAB10          = itab10
       P_STATUS        = p_status
    When i am testing the standard program STFC_CONNECTION in ECC with the same RFc destination it works fine and creates a o/p file with the datas in it, but if i m executing the other function module it doesnt contain any data it.
    What could be the error? and how to resolve the errors that i am getting in SM58?
    Thanks

    Bean Z_HR_OUTBOUND_DATA2_1 not found on host SDNP1, ProgId =ECCTOPI_OUTB
    Change the case of your Program ID to lower ecctopi similar was the issue in this thread:
    Bean ZFM_MODULE_OUT not found on host <XI_HOST>
    And may be for the same reason even Michal used lower case program ID in his blog.
    Regards,
    Abhishek.

Maybe you are looking for

  • To send an email from outlook to SAP user in SAP

    Hi, Is it possible to send an email from outlook to SAP user in SAP? Regards, Mizan

  • Illustrator cs6/ Indesign CS6/ Photoshop cs6 updates install failed

    I used Application Manager Enterprise 3.1 to created one  Adobe CS6 package. and the check for update has been disabled. the created cs6 package was installed in computer. Recently I got newer version updats of Ilustrator 16.0.3, Indesign 8.0.2, Phot

  • USB Audio Out?

    I'm shooting a music video and would like to use my Macbook Pro as the music source. The location we're shooting at can take a USB audio in to their board. Is there a way I can do this?

  • Help! System keeps freezing

    I have recently bought the new imac 21.5" running Snow Le opard(last month infact) and transferred my data from my previous imac running Snow Leopard using set-up assistant. After a couple of weeks my system froze and the only way to get out was to p

  • Oracle 9i iDS (9.0.2.0.1) Core / Non-Core Patches

    Hello, I realise that there are at least 3 patches available out there for Oralce 9i iDS (9.0.2.0.1) running on Windows XP Pro. I am working with WebForms/WebReports migration project from 6i to 9i and running into all sort of errors. I get the feeli