Regarding  RFC [ URGENT ]

Hello Experts
I am updating a table in SCM server with the data from R/3 tables. I am using RFC with destination.
I created an FM[RFC] in R/3
I created a program in SCM, in that i am calling that RFC.
I created a dummy RFC in SCM with the same paramters.
When i am executing the FM in R/3 i could able to fetch the data as output including some return value.
But when i am executing the program which is calling the RFC i am not getting the data.
But i am able to get the return value in R/3 FM[RFC]*
So i am sure that logical destination name is working
[ call  'FM' destination 'dest name' ].
My problem is i am not getting the data to the SCM server eventhogh i could able to get data in R/3 and I could able to connect to remote server.
*Guys Kindly let me know the solution for this it's a bit urgent
thanks in advance
Pramod

Hi Pramod,
In the RFC function place the code as infinate loop. like
Data : x type c.
do.
if not x is initial.
exit.
endif.
enddo.
when you execute this the process will stop in this loop. Go to SM50 and select the process in debug mode. And in the debug mode you can change the value of x. then you can continue from that step in debug mode and you can trace.
Regards
Ganesh

Similar Messages

  • Regarding RFC Communication from SAP R/3 to SAP J2EE Engine 6.40

    Hello,
         We have an application deployed in SAP J2EE engine 6.20. From SAP R3 (SAP R/3 version is 6.4C), We are communicating to the application deployed in SAP J2EE Engine 6.20 using RFC protocol. EJB module (Deployed in SAP J2EE Engine 6.20) which is being invoked from a Function Module using RFC protocol has the same name as the Function Module name. We were able to communicate to SAP J2EE Engine 6.20 this way.
         Currently, I have deployed the same application in SAP J2EE Engine 6.40.  I have followed the same procedure which i have used while depolying and working with SAP J2EE Engine 6.20. But, it is not working, and i was not able to communicate to SAP J2EE 6.40, the same way i did in SAP J2EE Engine 6.20. 
       Please let me know whether the procedure for communicating to SAP J2EE Engine 6.40 has changed in comparison with SAP J2EE Engine 6.20.
    Also,Any pointers regarding RFC and JCO implementation in SAP J2EE Engine 6.40 willl be helpful.
    Thank you.
    Regards,
    -Shabir Rahim.

    Hello ,
          The Connection in sm59 is established successfully> there were no Error thorwn in SAP when testing the connnection. But when i am making background call using a Function Module in SAP R3, the calls reaches Application deployed in SAP J2EE Engine 6.40, But it is failing with the error as,
    #1.5#005056A24413003C000000240000126000042853BD899290#1170240034258#/System/Server##com.sap.engine.services.dsr####sstra902_IPC_2629150#Guest#6813e650a93f11dba9f5005056a24413#Thread[JCO.ServerThread-1,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/System/Server#Plain####
    #1.5#005056A244130042000000000000126000042853CFDB80F8#1170240341655#/System/Server##com.sap.engine.services.dsr#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Error#1#com.sap.engine.services.dsr#Java#DSR_36#com.sap.engine.services.dsr.res.DSRResourceBundle#Error while taking over external passport null#1#null#
    #1.5#005056A244130042000000030000126000042853CFDB86BD#1170240341671#/System/Server##com.sap.engine.services.jndi#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Info#1#com.sap.engine.services.jndi#Plain###Incorrect name parameter rfcaccessejb//DCEUR/Z_AIS_IPC_CFG_PRICE in naming operation.#
    #1.5#005056A244130042000000040000126000042853CFDB8745#1170240341671#/System/Server##com.sap.engine.services.jndi#Guest#2####322aaa71b11811db85e1005056a24413#SAPEngine_Application_Thread[impl:3]_36##0#0#Info#1#com.sap.engine.services.jndi#Plain###Incorrect name parameter java:rfcaccessejb//DCEUR/Z_AIS_IPC_CFG_PRICE in naming operation.#
    #1.5#005056A24413003C000000280000126000042853CFDBC4AA#1170240341686#/System/Server##com.sap.engine.services.dsr####sstra902_IPC_2629150#Guest#6813e650a93f11dba9f5005056a24413#Thread[JCO.ServerThread-1,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/System/Server#Plain####
    Here, //DCEUR/Z_AIS_IPC_CFG_PRICE is the Funcrtion module name in SAP R/3 6.4C.
    Also Please let me know whether is there any Operating Differences between WAS 6.20 and WAS 6.40, for JCO/RFC based Communication( ie Comunicating with WAS 6.40 from SAP r/3 using RFC Protocol). Any materials and Information on how to work on SAP J2EE Engine 6.4 will also be very helpful.
    Thank you.

  • GOA replication problem- data missing during RFC-Urgent

    Hi,
    I have an issue with updating GOA from SRM to ECC. Standard GOA do not have any fields to update TAX code and ERS indicator to the back end.
    This two fields are added to the structure   BBPS_CTR_ITEM through customization.
    The GOA is transferred to the backend through the FM META_CTR_TRANSFER which in turn calls the FM      B46B_CTR_TRANSFER.
    Inside the FM B46B_CTR_TRANSFER  the RFC call is made to FM BBPV_CONTRACT_TRANSFER which actually transfers the GOA to the backend. The GOA line  item details are passed to this FM through lt_be_items[].
    The issue is, i can able to see the TAX code and ERS indicator in the itab lt_be_items in SRM side, but when it goes to the ECC through RFC  these two fields become blank,
    I checked the structure of the same itab in ECC side the field names and the domains are same.
    Thanks in advance,
    Aravind.

    The issue was due to improper structure mapping between two systems. Now its solved.
    Regards,
    Aravind.

  • Regarding RFC connection in File to IDOC Scenario

    Hi everyone,
               I was configuring file to Idoc Scenario, i have made all the required configurations in SLD, IR and ID, in XI system and in R/3 System. i have created RFC connection from XI to R/3 system, and its working fine. i have created an Partner profile in WE20 with sender file system name with inbound parameters. <i>But still i am getting error as EDI Partner Profile not defined in WE05- iDOC ADDED WITH ERRORS. </i><b>Do we need to create an RFC connection from R/3 system to XI for file to Idoc Scenario</b>
         <b>!!! Note:  RFC connection from R/3 system to XI is not working, will this be a problem for file to idoc scenario. !!!</b>
    Regards,
    Varun Reddy.K

    Hi Varun
    Follow these steps
    First - Maintain the Sender R/3 System:
    SM59 : Create a RFC destination to XI
    WE21 : Create a TRFC Port ->Specify the RFC Destination Created
    BD54 : Create a Logical System for the Idoc Receiver
    WE20 : Create Partner Profile ->Maintain Outbound and the Inbound Parameters
    Second - Log on to XI System:
    SM59 : RFC Destination for Sender System
    IDX1 : Create the port to get Idoc Metadata from Sender System ( The Port Name must match the port name in the idoc header - Usually in format SAP<System ID>. eg. SAPID1 [Optional Step. Not mandatory]
    IDX2 : Maintain the Idoc Metadata. This is needed only by XI, and not by other SAP systems. IDX2 is needed because XI needs to construct IDoc-XML from the IDoc. No other SAP system needs to do that.
    Regards,
    Santosh

  • Regarding RFC Sender Communication Channel

    Hi All,
      I am working on RFC sender channel, need some important information.
    1). Can i use single RFC Sender Channel in Multiple Sender Agreements.
    2). Can i use Program ID in Multiple Sender RFC Channels. I am having one RFC to File interface and another  RFC to JDBC interface.
         Do i need to create 2 sender channels and 2 RFC destinations with 2 Program Ids????.
    Please give me clarifications.
    Regards,
    Balu

    If i will use single sender RFC channel and Single Program ID for my all sender agreements, how that Single RFC channel
    will identify the information like
    In our sender agreement we configure not only the channel but also the Sender Interface (in your case RFC)......this is the factor which defines what to accept......in broader term we use the same concept of channel re-use in other cases also and the same work fine because of this Sender Interface.
    I found Q28 interesting: https://service.sap.com/sap/support/notes/730870
    In first read it may sound confusing...but after some more rreads you will know what the answer means in the SAP note.
    Regards,
    Abhishek.

  • Problem in RFC - Urgent.

    Hi,
    I am using a RSPC_CHAIN_REMOTE_EXECUTE FM to trigger a PC in BI. it is triggering the PC, but after it is triggering, the screen for selecting the Job Priority comes up and the transacation is not ending.
    The point to note is the PC is dummy PC with a Start Variant and a Message after it with n o data transaction involved.
    Please let me know if i am missing something here. Please repply asap as it is urgent.
    Thanks in Advance!!
    P.S: Points will be rewarded.

    Aren't you clearing your variables on occurence of new customer?? if not, do that..
    Regards,
    Nagaraju Chidurupalli

  • Query regarding RFC Call from R3 to BW

    Hi
    i have one scenario. during running the delta program in R3, and at the end of the code, send an RFC message to BW, which can trigger a job in BW which will start 1 meta chain.
    please let me know how this can be done and what ABAP code needs to be written there.
    Regards
    Atul

    Hi ,
    you can read  data related to  RFC connection  using sm59  with destination   for BW
    http://aq33.com/human-resources/Articles-006159.html
    http://it.toolbox.com/wiki/index.php/Re-Connect_R/3_and_BW
    we have done this   only  for .net  /BIZTALK  . so for BW you have to read ...
    regards
    Deepak.

  • Regarding RFC for SD n MM related to RFID

    hi all
    Will anybody give RFC for delivry of goods in Retail m using RFID technology
    Regards
    Abhijeet

    try to make use of Tcode BAPI
    or
    search in SE37 with search terms delivery.
    Regards
    Prabhu

  • Some PI questions regarding RFC and  receiver determination

    If we import the design objects in one customer system from another customer system , and in the original system there is an imported RFC ,
    This RFC has been created in the new SAP customer system.
    My question is do we have to import the RFC again , as it is already in the imported design objecs.
    My second question is , di we need to create a receiver determination for the answe in a synchronous send step of the BPM ,
    Thanks

    My question is do we have to import the RFC again , as it is already in the imported design objecs
    Yes....the RFC/ IDOC should be imported from the system to/ from which you will send/ receive the data.
    If the RFC was in system1 earlier and now in system2.....then you have to delete the RFC imported from system1 (if it is not used) and then import it from system2
    My second question is , di we need to create a receiver determination for the answe in a synchronous send step of the
    BPM ,
    Irrespective of sync/ async send step.....you should create Receiver Determination....which will have BPM as sender and the TO_SYSTEM as receiver.....not separately for response....just once
    Regards,
    Abhishek.

  • Regarding RFC creation

    hi all,
    after creation of RFC,we have to release the RFC or not.
    regards,
    subba reddy

    Hi Subbareddy,
    Yes you have to release the RFC after compeltion of creation.
    After creation of RFC first import it into XI system and then test it once.If everything is working fine then you have to create a request for transporting this RFC from Dev system to QUALITY system.After creatiing the transport request then you can release the RFC with that transport request.With out releasing the RFC you can't move from Dev system to Quality system.
    Plz close this post if you got the answer.
    Regards,
    Raju.

  • Regarding RFC to JDBC scenario.

    We are trying to get the data from two JDBC TABLES to the same RFC structure. Can we have two different structures in response? can we achieve this without data loss?
    thanks & regards,
    karthick.c

    hi,
    why don't you try one call (stored procedure)
    to get the data from both tables at once
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    Regards,
    michal

  • Regarding RFC

    Hi guys,
    Could you please confirm below one.
    I want to access ECC datas from 46C system. so i created below func modules
    Call Function 'YGET_ECC_DATA' Destination 'RFC_DEST' in 46C system.
    1.Do i need to Create Same Func module in ECC also?
    2.How can i avoid creating Code in ECC and achieve the same functionality of Func module.
    Suggest me please.
    regards
    Ambichan

    If you want to call a remote function module, that function module must be present inthe remote SAP system.
    So in your case you need to create it in ECC system also.
    There are ways of getting the details from the remote machie (ECC) by using standard  RFC provided by SAP. Mostly it will be related to system related information.
    There are also RFM for reading data from tables of remote system.
    Regards,
    Anish Thomas

  • Regarding RFC adapter

    Hi
        when we r using RFC adapter on sender side it asks fgor 'RFC  Program id' what we have to mention in it.
       Regards
      maheswararao

    Hi
    While creating the Communication channel using RFC adapter, you need to specify a Program ID , it can be any value. The same program ID u have to use when u are creating a RFC destination from your sender system to XI.
    With Regards
    K.Varadharajan
    Award points if it solves your problem

  • Regarding rfc functional module

    hi,
       can any one tell me how the rfc FM triggers and how it works?????how to test??
    thanks

    Hi
    Refer to this link:
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap4/mysap4104.htm
    Regards,
    K.Tharani

  • Regarding RFC to FIle

    Hi Everyone,
    Would anyone Please give me steps for  RFC to File Scenario.
    Thanks & Regards,
    Varun

    1) Create synch interfaces 4r source and target.
    For RFC while creation of interface
    input msgtype - Request msg
    output msgtype - Response msg
    2) Create 2 msg mappings.
    inputmsgtype(file)----> Requestmsgtype(RFC)
    Responsemsgtype(RFC)--->outputmsgtype(file)
    3) Create 1 interface mapping choosing synch interfaces on
    src and tgt side.
    -->you ll get two tabs here request and response.
    -->Click on request nd specify 1'st mapping
    --> Click on response nd specify the 2nd mapping.
    Refer this blog:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29&

Maybe you are looking for