Problem refreshing SAP R/3 tables via RFC connection

Hello,
  I am developing an application in WAS (using BSPs). I have the WAS in 1 machine and the R/3 in another one.
  When I update some tables, this tables aren't refreshed. In order to refresh it I have to restart the application.
   ¿Do you know how can I solve the problem?.
   Thanks in advance. Javi.
Message was edited by: Javier Iglesias
Message was edited by: Javier Iglesias

Let me understand:
1. machine A runs on WAS and you have a BSP application there.
2. R/3 runs on machine B and thru your BSP (by RFC calls - from machineA) you are updating some table in this system.
When you said tables aren't getting refreshed - hows did you come to this conclusion - a) your BSP is not returning the updated value? b) you went to the System B and checked manually and you dont find the records you update.
Restarted the application - > which application ? the BSP?
Answering these questions would help us to analyse the issue better.
Regards
Raja
Note: Next time if you have a doubt regarding BSP - post it in BSP forum for a better response.

Similar Messages

  • How connect FLEX and SAP R3 via RFC

    Hi all
    Can anybody tell me, how to connect the SAP R3 and FLEX via RFC.
    Is this possible or can only be via webservice?
    Regards and thanks,
    morojan

    Well in theory you could build a flex component that uses the RFC library to call SAP (and viceversa) but it sems like a lot of trouble when you can just use the existing HTTP/XML methods already available.
    Cheers
    Graham Robbo

  • RFC connection - SAP CRM to SAP R/3

    Hello all,
                  We have a requirement in the project, where client is already using SAP R/3 ERP system, and is going for CRM for e-commerce. Now as they have most of the development already done in R/3, they want to use some Function Module or say Report Program already developed in R/3 to be used in CRM system.
    Please tell, if this thing is possible via RFC connection, and if yes, then how can we go about doing it? It is a critical requirement.
    Thanks in advance,
    Rohit Khetarpal

    In transaction sm59 define an rfc destination in CRM that connects back to R/3.
    You most likely already have one for bdocs etc. You can use this one or create one specific to your task.
    Create an RFC user in R/3 that will have sufficent authorization to run your remote enabled function modules in R/3. Assign the user to your new CRM rfc destination in sm59 if you've created a new rfc destination.
    Make sure the remote enabled check box in your R/3 function modlule attributes are ticked.
    In your CRM program call the R/3 function module with the name of the rfc destination you created, as below.
    call function ' my_r3_function_module_name' destination 'the_rfc_destination_name'.
    You will need to add in the fm interface manually, i.e. importing, exporting, etc.

  • Dynamic table in RFC function

    Dear all
    I like to create a dynamic table in a RFC function and pass this table to the calling programm. Is this possible?
    Herbert

    Hi,
    check the Below FM to create Dynamic table in RFC function ..
    RFC_READ_TABLE              --   External access to R/3 tables via RFC
    RFC_GET_TABLE_ENTRIES     --     Read table entries
    Prabhu

  • Migrate Standard Text via RFC

    Hi,
    I wanna migrate Standard Textes (ST) from one SAP-System to another via RFC.
    Is there a standard Function Module from SAP available ?
    or let me know a User FM if possible!
    So, I don't wanna store the ST temporary and I don't wanna use the Report RSTXTRAN.
    thanks for your help in advance
    Franz

    done

  • Problems with data transfer to CEN via SAPCCM4X agent

    Hello!
    We are facing with the the following problem with data transfer since we installed SAPCCM4X agent:
    - new alerts can only be seen within alert history
    - old alerts cannot be deleted
    We checked the agents via RZ21 and also the appropriate log files do not get further information.
    When we stop the SACCM4X agents and the monitoring data is representing via RFC connection everything is ok.
    Can some one help to solve this problem?
    Thank you!

    As Woodmeister50 told, direct connect between two iMacs via Ethernet cable is much faster than via adaptor, I suppose.
    OS X: How to migrate data from another Mac using Mountain Lion and earlier
    OS X: How to migrate data from another Mac using Mavericks

  • How to use loop in VBAK table using BDC RFC connection through excel vba ?

    Hello,
    I am trying to extract data from VBAK table using rfc connection with Excel VBA. where i can able to pull data first time, when i tried to use the same set of code using loops, it throws an error like BAD INDEX.
    Any help appreciated.

    Hello,
    I am trying to extract data from VBAK table using rfc connection with Excel VBA. where i can able to pull data first time, when i tried to use the same set of code using loops, it throws an error like BAD INDEX.
    Any help appreciated.

  • DB connect no data found is rfc connection required

    Hi Gurus,
    I want to retrieve data from oracle database, i have all the table with data in it, but through the source system i.e db connect it does not display any contents of the table, it says no data found, the installation was all done perfecttly fine, i can read the table fields but i am not able to read the data from the table. what could be the problem.
      Is an RFC connection required for this db connect to retrieve the data from oracle. or else what is the issue. Can anyone please help me out on this, I already posted long back on this still no reply on it. From the osss notes it allgives information about the intallation but it there is no data found then it does not give any information onthis. Can anyone please help me out on this.
    Thanks,
    Hem

    Hi Hem,
    You want to retrieve data from Oracle Database using BW and you are having a problem?
    Try isolation technique to solve your problem.
    Try to use third party softwares e.g. MS Excel. Retrieve data from Oracle using MSExcel. If MSExcel can retrieve data then you can conclude:
        a.) The network connection to Oracle is fine.
        b.) Oracle is up and running and is able to serve data from your specified table.
    RFC Connection is not required. RFC is only useful for SAP to SAP communication. This connection uses a different technique and uses a different driver to communicate. SAP provided DB Connect Engine. A similar approach as what Microsoft's OLEDB is doing. This to make a transparent connection between various database systems. (whether MSSQL, Oracle, MSACCESS, SYBASE etc.)
    As part of isolation technique, are you sure you are accessing the correct table? Try to access other tables. If you can access data of different tables then something is wrong with the table you want to access.
    Have you check authorization issues? Are you allowed to extract data?
    Hope I have helped. If I did, please grant points...
    --Jkyle

  • Error RFC Connection

    Hi Gurus,
    I have a problem when i try to do a RFC connection Between SAP and Windows, this's the error message log Tx, sm59..
    EntrSist.     Error de conexión
    Det.error     / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=17 thRc=236 SAP gateway connection failed. I
    Det.error     ERROR: SAP gateway connection failed. Is SAP gateway started?
    Det.error     LOCATION: SAP-Server devinc_ICT_02 on host devinc (wp 1)
    Det.error     COMPONENT: CPIC
    Det.error     COUNTER: 6
    Det.error     MODULO:
    Det.error     LINE:
    Det.error     CÓD.RETORNO: 236
    Det.error     SUBRC: 0
    Det.error     RELEASE: 700
    Det.error     TMP.: Tue Aug 31 11:13:57 2010
    Det.error     VERSIÓN:

    Anup,
    the entry sapmsDEV is missing in your "services"-file on the computer that hosts your SLD-Server/J2EE WAS. Windows locates it at %WINDIR%/system32/drivers/etc, unix usually at /etc/.
    make an entry like that:
    sapmsDEV   3600/tcp (in case, your Systemnumber is 00, otherwise replace the "00" with your actual systemnumber)
    kind rtegards, achim

  • Deprecated API and RFC connection issues in PI 7.1

    Hi all,
    I am new to this Forum..
    I am working in File to Proxy scenario where i am using UDF to implemnt few functions.
    But i am getting the following Error :
    Source text of object Message Mapping: MM_FILE_10_943 | urn://fiat.com/mm/if_10_943 has syntax errors:
    Function sendMonitor, Line 14:
    cannot find symbol symbol  : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_    CallRFCManager rfc=new CallRFCManager();    ^
    Function sendMonitor, Line 14:
    cannot find symbol symbol  : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_    CallRFCManager rfc=new CallRFCManager();                           ^
    Function sendMonitor, Line 17:
    cannot find symbol symbol  : variable Constants location: class com.sap.xi.tf._MM_FILE_10_943_         if(rfc.connect(Constants.XISYSTEM)){                             ^ Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors
    The code i am using is:
       //write your code here
       // INPUT: activate ; id; descrizione
       AbstractTrace trace;
       String messID;
       java.util.Map map;
       trace = container.getTrace();
       map = container.getTransformationParameters();
       messID = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
       CallRFCManager rfc=new CallRFCManager();
       if (a.equals("true")){
            if(rfc.connect(Constants.XISYSTEM)){     
                  try{
                        rfc.traceMonitor(messID,b,c);
                        trace.addInfo("Ok trace monitor");
                        rfc.disconnect();
                  } catch (Exception ex) {
                        trace.addInfo("Errore in sendMonitor CAUSA:" + ex.getMessage());
                        rfc.disconnect();
            }else{
                      trace.addInfo("Errore in sendMonitor CAUSA: errore sulla connessione ad XI"); 
       return a;
    Pleasae help me ....what is the reason for this ???

    Hi ,
    the package com.fiat.sapiens.udf.* is saved in the IA_JAVA.zip file.
    I imported it in the imported archive and added this jar in the import tab of function library
    i also added ti in the archive used tab in function.
    But still it is showing this Error.
    under IA_JAVA.zip  i have  testJCO.java which has the folowing code:
    package com.fiat.sapiens.xi.udf;
    // Referenced classes of package com.fiat.sapiens.xi.udf:
    //            CallRFCManager
    public class TestJCO
        public TestJCO()
        public static void main(String args[])
            System.setProperty("SAPSYSTEMNAME", "DX0");
            CallRFCManager rfc = new CallRFCManager();
            rfc.connect("XI");
            try
                rfc.schedNR("10", "20", "30", "40", "50", "60");
            catch(Exception e1)
                e1.printStackTrace();
            if(rfc.connect())
                rfc.connect();
                try
                    String a = rfc.checkRARCRE("ZZ");
                    System.out.println(a);
                catch(Exception e)
                    e.printStackTrace();
            System.out.println("");

  • Establishment of the RFC-connection

    Hi!
    I am about to set up the RFC connection to SAP system from SAP Solution Manager.
    The following connection between the systems/server was configured:
    my server --> SAP Router 1 --> SAP Router 2 --> SAP System
    How should the RFC-connection look like?
    The errors I getting are:
    Logon                     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host  on host dzla9005 (wp 1)
    Is there some special SAP notes for that issue?
    Thank you very much!
    regards

    Hello Thom,
    Facing the same issue.
    Did you solve it ?
    Regards,
    Gidion

  • Send data to ECC table through RFC Call function from SAP B1 via  b1if

    Hi,
    I have created scenario in B1if which triggers from SAP B1, now I have to send this data in to ECC table, so I have created scenario for that with inbound SAP B1, outbound void and in process RFC Call atom is there but I am not getting data in receiver and also how to write xml to send data in RFC function. Function for RFC has configured from ECC end and have access of that function.
    So please help me to send data to ECC table through RFC Call function from SAP B1 (9.0) via b1if
    Thanks

    Solved by my own.

  • IDoc via RFC problem between certified app and SAP ECC 5.0 on AS/400

    Greetings.
    I'm not sure this is the best forum for this question but here it goes:
    Ever since 2000, we have our certified application for HR-PDC interface. We never had any problem that would be hard to resolve.
    Recently, we had a customer who installed our app to exchange data with SAP ECC 5.0 on an AS/400 machine (first time interfacing with this platform for us).
    We already checked all user permissions and every SAP note that mentioned this problem but it still doesn't work: when receiving and IDoc (just any), we get the error IDOCTYPE_READ_COMPLETE:OBJECT_UNKNOWN.
    Permissions for user are SAP_ALL and SAP_NEW and the IDocs used are the ones stated in the HR-PDC interface (for example, HRCC1DNPERSON, for instance).
    I traced down the problem by examining the .trc files (RFC trace files) and I found where the problem lies: IDOCTYPE_READ_COMPLETE is being passed the IDoc Basic Type HRCC1DNPERSON and it should be HRCC1DNPERSON01. I did the same tracing for another installation (not AS/400 with SAP 4.6) and everything goes fine: IDOCTYPE_READ_COMPLETE is called with correct HRCC1DNPERSON01.
    I'm wondering if this could be a problem in SAP 5.0 for AS/400 as we already have other customers running the same version on different platforms and everything just goes fine.
    Any clues, anyone?
    Thanks and regards,
    André Baptista

    hi
    we have a similary problem with our certified as400 application. Our client has the version 4.6C service pack 51 and patch 2161. Data transfert by RFC is ok but we have problems since the installation of the patch 2252. The RFC function RFCaccept do not run any more : the log
    <i>argc    = 2                                                           
    argv[0] = 'HLSAP45A/HLKA15C'                                          
    argv[1] = '-DCP03'                                                    
      Fri Nov 24 14:21:53 2006   *                                      
    <==  RfcAccept                           rfc_handle = RFC_HANDLE_NULL 
    <==  RfcLastError                                                     
    RFC operation/code:  RfcAccept                                        
    ERROR/EXCEPTION                                                       
    key     : RFC_IO5                                                     
    status  : CODE=CM_PRODUCT_SPECIFIC_ERROR STATUS=??? DATA=??? ID=???   
    message : LOCATION    CPIC (TCP/IP) on local host                     
    ERROR       connection to partner broken                              
    TIME        Fri Nov 24 14:21:53 2006                                  
    RELEASE     45A                                                       
    COMPONENT   NI (network interface)                  
    VERSION     31                                      
    RC          -6                                      
    MODULE      nio4i.c                                 
    LINE        891                                     
    DETAIL      NiPRea                                  
    internal: IO HANDLE=1 DRV=??? LINE=1369 CODE=5      
    <==  RfcClose  </i>                                     
    Do you have solve your problem ?
    thanks

  • Attach file via RFC on an object in SAP R/3 4.6c

    Hi experts,
    I have to attach a file via a RFC into a Business Object of PM module; could be an Order (IW32) or a Note (IW22).
    I had tried the sample codes I saw in here, but none of them proved to be useful - some were not in use for me because of the lack of FM to convert from XSTRING to BINARY in 4.6c, some because of the code (not functional for RFC's)... I am searching (desperately) for directions, or a sample code (that works in 4.6c)!
    The requirements of the function I have to develop is:
    We will use R/3 4.6c integrated via RFCs with the PORTAL.
    For this FM (RFC) we have to:
    1- Receive file content directly into a XSTRING type IMPORT PARAMETER (using GOS resources).
    2- Get this content and save it on a table or ATTACH this content (file) to an PM Order or Note.
    Well, am I in the right way?! Can I develop a RFC like this in 4.6c, or is it impossible?!
    I haven't seen a solution yet for this kind of problem, and ask for your kind help, friends.
    Thanks!
    Marcos Paulo
    SAP/ABAP consultant
    Brazil

    Thanks for welcoming me, friend. Hope I can help you as much as I need your help now...!
    Unfortunately, the method you're counseling me to follow don't fit, as one of my big problems in this case is to convert the Hexadecimal value (XSTRING) brought to the RFC to a binary one BEFORE I can send it to a internal table, thus calling the FM you mentioned, as it expects a TABLE parameter filled with a binary value.
    I know that in earlier versions, there is a conversion routine that could be helpful... I think it is "SCMS_XSTRING_TO_BINARY"... but it isn't found here in 4.6c.
    Neither notes on trying this solution on a DIALOG landscape would help me, I guess. I've tryed every and each program or snippet found here in SDN, unsucessfully though...
    Guess here's the trick: the lack of built-in types and FM on this version of SAP that could help us, desperate developers, find a generic solution in time...
    Thank you, though.
    Is there any other solution? please answer in this topic.
    Marcos

  • Character conversion problems when calling FM via RFC from Unicode ECC 6.0?

    Hi all,
    I faced a Cyrillic character convertion problem while calling an RFC function from R/3 ECC 6.0 (initialized as Unicode system - c.p. 4103). My target system is R/3 4.6C with default c.p. 1500.
    The parameter I used in my FM interface in target system is of type CHAR10 (single-byte, obviously).
    I have defined rfc-connection (SM59) as an ABAP connection and further client/logon language/user/password are supplied.
    The problem I faced is, that Cyrillic symbols are transferred as '#' in the target system ('#' is set as default symbol in RFC-destination definition in case character convertion error is met).
    Checking convertions between c.p. 4103  and target c.p. 1500 in my source system using tools of transaction i18n shows no errors - means conversion passed O.K. It seems default character conversion executed by source system whithin the scope of RFC-destination definition is doing something wrong.
    Further, I played with MDMP & Unicode settings whithin the RFC-destination definition with no successful result - perhaps due to lack of documentation for how to set and manage these parameters.
    The question is: have someone any experience with any conversion between Unicode and non-Unicide systems via RFC-call (non-English target obligatory !!!), or can anyone share valuable information regarding this issue - what should be managed in the RFC-destination in order to get character conversion working? Is it acceptable to use any character parameter in the target function module interface at all?
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    Senior SAP ABAP Consultant

    hey,
    I had a similar experience. I was interfacing between 4.6 (RFC), PI and ECC 6.0 (ABAP Proxy). When data was passed from ECC to 4.6, RFC received them incorrectly. So i had to send trimmed strings from ECC and receive them as strings in RFC (esp for CURR and QUAN fields). Also the receiver communication channel in PI (between PI and  RFC) had to be set as Non unicode. This helped a bit. But still I am getting 2 issues, truncation of values and some additional digits !! But the above changes resolved unwanted characters problem like "<" and "#". You can find a related post in my id. Hope this info helps..

Maybe you are looking for

  • What is new in IWeb latest version ?

    Can someone tell me what is new in IWeb latest version ? are there new features or is it just a bug-cleaning ? Thanks MacBookPro 1,83 GHz   Mac OS X (10.4.6)  

  • How can I back up iPhone to iCloud manually?

    I have iPhone 5 with iOS 8.0.2. I used to be able to go to Settings>iCloud>Storage & Backup, and then be able to see when was the last automatic backup and I could "Backup Now" if I wanted. I am set up for automatic iCloud backups. Now when I go to S

  • A note including an URL (Acrobat 7.0 Pro)

    Hi! I will need to include an URL into a Note/Post-it (I dont now the english name, sorry). Does someone knows the tip to make it? I use Acobat 7.0 Pro. Thanks!

  • How parse XML document for output

    I have this users.xml document : <?xml version="1.0" ?> <!DOCTYPE users[ <!ELEMENT users (user+) > <!ELEMENT user (mail,password)+ > <!ELEMENT mail (#PCDATA)> <!ELEMENT password (#PCDATA)> <!ATTLIST userid CDATA #REQUIRED > ] > <users> <user id='3'>

  • How can I put a check out in a web page?

    Im trying to validate a credit card and send money from a credit card to another credit card. Now, I know there are a few examples of validating a credit card, but what about transfering money? Any help is appresiated. Thanks.