No data delivered via RFC

Hello,
I´d like to know if there are is anything particular I have to keep in mind when creating a function module which is to be called by a Web Dynpro?
I´ve experienced the problem of having no result in my Web Dynpro table, although everything should be configured correctly.
Now I found out that the import parameters are delivered to the system and the sql-query is performed (ST05).
But since I used a network packet sniffer, I couldn´t detect any data delivered back to the J2EE engine.
Do you know, what could go wrong? Do I have to configure the target system in a special way?
Some facts:
- an export parameter is delivered,
table isn´t
- function module test is okay
- traffic light is yellow during import of the model, when choosing this function. (in NW developer Studio)
I´d appreciate any hint.
Kind regards
Robin

Now I get the data out of the R/3-System (checked with network sniffer), but it isn´t shown on the Web Dynpro.
Code and Contexts seem to be okay.
I´m also invalidating the context.
I´ve changed the tables parameter into export parameter, but it doesn´t have any effect on the problem.
Some tips for me?
kind regards
robin

Similar Messages

  • Data transfer via Rfcs

    Whenever the material master is created in ECC RFCs are triggered and the data is transferred to GTS via RFCs
    (no idocs are triggered)
    Is there any way out to stop this transfer
    how can can we know the mapping of what fields of ECC are mapped to which fields of the other system
    please advice

    Hi,
    let us say outbound is SAPLID server
    and inbound is SAPLER  server.
    we need to following setting in order to generate idocs. You can see the generated IDOC in WE02 TCode.
    Status code should be 03.
    In SAPLID Server :
    1. In the SALE transaction,
         - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Logical Sysems --> Define Logical Systems
              - Click on 'New Entries'
              - Enter 'Logical System' & 'Name'.
                   SAPLID             Logical System for the server SAPLID
                   SAPLER              Logical System for the server SAPLER
              - Save it.
             - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Logical Sysems --> Assign Client to Logical             System.
              - Client : 800          Sending system
                City : Hyderabad
                Logical System : SAPLID
                Std Currency : INR
                client role : Demo
         - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Systems in Network --> Define Target Systems
           for RFC calls.
              - Select 'R/3 Connections' and click on 'Create' icon.
              - RFC Destination : SAPLER
                Connection type : 3
                Descripiton : RFC for Destination Server SAPLER
                Target host : SAPLER
                System Number : 00
              - Logon/Security
                Language : EN
                Client : 800
                User : USER6
                Password : RGSHYD
              - Click on 'Test Connection'.
              - Click on 'Remorte Logon'.
    2. WE 81 Message type config (DEBMAS - Customer Master)
    3. WE 30 Idoc type (DEBMAS06 - Customer Master data distribution)
    4. WE 82 - Adding Message type to Idoc type.
        DEBMAS ---> DEBMAS06
    5. WE20 Partner Profile
         Partner No : SAPLER
         Par.Type   : LS
         Type         : US
         Agent      : USER6
       OUtbound Parameters :
       Message type    :  DEBMAS
       Receiver Port   :  Zbkpfport
    Transfer Idoc Immediately
       Basic type      :  DEBMAS06
    6. BD64 MOdel View
         - Select 'model view' and click on Create Model View.
         - Technical Name : CUSTMODEL
            - Place the cursor on 'CUSTMODEL' and click on 'Add message type'.
              - Model View : CUSTMODEL
              - Sender : SAPLID
              - Receiver : SAPLER
              - Message type : DEBMAS
         - Save it
         - Environment --> Generate Partner Profile
         - Edit --> Modelview --> Distribute
    7. XD01 Create Customer Master
         - Create Customer Number : 0000000001
    8. BD12 Sending Customer Data
         - Customer : 0000000001
         - OUtput type : DEBMAS
         - Logical System : SAPLER
         - Execute it
    9. WE02 Idoc List
         - Direction : 1
         - Logical Message : DEBMAS
         - Execute it.
    in case if your IDOC is generated with errors (status would be red signal) get back me with status code.
    Regards
    Srikanth

  • Gettin data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC

    We are trying to get data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC. We are reading field from the database via FM and this field got converted by SAP standard Method (CL_ABAP_CONTAINER_UTILITIES=>fill_CONTAINER_C) from structure. When reading this field from ERP sys and converted back to structure using SAP standard Method the value is un-accurate, and different(blank) giving values.
    How, if the data originally was a char or numeric it works fine, but not for decimal.
    best regards,
    Abu-Qaht

    I have a range fields with different type of ranges, am saving these to the database by converting them to a string via the same method. I got the same problem so I tried to convert the string to xstring using function “SCMS_STRING_TO_XSTRING”, before send it to the other system, but the function raised an exception: CX_SY_CONVERSION_CODEPAGE

  • Get Query Data via RFC

    Hello!
    I try to execute an Query via RFC in an Visual Basic environment.
    I have heard that this could be done with RRW3_GET_QUERY_VIEW_DATA Function Call.
    Here is the source code I wrote:
         Dim getQueryData As Object
            Dim paramQuery As Object
            Dim paramInfoprovider As Object
            Dim OK As Boolean
            Set getQueryData = funcControl.Add("RRW3_GET_QUERY_VIEW_DATA")
            Set paramQuery = getQueryData.exports("I_QUERY")
            Set paramInfoprovider = getQueryData.exports("I_INFOPROVIDER")
            paramQuery.value = "ZSUNMAINACCOUNTS"
            paramInfoprovider.value = "0FIGL_VC1"
            OK = getQueryData.Call
    The object funcControl contains an successfully loged in connection to My SAP BW SEM 4.0.
    The variables paramQuery contains the technical query name to get.
    The code does't work, after adding the RRW3_GET_QUERY_VIEW_DATA I can't set the export parameters.
    Whats going wrong here! Is there documenation how to get queries out of my BW?
    Thank you for any reply!
    Best regards,
    Richard

    Hi
    I've got the same problem - did you find a resolution?
    Warwick

  • To get Document content via RFC

    Hi forum,
    I have a small bsp-application to show documents for a material-number stored in the SAP-tresor (via ftp).
    The SAP-tresor is installed in the core-system, the WEB-AS is another server.
    I developed a remote-enabled function module called get_doc_content_rfc. This function module reads some customizing to get all values for calling the function module CV120_DOC_CHECKOUT_TO_TABLE.
    Now, when I call my get_doc_content_rfc in the core-system, I get the document content via the function module CV120_DOC_CHECKOUT_TO_TABLE. When I call my function module get_doc_content_rfc form the developer-system via RFC in the core-system, the function module CV120_DOC_CHECKOUT_TO_TABLE dosn't deliver the document content.
    In the debugger, I can see, the function module CV120_DOC_CHECKOUT_TO_TABLE opens a ftp-connection to the server with the tresor and then reads the document content. Do I use my function module get_doc_content_rfc in the core-sysem, the ftp-connect can be established. Do I use my function module get_doc_content_rfc via RFC to the core-system, the ftp-connection opend by the function module CV120_DOC_CHECKOUT_TO_TABLE gets a time out.
    Now, my question. what can I do, to get the document content via RFC from the core-system.
    Thank you for help
    Meinolf

    Hi,
    Did you check RFC Adresses in SM59 both of two systems.
    May be different.
    ibrahim

  • 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..

  • Customer Deletion via RFC

    We would like to delete a customer (set deletion flag) via RFC. The problem is that the BAPI_CUSTOMER_DELETE calls screens which means that it cannot be called. We want to avoid doing database updates on KNA1-LOEVM because we want such deletions recorded in the change log and properly executed.
    Are there any functions in SAP which delete customers properly without user interaction?

    Here is the sample code:
    DATA: BDCDATA TYPE TABLE OF BDCDATA.
    DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
    DATA: PROGRAM LIKE SY-REPID,
          WA_BDCDATA TYPE BDCDATA.
    WA_BDCDATA-PROGRAM  = 'SAPMS38M'.
    WA_BDCDATA-DYNPRO   = '0100'.
    WA_BDCDATA-DYNBEGIN = 'X'.
    APPEND WA_BDCDATA TO BDCDATA.
    CLEAR WA_BDCDATA.
    WA_BDCDATA-FNAM     = 'RS38M-PROGRAMM'.
    WA_BDCDATA-FVAL     = PROGRAM.
    APPEND WA_BDCDATA TO BDCDATA.
    CALL TRANSACTION 'SE38'  USING BDCDATA  MODE 'N'
                             MESSAGES INTO ITAB.
    For more info, please refer to SAP online help documentation http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm

  • What authorization required to post idoc from XI via RFC?

    Hi all,
    I need to post idoc to SAP R/3 system from XI. I have done all the steps correctly. While creating RFC in XI system to connect to the R/3 system, intially I gave my R/3 username and password and tested teh connection. Everything was working fine but when I actually ran the scenario, IDOC was not getting posted in the R/3. But there was no error anywhere.
    fianlly after debugging I fould it might be the issue of authorization the the R/3 user i used in the RFC. I then assigned SAP_ALL authorization to my user and posted the iodc again and it started working fine.
    Can anyone please tell me what are th exact authorizations/role i need to assign to the r/3 used to use it in RFC and successfully posting the idoc? I dont want to use SAP_ALL authorization in my production environemnt.
    Please help.
    Regards,
    Yash

    Hi,
    Even i had faced this problem. Whenever I tried to send IDOCs, i used to get an error in SM58, " No authorization to send IDOC of type DEBMDM".
    When i got SAP_ALL it worked. However I raised a note with SAP asking for an alternative and this is the reply gave me.
    You can get good information on this topic in your online help files.
    The following is taken from the document "General Security Measures
    (ALE)":
    Use the transaction SALE to maintain the ALE configuration, to include setting up the distribution model and setting up ALE user authorizations and profiles. Note the following:
    - Be restrictive when assigning the ALE authorizations.
    The authorization profile B_ALE_ALL contains the following
    authorization objects that are needed for ALE:
    Authorizations for ALE
    Authorization Description
    B_ALE_CGRP ALE Customizing Distribution: Group Activities
    B_ALE_LSYS ALE/EDI: Maintaining logical systems
    B_ALE_MAST ALE/EDI: Distributing master data
    B_ALE_MODL ALE/EDI: Maintaining customer distribution model
    B_ALE_RECV ALE/EDI: Receiving IDocs via RFC
    B_ALE_REDU ALE/EDI: Generating messages (ex. reduction)
    S_PROGRAM ABAP: Program run checks
    S_TABU_DIS Table Maintenance (using standard tools such as SM30)
    Protect external users and passwords.
    For example, for a non-SAP system to send IDocs to a SAP System using transactional RFC, it must also send a SAP user ID and password.
    In most cases, the user and password are stored outside of the SAP System. Make sure that this information is not accessible to external systems or programs. (How you can do this is dependent on the system that you have; therefore, you need to refer to the documentation for the system where the information is stored.)
    However, I feel assigining the profile S_IDOC_ALL should also be enough. Just try and see.
    Regards,
    Merrilly

  • Can TDMS Call a Custom Algorithm (via RFC) to Scramble a Value?

    Hi,
    Background: Our SAP is one of many systems in an integrated environment. We are looking at scrambling data across all systems for testing purposes. The implication is that if we scramble a field in a non-SAP system using a specific scrambling algorithm (provided by a non-SAP test data management tool) and that field also exists in the SAP system, then the same scrambling algorithm must be used in SAP as well.
    Question: Does anyone know or have tried calling a low level scrambling algorithm (via RFC call) to scramble the value of a field? This scrambling algorithm is a C library routine. The vendor said they can wrap it into an RFC call.
    Thank you in advance for any insights you can provide.
    Luke Lau
    IS Solutions Leader
    Insurance Corporation of British Columbia

    As far as I know calling an RFC from TDMS workbench is the same as calling an RFC from any abap program so as long as the destination is configured you shouldn't have any problems.
    Check here:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/content.htm
    Bruno

  • Problems with sending IDOC via RFC from Unicode to NonUnic

    Hello
    I have following problem, sending an IDOC via RFC from Unicode to Non Unicode System. IDoc is not sent with error: codepage of receiver system cant determined. receiver destination was: Message no. B1999
    I have tried different options in sm59, but it didnt help.
    Any ideas? The recipient system is rather old, version 4.0

    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..

  • Service Call via RFC

    Hi all.
    I am currently starting with WDA and facing some problems in calling BAPI via RFC.
    We have a "plain" WAS without SD or other modules. Our data is distributed over multiple R/3 systems.
    When I try to implement a Service Call to the BAPI BAPI_CUSTOMER_GETLIST via RFC I got the error message that this FM is not available in the current system (WAS).
    Does anyone has experience in how to get this working?
    What is the best practice here?
    - Building wrapper on WAS which calls the FM via RFC on the other system?
    - Installing missing modules on WAS ?
    Any comment would be appreciated.
    Cheers,
    Sascha

    Hi again.
    To shorten development time we considered the following solution:
    We are generating web service proxy classes on the WAS for the BAPIs of the R/3 system we want to use. Afterwards we are generating wrapper function modules which will use these proxies. So we do not have to import all missing structrues cause these are generated automatically during proxy generation.
    I tested this already with BAPI_CUSTOMER_GETDETAIL2. Calling the wrapping fm which calls the service proxy works fine from se80. I do get a result via the service.
    Then i generated a service call for my WEBDynpro component using the wizard in WDA.
    Silly is that the generated code is not compilable cause of missing ,. Anyway after correcting I tried to run my webdynpro application and when the fm gets called via the generated service method I receive the following message:
    CODE           SOAP:111
    ERRORTEXT     Unallowed RFC-XML Tag (SOAP_EINVALDOC)
    Any ideas?
    Why is it working when i call the fm directly but not when calling it from my webdynpro app?
    Thanks in advance
    Sascha
    Message was edited by: Sascha Dingeldey
    Message was edited by: Sascha Dingeldey

  • Send PO via rfc XML with BC 4.7

    Hi Gurus,
    I have to send the Purchase Order to vendor via rfc XML with business connector 4.7. The vendor should receive the order via ebp XML. We are not using XI we use xCBL. SRM Server 5.5 Standalone.
    i use zbbp_PO_send_xml badi for this purpose.  We are able to send the data as rfc XML.  But the smartform attachment is not working.
    Can any one specify me the exact steps involved in this.
    Please reply asap as there is an urgency in the task.
    Points assured to helpful answers.
    Cheers,
    Lokesh

    We are getting a similar error -
    Any ideas on what parameters we need to pass or configure?
    JCO.ServerThread-1 [13:15:27:437]: [JNI-LAYER] RFC.incomingRequestHandler() before dispatchRequest("IDOC_INBOUND_ASYNCHRONOUS")
    JCO.ServerThread-1 [13:15:27:515]: [JNI-LAYER] RFC.nativeConnect()                                          enter, [SUCCESS]
    JCO.ServerThread-1 [13:15:27:515]: [JNI-LAYER] RFC.nativeConnect() before RfcOpenEx("CLIENT="110" USER="ALEWM1" PASSWD=********** LANG="EN" SYSNR="00" ASHOST="atlun02.celanese.com" R3NAME="atlun02.celanese.com" TRACE="1" TOUPPER="0"")
    JCO.ServerThread-1 [13:15:27:515]: [JNI-LAYER] RFC.nativeConnect() after  RfcOpenEx("CLIENT="110" USER="ALEWM1" PASSWD=********** LANG="EN" SYSNR="00" ASHOST="atlun02.celanese.com" R3NAME="atlun02.celanese.com" TRACE="1" TOUPPER="0"") = 0
      with error: RFC_ERROR_PROGRAM No entry for 'atlun02.celanese.com' found in 'C:\WINDOWS\sapmsg.ini'
    JCO.ServerThread-1 [13:15:27:515]: [JAV-LAYER] JCO.PoolManager.releaseClient: Cannot release client equals null
    JCO.ServerThread-1 [13:15:27:515]: [JNI-LAYER] RFC.incomingRequestHandler() caught the following exception: com.sap.mw.idoc.IDoc$Exception: (2) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "LOIPRO01" is unavailable.
    JCO.ServerThread-1 [13:15:27:515]: [JNI-LAYER] RFC.incomingRequestHandler() Exception.message = "The meta data for the IDoc type "LOIPRO01" is unavailable."
    JCO.ServerThread-1 [13:15:27:515]: [JNI-LAYER] RFC.abort()                                                  enter, [SUCCESS]
    JCO.ServerThread-1 [13:15:27:515]: [JNI-LAYER] RFC.abort() before RfcAbort(1,"The meta data for the IDoc type "LOIPRO01" is unavailable.")

  • Why are acrobat updates not delivered via creative cloud?

    Can anyone enlighten me as to why Acrobat updates such as the May 13 security update are not delivered via the Creative Cloud application? My CC app says my installation is up to date yet I keep getting a pop up in my Win 7 notification area from a separate acrobat updater app that wants to install an update. This is potentially confusing for users. In fact, it makes no sense at all. Why not have the installation files and the updates delivered through one interface. Or at least show the app needs updating in the CC app.
    Overall, I find this disappointing and not very well thought out by Adobe. I won't even start on all the CC installation problems people are having.

    Hi CJ E,
    Acrobat updater technology is different to that of Creative Cloud.
    Our engineering team are working to integrate the updates along with CC App in the near future.
    Regards,
    Rave

  • Update the logon date user via a function

    Hi,
    I use a web application (webdynpro ABAP) what is connected via RFC at a R3 system. At each connexion of the user, I must update this logon date on R3 system. What is the used function or BAPI to update the user logon date?
    Thansk in advance.
    Xavier.

    Hi,
    I suggest using Administrator account to change the "Due Date" for testing.
    If Administrator can edit it, it seems the permission issue. I suggest re-granting the permissions to the user.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • CSAP_MAT_BOM_CREATE problem via RFC because of 'strg-reset_sign'

    Hi!
    I have the following problem:
    I want to create a bom in SAP via RFC using the function CSAP_MAT_BOM_CREATE. The function fails if a component of the bom starts with 'X'!
    I have debugged the function CSAP_MAT_BOM_CREATE and found that there is a flag strg-reset_sign which contains an 'X' and every value of each component which starts with the same value ('X') is deleted. So all values (for example IDNRK) starting with 'X' are cleared and so I get the message "data incomplete..."
    The code doing this is:
    hlp_tabfld1 = <tabfld1>.
    check not <tabfld1> is initial.
    if strg-reset_sign is initial or
    hlp_tabfld1 ne strg-reset_sign.
    THIS CODE INSIDE THE IF IS NOT EXECUTED IF hlp_tabfld1 CONTAINS AN 'X'. hlp_tabfld1 CONTAINS THE FIRST VALUE OF EACH FIELD OF A BOM-COMPONENT IN A LOOP.
    The flag 'strg-reset_sign' is not set to 'X' when I try it inside the SAPGui with SE37!
    Is this a customizing issue or where does the flag come from???
    Thanks,
    Konrad

    Thanks for reply,
    i have debug my program and found that run time error is coming at GET_MAST function module.
    but  i have already checked that     MATNR and STLNR  is already filled before reaching to that FM.
    GET_MAST
    IF NOT SET IS INITIAL.
          IF     WA-MATNR IS INITIAL
             AND WA-STLNR IS INITIAL.
             RAISE KEY_INCOMPLETE.
          ENDIF.
          IF     WA-MATNR <> SPACE
             AND WA-STLNR <> SPACE.
             RAISE KEY_INVALID.
          ENDIF.
    please can any one provide me the solution for that.
    Regards
    Pavneet Rana

Maybe you are looking for

  • Re: iPod not recognized by Windows / iTunes

    My 80gb iPod classic is recognized by my PC (Windows XP) but not in iTunes. I have gotten iTunes to give me a prompt to restore the iPod, but after that when iTunes says that the iPod will restart and will appear in the left-hand pane, it never does,

  • Receiver Determination Step For Synchrnous Send  in BPM

    Hi, How to use BPM Receiver Determination step for a synchronous send step? My scenario is to send a request to multiple receivers synchronously and get the response.How can i achieve this using Receiver Determination step in BPM. Regards Divia

  • Background and table.

    Hi, I have a really easy question. How do I get a solid background with a table inside that has a set width and centered that my content would go in. Like this: http://www.leica-camera.com/ Thanks

  • Is there a way to batch change titles in new Photo app

    I often used the "batch change " facility in iPhoto but there does not appear to be a similar facility in the new Photos app. Any ideas please?

  • While using Windows live firefox freezes then has to close alot!

    While in the middle of writing emails, moving from inbox to writing, in general any navigating in Windows live, the windows freez and "Firefox must close" appears. Moving between web pages while windows live is open causes this alot. Moving thru page