Table Required to define RFC destinations

Hi,
I am working on SAP PI/XI. I had created an Custom Function Module (RFC Wrapper) in XI or PI which calls Bapi's in SAP R/3.
So we specify the RFC Destinations in the code to call the Bapis. But these RFC destination Values changes for DEV, QA and PRD systems. when we transport these we need to change as per the Enviromment.
For that I want to define a Table to maintain the RFC destinations.How do I proceed. what should be the table structure ?
Kindly provide your valueable Inputs
Thanks &Regards,
Varun

I have defined the code as below, table is not required
if sy-sysid = 'XXX' .
sender = 'XXXXXX'.
endif.
if sy-sysid = 'YYY' .
sender = 'YYYYYY'.
endif.
if sy-sysid = 'ZZZ' .
sender = 'ZZZZZ'.
endif.

Similar Messages

  • Why do we need to define RFC destination and user for material replication

    Dear Experts,
    why do we need to define RFC destination and user for material replication? Here we use crm middleware only for material replication. Could you please help me to understand it?
    regards,
    Ranjan

    Hello,
    As far as I know, you can use the same RFC destination already available in ECC to SRM to replicate materials.
    You can refer to note 720819.
    Regards,
    Ricardo

  • Table to maintain RFC destination

    Hi,
      An RFC enable Function Module from R/3 is to be called in CRM system. I dont want to hard the RFC destination for the R/3 whn calling the FM. Is there any other table tht can b used for this?
      Is there any other way to achieve this???
    Regards,
    Sivagami

    Hi Sivagami,
    Check the table RFCDES. This table will store all RFC destinations defined for your system. U can use the transaction SM59 to create the RFC destinations. But most of the developers dont have access to this transaction. So cotact ur basis team to define required RFC destinations.
    Thanks,
    Vinod

  • Custom Table for RFC destinations

    Hi,
    I am working on SAP PI/XI. I had created an Custom Function Module (RFC Wrapper) in XI or PI which calls Bapi's in SAP R/3.
    So we specify the RFC Destinations in the code to call the Bapis. But these RFC destination Values changes for DEV, QA and PRD systems. when we transport, these Values we need to change as per the Enviromment(DEV,QA,PRD).
    I want to Maintain the the RFC destinations Values dynamically.
    For that I want to define a Table to maintain the RFC destinations. There could be "n" of RFC destinations to R/3. I want to differentiate RfC destinations pertained only to my scenario or Interface.
    How do I proceed. what should be the table structure and fields?
    Kindly provide your valueable Inputs
    Thanks &Regards,
    Varun

    Hey
    You should be able to handle this by reading the System Id of the current system
    Just have a If-Else condition in your FM.
    If SY-SYSID ="Dev"
       then call Dev RFC dest
    If SY-SYSID="Qa"
       then call QA RFC dest
    etc etc
    Thanks
    Aamir

  • An RFC destination could not be specified for the logical system

    Hello Experts,
    I am trying post goods receipt in EWM system in a simple inbound delivery process. It is not getting posted back in ECC. I have my RFC connection setup properly(I assume since I was able to transfer inbound delivery to EWM in first place).It seems some setting related to Outbound queue in EWM is missing.Can anyone tell me in detail what settings are required?Is it something to do with WE20 transaction?I am not sure what settings should be done there.The error log is as below-
    An RFC destination could not be specified for the logical system
    SB3CLNT011
    Message No. B1550
    Diagnosis
    An RFC destination should be specified for the logical system SB3CLNT011.
    This could not be done in this case. SB3CLNT011 is not your local logical system
    and this system is not included in the relevant Customizing tables.
    Procedure
    Check:
    RFC
    destination
    Port
    definitions
    oubound partner profile of
    message type SYNCH for this logical system
    Regards,
    Khushboo

    Hi Oritra and Suraj,
    I have checked remote connection in SM59 for both the logical system.It works fine.I understand this is more of a technical issue,but I don't have A local basis team to help me so reaching out to experts here.Can you guide me what technical settings could be checked for EWM-->ECC connection?When I execute BD82 for SB3CLNT011 it shows me green status with message "No messages have been defined for the selection conditions in the model".
    Although when I do this for EWM logical system SB3CLNT012 it shows me this with all green status-
    System SB3CLNT011 as a partner type already exists
    System SB3CLNT012 as a partner type already exists
    Port A000000018 with RFC destination SB3CLNT011 already exists
    Outbound parameters for message type SHP_IBDLV_CHANGE SHP_IBDLV_CHANGE01 already
    Outbound parameters for message type SHP_IBDLV_SAVE_REPLICA SHP_IBDLV_SAVE_REPLI
    Outbound parameters for message type SYNCH SYNCHRON already exist
    Am I missing something in WE20?
    Regards,
    Khushboo

  • RFC destination error in posting 3rd party payment in 4.7 FI system

    Hi,
    We are running in to a problem when we are processing a payment via transaction F110S in our R/3 4.7 system for Financials. We are integrating our Financial system with ECC6.0 for HCM. We receive 3rd party invoice from HCM successfully via ALE and post it in 4.7 system. When we try to process payment against this invoice, apparently 4.7 system is trying to communicate with ECC 6.0 system and issuing an error and the payment processing gets cancelled. It generates a clearing document with out a check.
    The error says "An RFC destination could not be specified for the logical system HD1CLNT014
        Message no. B1550
    Diagnosis
        An RFC destination should be specified for the logical system
        HD1CLNT014. This could not be done in this case. HD1CLNT014 is not your
        local logical system and this system is not included in the relevant
        Customizing tables.
    Procedure
        Check:
            -   RFC destination
               -Port definition
             -oubound partner profile of message type SYNCH for this logical system
    We checked our configuration for all Logical system and RFC destination and everything seems fine.
    Any help in this regard is appreciated.
    Thanks
    Kesav

    Hi David,
    Did you check below is set-up correctly.
    - Use transaction SM59 to create an RFC destinations for the remote system.
    - Use transaction BD54 to create the logical system.
    - Use transaction BD97 to link the RFC destination created in SM59 with the logical system created in BD54.
    Also, check entries in TBLSYSDEST is  filled with correct system name HPQCLNT210. Generally this error occurs when system name is incorrect in TBLSYSDEST.
    Thanks,
    Ameet

  • RFC destination definition with non-unicode external program

    Hello All,
    we have one issue with our RFID system connecting to WM system (SWD). 
    For most functions, external RFID server/middleware makes RFC call to SAP system.  Means, from outside system to inside SAP.  This seems to be working fine.
    But in one case, SAP needs to print label to RFID printer.  In this case, SAP is calling external RFID server/middleware using RFC destination.  Means, from inside SAP to outside system.  This is failing.
    We think this has something to do with ECC60 being unicode system, and the RFC destination setup.  We define rfc destination "ZRFID_SSI" in SM59.  We define it same way as in as-is SSI 4.6B production system.  But in SWD ECC60 system, SM59 has more options.  We define as 'non-unicode' because target RFID server/middleware is non-unicode Windows server.  RFC destination is actually working ok.
    To send label to printer, SWD calls function ZFSSIRF202 with remote destination ZRFID_SSI.   Listener on RFID server/middleware will respond to function call.  This also seems to be working.  But then, RFID server/middleware cannot process the data from ZFSSIRF202, log says that data is "0".  (Actually, the first time SWD calls, log says 0 data, the 2nd time there is connection failure, the 3rd time it is 0 data, 4th time connection failure, etc, etc.)
    Compared with production environment, everything is the same, except that SAP is unicode system.  So, our suspicion is, that when ECC60 system sends data, it is encoded somewhat a little different than when SAP 46B system sends data.  I have similar experience with our other interface (XSI), also involving RFC desintion, but XML file exchange.  Here, ECC60 is encoding XML file with UTF-16, but SAP46B was encoding with UTF-8.
    Anyone know how to help ?

    Hi Jeongbae,
    as of NW 7.0 EhP2, it is possible to directly set the code page in SM59.
    In earlier releases, this is not possible.
    In general, SAP systems use the logon language (SY-LANGU)  to determine the code page, if this is available.
    Please check SAP note 788239.
    Please also have a look at SAP note 991572 for possible alternative settings, if SY-LANGU is not available.
    In addition I would recommend to have a look at SAP note 1021459.
    However in order to analyze the problem properly, you need to know the exact short dump text (via rfc trace).
    For XML processing, please read SAP note 1017101. UTF-16 should NOT be used in an XML file !
    Best regards,
    Nils Buerckel
    SAP AG

  • RFC destination of receiver system

    Hi Guys,
    I am trying to do the shell creation from scracth, and now i have found on the RFC destination creation there are three RFC connection which needs to be define. But my question is in this step we dont have any receiver system becasue export files has not been generated yet that will come after this step, so how can i proceed.
    Regards,
    Subhash

    Hello Subhash,
    In the step 'Define RFC Destinations' you create the RFC destinations for the SAP systems that participate in your project (or subproject).
    Yes, you are correct, since the target/receiver system is not yet created, you cannot establish a RFC for the same.
    Please proceed by maintaining the following:
    Server name, System number , Language, Client, Username and Password  for the control and the sender system.
    Best Regards,
    Mridu.

  • SRM-SUS RFC Destinations for matching of user data.

    Hi,
    A customizing question...
    I get SRM and SUS in separated boxes... SRM is with all the SAP landscape (R/3, XI, MDM, etc..) and <b>SUS in the DMZ</b> to allow vendors to reach the web site....
    So, there's an activity to setup the connection to replicate the bidders created in SUS to SRM...
    the IMG activity is: <i>SPRO-> SRM -> SUS -> Technical settings -> Define RFC destinations fot matching of user data.</i>
    There are 4 parameters to input:
    Destination       ->   (SRDCLNT400).
    System name  ->   (SRM)
    FM BPID      ->  <b> (empty)</b>
    Role         ->       (SAP_EC_BBP_BIDDER)
    So, my question is: What's the name of the FM that should input here <i>FM BPID</i>?
    I think that it is a FM in SRM side, but i don't know how to find it, is there any documentation about this RFC?
    All your replies will be appreciated and rewarded if useful...
    Regards,
    Gerardo.

    Nishant,
    BBP_SUS_BUPA_REGID_CHECK is the FM in charge to check out the string generated by the system for a vendor that was invited to register tu SUS via email... so i don't think that it will work..
    Let me redefine my question cuz maybe it is not so clear...
    When you invite a vendor, he will register and will get an administrator user, with which he will create more users (bidders) to review and post quotes.... But, since the bid engine is independent from SUS (at SRM side) the SUS user will need to be replicated at SRM with same user name and password... Then when they go to the BID option in SUS menu a new browser window will prompt for login...
    If you are running SUS in a different box from SRM, there's an IMG activity to setup the RFC name to replicate the user names with bidder role.. This is the step where i'm stuck, cuz in the documentation there isn't any references to this RFC...
    So, if you have something that will help me, please reply, i will reward useful answers...
    Gerardo.

  • RFC Destination Tables

    Hello,
    Which are the table where I can find the RFC Destination with the Logical system names from SRM to R3  and R3 to SRM.

    Hi,
    My requirement is I need to call a function module in SRM from R3.
    Call Function 'ABC' Destination v_dest.
    I need to find out the v_dest from a table in R3 which will give me the destination which is mentained in transaction SM59.
    The RFCDES table has only destinations but I need the identification for SRM system which will bifurcated from other destinations.
    As I get only destination names, I am not able to get the exact Destination which I have to take for SRM.

  • Is RFC destination is required for accessing BAPI from java/VB program.

    I am not able to understant that all BAPI are Remote enabled ,but no where I observed that RFC destination is required.
    Can any body tell me exact flow and things step by step.
    Any example/full source code so that I can call from java program.
    I have tried some java code posted here but not able to understand ..
    please provide me setttings also in SAP and java system

    Hi Nagaraju,
    Thank you very much. your post resolve one of my basic need .really appreciate your post.
    I was not able to execute bapi BAPI_MATERIAL_GETLIST but I executed BAPI_PO_GETDETAIL succesfully.
    Still I have 2 doubt.
    [1]. I called BAPI function module(BAPI_PO_GETDETAIL) from simple java program,But I need to call API method ( GETDETAIL) created for this BAPI not direct BAPI function module.
    [2] this is something apart from original topic.
    I have tested your java code in java as well as similar in ECC 6.0
    But I am not getting any output in JAVA program.
    I am getting output in ECC6.0 only when I will take internal table lt_mara[] with header line.
    if I will take separate workarea output is not coming. I think this is the problem in JAVA also.
    Please see the code and tell me where I am wrong.
    REPORT ZTEST1.
    types: begin of ty_mara .
       include STRUCTURE BAPIMATRAM.
    TYPES: END OF ty_mara.
    types: begin of ty_list .
      include STRUCTURE BAPIMATLST.
    TYPES: END OF ty_list.
    data: lt_mara type STANDARD TABLE OF ty_mara with HEADER LINE.
    data: lt_list type STANDARD TABLE OF ty_list,
          ls_list like LINE OF lt_list.
    START-of-SELECTION.
    lt_mara-SIGN = 'I'.
    lt_mara-option = 'EQ'.
    lt_mara-matnr_low = '000000000000000088'. "'P1001087'.
    lt_mara-matnr_high = ''.
    APPEND lt_mara.
    lt_mara-SIGN = 'I'.
    lt_mara-option = 'EQ'.
    lt_mara-matnr_low = '000000000000000089'. "'P1001087'.
    lt_mara-matnr_high = ''.
    APPEND lt_mara.
    CALL FUNCTION 'BAPI_MATERIAL_GETLIST'
    TABLES
      MATNRSELECTION                     = lt_mara
      MATNRLIST                          = lt_list[]   .
    WRITE / 'output:  '.
    LOOP AT lt_list into ls_list .
      write: ls_list .
    ENDLOOP.
    REPORT ZTEST2.
    types: begin of ty_mara .
       include STRUCTURE BAPIMATRAM.
    TYPES: END OF ty_mara.
    types: begin of ty_list .
      include STRUCTURE BAPIMATLST.
    TYPES: END OF ty_list.
    data: lt_mara type STANDARD TABLE OF ty_mara, ">> Without header line
           ls_mara like line of lt_mara.
    data: lt_list type STANDARD TABLE OF ty_list,
          ls_list like LINE OF lt_list.
    START-of-SELECTION.
    ls_mara-SIGN = 'I'.
    ls_mara-option = 'EQ'.
    ls_mara-matnr_low = '000000000000000088'. "'P1001087'.
    ls_mara-matnr_high = ''.
    APPEND ls_list to lt_mara.
    ls_mara-SIGN = 'I'.
    ls_mara-option = 'EQ'.
    ls_mara-matnr_low = '000000000000000089'. "'P1001087'.
    ls_mara-matnr_high = ''.
    APPEND ls_list to lt_mara.
    CALL FUNCTION 'BAPI_MATERIAL_GETLIST'
    TABLES
      MATNRSELECTION                     = lt_mara
      MATNRLIST                          = lt_list[]          .
    WRITE / 'output:  '.
    LOOP AT lt_list into ls_list .
      write: ls_list .
    ENDLOOP.

  • Table stores RFC destination

    Dear all,
    Do you know the table that stored RFC destination that defined via SM59?
    Please comment.

    HI,
    Check the Table RFCATTRIB and RFCDES
    Cheerz
    Ram

  • RFC Destination Connection Pool requirement

    Hi Experts,
    I have a custom webdynpro java application to display number of work items pertaining to that particular user in a backend.
    There are users who dont use this functionality as well. But the requirement is to place this application in home screen.
    I have used both metadata and modeldata with hard coded user since we did not want error messages to appear for users who do not have backend access.
    Application & Access Details
    Application Location : Home Screen
    Concurrent Users     : 600 concurrent users maximum possible value
    Connection Usage    : Close connection immediately using disconnectIfAlive() method.
    Now I need to configure JCO Pool Size , Max Connections, Wait Time for the RFC destination.
    I have read a lot of post and documents but could not acheive clarity of thought on this.
    Kindly let me know what values I should give in these fields for optimal performance and no connection issue for users.
    Regards,
    Porselvan

    Hi Muthavudaiyan,
    Hope you are doing good.
    Basically from the JCo perspective, there are only 5 parameters that are involved here:
    jco.destination.pool_capacity:
    Maximum number of connections that are held open in the pool for reuse (default: 1)
    jco.destination.peak_limit:
    Maximum number of connections that can be obtained from a pool at peak usage times
    jco.destination.max_get_client_time:
    Maximum time to wait for a free connection if the peak limit is reached before exception is thrown
    jco.destination.expiration_time:
    Timeout period after which pooled idle connections can be closed (default: 600000ms = 10mins)
    jco.destination.expiration_check_period:
    Regular time interval for checking if pooled connections have expired and will be closed
    The values are determined by the application in question. The ideal values have to told to you by the application developer; there are no two ways about this.
    Thank you and have a nice day :).
    Kind Regards,
    Hemanth

  • Defining a port /RFC Destination on XI for IDOC to File scenario

    When defining a port on XI, what is the client number I am supposed to use to receive the IDOC from R3 to XI. I am assuming that I am supposed to use R3 client number to define the port in XI. Is this correct ?
    Please explain this !!!
    Also I am assuming the same procedure to define a RFC destination in XI. I am using the IP address of R3 client to define the RFC destination in XI to point to R3. Is this correct ?

    hi satya
    u may refer to the doc attached for more insight on the ports
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660</a>

  • RFC destination not defined for SAP global trade services

    HI friends,
    I have created a delivery against a sales order. Maintained the storage location and the picking quantity for the item.
    Now trying to post the goods issue but system is giving short dump and error message says:
    "RFC destination is not defined for SAP global trade services"
    We are not using SAP global trade services module and no IDocs are involved in the process.
    Please help
    Thanks in advance
    Veer

    Hi Mohit,
    Thank you for replying.
    It was not an issue with RFC destination but to do with transfer of outbound delivery processes to SAP global trade services.
    As we were not using global trade services, we had to deactivate the transfer of data from SD application to global trade services.
    The settings are under IMG>SD>foreging trade>SAP global trade services-plug-in> control data transfer to SAP global trade services
    Deactivate all the activities.
    Now this issue has been resolved.
    Thank you again for replying.
    Regards
    Veer

Maybe you are looking for

  • HT1770 Time Machine doesn't work anymore after changing a bad hard disk.

    Hello, I have an iMac OS X 10.5.8. One of my external drives failed. I changed the disk, and restored the data successfully with Time Machine. However, when Time machine was doing a back-up, it generated an error message: The copy can't be finished.

  • Airport and Printer Not working: Please Help!

    I'm considering of trowing out my printer or the airport extreme, or my mac pro. The thing is, I don't no which one, So one more try; hope someone can help me! My printer (Epson SP 2400) is working fine via USB directly and from my old G4 (also via A

  • Cannot perform an aggregate function on an expression containing an aggregate or a subquery.

    I am getting "Cannot perform an aggregate function on an expression containing an aggregate or a subquery." error by executing below query, I need to calculate the percentage. Can you please help me on this by modifying the query. select oe2.OrdSourc

  • Mac Mini REALLY won't sleep

    OK, I have an Intel Mac Mini that really, REALLY won't sleep. When I try to sleep it, the heartbeat light on the front pulses, but I don't think the Mini is asleep, in that the external drives don't spin down (or they do spin down and then spin right

  • Nokia Suite

    When I try to update Nokia Suite I get this message "The older version of Nokia connectivity cable driver cannot be removed. Contact your technical support group". I last installed a cable driver about 6 years ago and do not have a disc for it any mo