RFC Adapter not getting data

Hi experts!
I am developing a RFC to File scenario on PI 7.1 EHP1 and ECC 6.0 which is synchronous. Following the Help page Setting Up an RFC Destination for the RFC Adapter I created two destinations. The fist one is a TCP/IP, name RFCDE1COMPANY2, program id BAPI_COMPANY_GETLIST and corresponding gateway host and service I found at SMGW (Parameters). The second one is a Logical with name RFCDE1and reference entry RFCDE1COMPANY2.
At my RFC Sender Adapter I configured the same gateway info and the same program id. After that I tested both destinations and it worked. I created the following report to call the bapi on that destinations::
REPORT  ZREP_BAPI_COMPANY_GETLIST.
DATA: company_list TYPE STANDARD TABLE OF BAPI0014_1.
CALL FUNCTION 'BAPI_COMPANY_GETLIST'
  IN BACKGROUND TASK
  DESTINATION 'RFCDE1'
  TABLES
     COMPANY_LIST = company_list.
COMMIT WORK.
At SXMB_MONI the request message was processed and the output file generated, but it has only the root tag. At moni the inbound message has no data (company data).
I tested the BAPI_COMPANY_GETLIST at SE37 and there are 149 entries. When I executed this same BAPI with RFC target sys configured to my destination, it didn´t show any data and has an exception called SYSTEM_FAILURE. I think probably the error is on RFC destinations but I can´t figure it out what is wrong.
Best Regards,
Gabriela

Hi experts,
Thank you all for your quick response.
At the TCP/IP Destination there is a button "Unicode Test", according to this test my target system is unicode (character size 2). I changed the option at MDPM&Unicode on that TCP/IP Destination like Madhusudana described. I also selected the checkbutton "Unicode" on sender RFC communication channel.
About the sync/async, I will not use sync async bridge because this scenario can be async. One think that I realized is that when I call my report, I am implicitly calling PI asynchronously and when I call the BAPI directly by the test tool, I am implicitly calling PI synchronously. That is why most part of my tests did not work before.
Now I can see on SXMB_MONI that the scenario worked and the file was generated. But the data are still not being showed on inbound payload. I think something is wrong with my destinations but I can´t figure it out what is.
Ps.: I would prefer to use XI proxies, but this scenario will be configured (not now) on a XI 3.0 with ERP 4.6 C. Now I´m just learning how to handle with RFC Adapter.
Any ideia?
(Points granted)
Thank you and best regards,
Gabriela

Similar Messages

  • RFC not getting data from XI

    hi,
    in my scenario, XI is passing the data back to RFC, but in my program where i call the RFC, the data is not received. what could be the issue.
    CALL FUNCTION 'ZFFF' DESTINATION 'XI'
    TABLES
           INP   = aaa
           OUT1 = bbb
           OUT2  = ccc.
    COMMIT WORK.
    it was working fine before when i had only OUT1. Later I added OUT2 and then onwards I am not getting data for any of the tables. I have checked in XI, data is being passed out of XI to RFC. No issues in that.
    something seems to have gone wrong in the RFC modfication or the RFC call. can anyone please help.
    thks

    Hi,
    Check the export import parameter declarations & data types in both RFC & XI.
    Put a break point in RFC & check whether it is getting triggered.
    Best regards,
    Prashant

  • Want to create RFC FM for Getting data in CRM from R/3

    Hi,
    I have made the RFC connection in CRM system , now I want to make RFC FM for getting data from R/3 'MARD' table into CRM, If any one help me how to do this.
    From CRM system I will pass Plant & material no to FM and I need Storage location & Storage Bin from R/3 MARD table in CRM.
    Thanks
    Bobby

    Dear Bobby,
    You would create a FM in SE37 select 'Remote Enabled Module' radio-button in attributes tab of Function Builder.
    Select matnr werks LGORT LGPBE
               from MARD
               into ET_MARD
               where matnr = i_matnr
               and  werks = i_werks.
    Note:
    matnr is material number
    werks is plant
    LGORT is storage location
    LGPBE is storage bin
    Hope this will help.
    Regards,
    Naveen.

  • Not getting data in Dimension

    Hi all,
    i am craeating a dimension and i did the mapping also.i get the data in that dimension table.But i am not able to get the data in the Dimesion (i.e When i right click on the dimesion which i have created,there one option is called Data Viewer,from that i am not getting data)
    Can any help me about this.

    Hi,
    Just try with the code given below... hope that helps you out....
    also write a break-point statement just before the if statement and check in the debugging mode if it i_mseg table has some values or not...
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
          OR
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into corresponding fields of  i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
    Regards,
    Siddarth

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • Not getting data for 1 field in ODS

    Hi BW Experts,
    I am loading the data from R/3 to BW.I have loaded the data through PSA.The data is available in New data field. After activating the ODS, for 1 field the data is not uploaded and in the report, the values are not displaying.
    I have checked the Transformations also. it is mapped correctly.But still i am not getting data for that field.
    Thanks,
    Siva.

    Thanks for the Update
    1. What is your Service Pack Level?
      Service Pack is 0016
    2. Are you able to see the data in PSA?
       Yes I can see the data in PSA
    3. After load, are you able to see the value in New table?
       Yes i can able to see the data in New data table
    4. Anywhere, are you doing the SORTING of Data Package?
       No I have not sorted the data Package.I have not written any coding on this
    I have not written any coding in transformation also.
    Thanks,
    Siva.

  • Not getting data for Null Records.

    Hi all,
    I am trying to fetch the records where  sczuo  values are NULL . 
    DATA : BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE makz.
    DATA : END OF itab.
    SELECT * FROM makz INTO TABLE itab WHERE sczuo IS NULL.
    IF sy-subrc EQ 0.
      LOOP AT itab.
        WRITE : /3 itab-matnr , 20 itab-sczuo.
      ENDLOOP.
    ENDIF.
    I did not getting data any data .But if i write select statement like this
    SELECT * FROM makz INTO TABLE itab WHERE sczuo = ' '.
    This select statement returns the correct data.
    why my first select statement is not working ? how can i use IS NULL?
    Thanks in Advance,
    Madhu

    Hi,
    When we insert a new field to an existing table, NULL values are automatically inserted into the new field by the system for all existing records. However NULL and SPACE are not the same. 
    The logical expression SQL condition is either "true, false, or unknown". The expression is UNKNOWN if one of the columns involved in the database contains a NULL value and such records could be retrieved by using u201CIS NULLu201D instead of SPACE. 
    Please note that the NULL value is inserted only for the existing records, by the time the new field is being inserted. For all new records, SPACE or the initial (default) value is inserted. 
    If the new field is inserted by checking the checkbox u201Cinitial valuesu201D, then the initial values (SPACE in case of characters) are automatically inserted and not the NULL values.
    ihope u get the solution...
    Thanks
    Ashu

  • Not Getting Data to PSA

    Hi Experts,
    i am facing the below critical issue.
    i have enhanced 2 fields, item start date and end date to crm data source 0CRM_SRV_PROCESS _I Data Source.
    while checking data from RSA3  i have got data for those 2 fields(item start date and end date) in CRM System, but while running Infopackage i am not getting data of those 2 fields to BI PSA table.
    i got data from RSA3 in CRM Quality and Production Systems and not getting data in Quality and Production BI Systems at PSA level.
    But i am getting data in RSA3 in CRM  development system and BI Development system at PSA level.
    Means i  am facing issue only at Quality and Production BI Systems at PSA level.
    Please find below screen shots for reference:
    RSA3 Screen shot from CRM Quality System:
    PSA Screen shot from BI Quality System:
    Thanks & Regards,
    Nagaraju K

    Hi Anshu,
    i have enhanced almost 20 fields for  same  data source, among these 20 fields other date fields also there which all are getting fine in dev, qty and production systems.
    but only these 2 fields are not getting data to BI PSA level in Quality and productions systems.
    Please find below code for reference:
       if lt_service_assign is NOT INITIAL.
    READ TABLE lt_service_assign into ls_service_assign with key ITEM_GUID = ls_data-item_guid.
    if sy-subrc = 0.
    CALL FUNCTION 'CONVERT_TIMESTAMP_TO_BP_TIME'
      EXPORTING
        BP_GUID_32         = ls_data-item_guid
        IM_TIMESTAMP       = ls_service_assign-BEG_TSTMP
    IMPORTING
       EX_DATE            = lv_start_date.
    *   EX_TIME            =
    if sy-subrc = 0.
    ls_data-ZZITM_STARTDT = lv_start_date.
    endif.
    CALL FUNCTION 'CONVERT_TIMESTAMP_TO_BP_TIME'
      EXPORTING
        BP_GUID_32         = ls_data-item_guid
        IM_TIMESTAMP       = ls_service_assign-END_TSTMP
    IMPORTING
       EX_DATE            = lv_end_date.
    *   EX_TIME            =
    if sy-subrc = 0.
    ls_data-ZZITM_ENDDT = lv_end_date.
    endif.
    endif.
    endif.

  • Not getting data into 3rd int table

    Hi all,
             here i ve data in 2 internal tables. this data i want store into 3rd internal table, here am adding with inner join but am not getting data into 3rd one.
    plz check my logic.
      REPORT  ZEXCHANGE_RETES                         .
    TABLES : tcurr,           " Exchange Rates
             /msg/rabr.       " Account (Posting Headers)
    DATA : l_date type datum.
    TYPES : begin of t_tcurr,
            kurst like tcurr-kurst,  " Exchange Rate type
            fcurr like tcurr-fcurr,   " From Currrency
            gdatu like tcurr-gdatu,   " Date as of which
        end of t_tcurr.
    TYPES : begin of t_rabr,
            OW_WHGNR like /msg/rabr-OW_WHGNR,
            bil_dat like /msg/rabr-bil_dat,
            abrnr like /msg/rabr-abrnr,
           end of t_rabr.
    TYPES : begin of t_output,
            kurst like tcurr-kurst,
            fcurr like tcurr-fcurr,
            gdatu like tcurr-gdatu,
            OW_WHGNR like /msg/rabr-OW_WHGNR,
            bil_dat like /msg/rabr-bil_dat,
            abrnr like /msg/rabr-abrnr,
           end of t_output.
    DATA : it_output TYPE STANDARD TABLE OF t_output WITH HEADER LINE,
            wa_output TYPE t_output.
    DATA : it_rabr TYPE STANDARD TABLE OF t_rabr WITH HEADER LINE,
            wa_rabr TYPE t_rabr.
    DATA : it_tcurr TYPE STANDARD TABLE OF t_tcurr WITH HEADER LINE,
            wa_tcurr TYPE t_tcurr.
    getting data into 1st itab
    SELECT kurst fcurr gdatu
              from tcurr into table it_tcurr
              where kurst EQ 'M'.
              SORT it_tcurr by  fcurr GDATU DESCENDING.
              delete adjacent duplicates from it_tcurr comparing fcurr.
    getting data into 2nd itab
       SELECT * FROM /msg/rabr into CORRESPONDING FIELDS OF TABLE it_rabr.
        SORT it_rabr BY OW_WHGNR bil_dat abrnr.
    getting data into 3rd itab
    SELECT t~kurst
            t~fcurr
            t~gdatu
            r~OW_WHGNR
            r~bil_dat
            r~abrnr
            FROM tcurr as t INNER JOIN
            /msg/rabr as r on tfcurr EQ rOW_WHGNR into table it_output
            WHERE rabrnr BETWEEN '00000000000000800251' AND '00000000000000800300' AND rbil_dat < wa_tcurr-gdatu.
    printing output
    LOOP at it_output into wa_output.
    WRITE: /10 wa_output-kurst,
             15 wa_output-fcurr,
             25 wa_output-gdatu,
             50 wa_output-OW_WHGNR,
             60 wa_output-bil_dat,
             80 wa_output-abrnr.
    ENDLOOP.
    here am not getting data into 3rd i tab.
      Thanks & Regards,
    sudharsan.

    Hi,
    The select command is the most fundamental function of writing ABAP programs allowing the retrieval of data from SAP database tables.
    Try filling the 3rd internal table with Loop ... Endloop.
    Loop at t_tcurr.
    Read table t_rabr with key field1 = t_tcurr-field1.
    If sy-subrc  = 0.
    Move t_tcurr-field1 = itab_final-field1.
    Move t_tcurr-field2 = itab_final-field2.
    Move  t_rabr -field3 = itab_final-field3.
    Move  t_rabr -field4 = itab_final-field4.
    Append itab_final.
    Endloop.
    Hope this helps you.
    Regards,
    Ruthra

  • On a west Texas highway I believe my old 3G iphone could get data with 3 bars. My new 4S could make phone calls but not get data. An att guy told me it's because there aren't enough 4G towers yet. Other explanations?

    On a west Texas highway I believe my old 3G iphone could get data with 3 bars. My new 4S could make phone calls but not get data. An att guy told me it's because there aren't enough 4G towers yet. Other explanations?

    Simple solution. Get a real internet service and not a cell phone internet connection service it was never meant to be used as the primary internet service
    And how do you lose a home and job and be sued as you claim. What over 10 Gb of data? Give me a break
    In my city small claims is $5000.00
    And over that amount you can go to a superior court to have your issue settled.
    http://www.bbb.org
    Good Luck, Elector

  • RFC does not get the updated data

    Hi Experts,
    I am not getting the updated data via RFCs.
    The scenario is like this.
    Step 1: I open the Application running on System "B".
    Step 2: I add a record in second  Application which is on  system "A".
    Now I want the same data to be reflected on Application running on System "B" on some event.
    I observed the data is never reflected in Application running on System "B", but when I refresh the page of this Application, I get the updatred data. Do you have any clues why this is happening.
    Best Regards,
    Arti.

    Hi,
    Can you be bit more clear about the requirement. It is logical that without refresh updated data wont be shown.
    Thanks,
    Vinod.

  • RFC receiver adapter not getting timed out

    Hello Everyone,
    I have a scenario like this:
    Web-Service --> PI -->RFC (using receiver RFC channel)-->Response back to PI from RFC --> response back to Web-Service
    This RFC is taking more than 5 minutes to give response back to PI but still I am not getting timeout in PI.
    xiadapter.inbound.timeout.default is set to default value 180000.
    Is there any other place where I should check for setting timeout like 10 seconds for rfc receiver channel?
    Thanks,
    Satarupa

    Dear Satarupa,
    You need to set ICM timeouts at Integration Engine level.
    So go to SXMB_ADM and clic on Specific configuration. Edit table and set parameter as follow:
    Category = RUNTIME.
    Parameters = HTTP_TIMEOUT.
    Current Value = [segs] depens your needs.
    If you hasn't this parameter in SXMB_ADM set this parameter yourself.
    Related link.
    http://itsiti.com/increase-sap-icm-http_timeout-runtime
    Regards,
    Jose

  • Soap Sender and RFC Adapter receiver getting APPLICATION_ERROR

    Hi, all,
    I have a webservice soap sender and RFC Adapter receiver scenario, it works fine with RFC "RFC_SYSTEM_INFO", When i tried the RFC "RFC_READ_TABLE", getting the following error message,  <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code> in
    SXI_MONITOR, in webservice client, i am getting error message like this:
    <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <rfc:ZZTEST_RFC_READ_TABLE.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
                   <Name>TABLE_NOT_AVAILABLE</Name>
                   <Text>QUERY_TABLE not active in Dictionary</Text>
                </rfc:ZZTEST_RFC_READ_TABLE.Exception>
    Thanks a lot!

    Hi
    Its not compulsory but its good to wrap it as Z object.
    Well if you are facing problem with SOAP data. Then try to do one thing. Check with the data you received from SOAP message. If this works
    Then try to check in mapping is it passing the data correctly or not. With this check with the user authorization PIAPPLUSER. if its having less authorizations to execute this BAPI in ECC
    Thanks
    Gaurav

  • RFC Adapter : JCO_ERROR_CONVERSION : Unparseable date

    Hi all,
    We are working with RFC Adapter .
    We are getting the following error in RWB -->
    Component Monitoring --> Adapter Engine --> RFC
    Adapter 
    " JCO_ERROR_CONVERSION: Date '01.12.2005' has a wrong format at field VALIDITYBEGIN: Unparseable date: "01.12.2005" "
    - Error: 2006-02-03 11:17:13 IST: Message processed for interface BAPI_BANKDETAIL_CREATE: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122)
    Can anyone please suggest how to resolve it .
    Regards,
    Shikha

    Hi,
       In which format the date is passed from XI?
    If, it is of type Java Date there will be No conversion issue else if the it of Type <b>String</b> then the date should be in the format <b>YYYYMMDD</b>.
    Hope this helps you.

  • RFC Adapter not Call

    Hello Friends,
    I am working on XI 2.0
    My Scenario is
    IDOC --> XI --> RFC Adapter --> R/3 System
    I am configuring the RFC adapter for the SAP system.
    But when I am able to try to call using the Integration Engine it’s not call the RFC adapter.
    I define the end point as
    RFC Adapter
    (X) Load Balancing Deactivated
           Application Server -- <host name>
           System Number      -- 00
    When I run the scenario it show me in the <b>sm58</b> transaction as
    <b>Connection Close (no Data)</b>
    And in the SXMB_MONI Transaction it shows
    <b>A. Status</b> as <b>Green Flag</b> means <b>Message schedule on outbound side</b>.
    So can you please identify and suggest me the solution or what else configuration is required.
    Thanks & Regards,
    Gaurav Jain

    try to register all queues in SXMB_ADM -> Manage queues.
    I think that should help you solve the issue.

Maybe you are looking for

  • In iphoto my photos do no appear just a blank dated square. Somehow I messed up when trying to send a photo via email.I cannot not see any but 4 photos.

    Help!   In iphoto my photos do not appear just a blank dated square. Somehow I messed up when trying to send a photo via email.I cannot not see any but 4 photos.I tried all of the solutions that Apple suggested. Somehow I think that i am trying to se

  • Jboss/tomcat mapping configuration error

    I can't even get the combination to serve a .jsp file or .html file. Regardless of the URL that I attempt, I only get a No Context configured to process this request error from tomcat and INFO [Engine] StandardHost[localhost]: MAPPING configuration e

  • Sleep screen only

    When using iPhoto stabilization feature it can takes hours to complete. For some reason the display does not go to sleep like it normally does when this is running. My question is - is there a way to simply turn off the display and leave the process

  • Interactive Column Chart w/Sliding Date Range?

    I've created a stacked column chart in Numbers 3.0. It displays stacked data for a one week period using seven columns, one for each weekday. Is it possible to make an interactive version of this chart that would still display all seven stacked colum

  • Creating blocks while doing an Xref in 9.3.1

    Here is what I am doing I have Departments in Page while Employees and Projects are in rows and AllocatedCost(Account) is in Page. I do not want to use the CREATENONMISSINGBLK option in the Xref business rule since it is run on save and for each Depa