Incosistent data in RFC

Hi experts!!
I am facing the following problem:
I have created an WDJ application that calls an RFC. The RFC returns a table. When i run the RFC straight from the R/3 it gives me a certain number of entries (e.g. 48). But when the RFC is called from the WD it gives me one entry less. And to be more precise the last entry is missing.
Any ideas???
Please help!!
Thanx in advance!!!

hi,
are you displaying the values in a table
after selecting a few rows in another table?
i mean based on some condition like
isMultiselected, and then populating it into the table
or you have just applied table template to a model node ?
if u are displaying on condition like isMultiselected() always the last record will not be displayed..if this is the case then change the condition to isSelected() and check
Regards,
Satya.

Similar Messages

  • Reg: Proxy error while fetching data from RFC's

    Hi All,
    I am fetching data from RFC's. When the data is in bulk I am getting an error like:
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request POST /webdynpro/dispatcher/sap.com/pb/PageBuilder.
    Reason: Error reading from remote server
    When the data is samll only I am not getting any error and am able to fetch it easily. Please suggest me something in this regard.
    Thanks in advance,
    Gaurav

    Hi Detlef / Gowtham,
    Now I am able to fetch data from flat files from OWB Server as well as OWB Client.
    One way I have achieved as suggested by you
    1) Creating location on the OWB Client
    2) Samples the files at client
    3) Created & Configured external table
    4) Copy all flat files on OWB Server
    5) Updated the location which I created at the client.
    Other way
    1) Creating location on the OWB Client
    2) Samples the files at client
    3) Created & Configured external table
    4) Copied flat files on the sever in same drive & directory . like if my all flat files are on C:\data at OWB Client then I copied flat file C:\data on the OWB Server. But this is feasible for Non-Windows.
    Hence my problem solved.
    Thanks a lot.
    Regards,
    Manmohan

  • How to transfer data of RFC into Internal Table inside a WD4A program?

    Hi Experts,
    I have created WD4A program. This program calls RFC. The output of RFC has to populate  a UI table. THe different cells of the table should have different color based on data.
    I have gone through following link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/707fb792-c181-2d10-61bd-ce15d58b5cf1
    The above link fetches data from directly from table. Then it passes the data into internal table.
    If I am using RFC, then how I can insert data of RFC into a internal table in WD4A program (se80 In drop down Web Dynpro Comp / Intf)
    My motto is to have table ouput whose different cells should have different color based on data.
    Please help.
    Regards,
    Gary
    Edited by: Jason Lax on Dec 28, 2011 2:52 PM (Fixed broken link)

    Hi Experts,
    I have resolved the issue. I have created WD4A program. This WD4A program calls the RFC.
    The RFC has a structure as export parameters called 'RESULT_FINAL'. I have altered the associated type of this table export parameter. I added Component 'Color' of component type 'WDUI_TABLE_CELL_DESIGN'.
    In the RFC I have added some code. The code is as below:
    loop  at it_t1.
          select pernr from pa0000 into table it_t2 where  pernr = it_t1-pernr  and stat2 ='3'
          and begda <= sy-datum AND endda >= sy-datum.
          if sy-subrc = 0.
            result_final-org_unit = result_objec-objid.
            result_final-pernr = it_t1-pernr.
            result_final-name = it_t1-name.
            result_final-color = '02'.       append result_final.
          endif.
        endloop.
    The line   result_final-color = '02'.   
    code returns Color.
    In the WD4A program, I have changed the Cell Design property of selected table coloumn to Color.
    This resolved the issue.
    Thanks every one for the reply.
    I have added above information for other SDN users.
    I am closing this thread,
    Regards,
    Gary

  • BC-XOM - "data direct" RFC is receiving ##'s -from ECC 6.0 Unicode to Esker

    When using BC-XOM sending
    From - our Unicode ECC 6.0 system
    To - Esker Deliveryware system
    Esker is receving only ##'s during connectivity testing
    There are some discussions surrounding that SAP no longer supports BC-XOM "data direct" RFC interface but that they do support "data by file" use with BC-XOM
    Possible issue --
    Perhaps the ###'s are being received by Esker due to their inability to handle Unicode receipt correctly?
    Feedback / thoughts?
    Any insite as to SAP's use/support of BC-XOM data direct vs. alternative use of BC-CON
    Trying to get around this .......

    Hello Doreen. If you are still experiencing the same issue,
    call esker's tech support and tell them to give you the unicode patches for their servers. I know they have them.

  • Is it possible to retrieve data using RFC alone with out using BAPI ?

    Hi ,
    Is it possible to connect SAP to Non-SAP systems to retrieve data using RFC alone with out using BAPI ?
    thanks
    Rama

    Hello Nelson,
    Could you please explain how this can be done. Because my understanding is that only BAPI can be used to connect Non SAP and SAP system not RFC function module.
    Regards
    Farzan

  • CCMS: Monitoring data through RFC or Agent?

    Hi,
    I have a  question of understanding:
    When I open a monitor on my CEN system (ta RZ20), it starts collecting data from the remote systems.
    To do this, the CEN system uses a RFC connection, which has an account and a password from the remote system.
    From time to time I have the situation, that this account has been expired.
    Then, when opening the monitor in RZ20, I get a Login dialog for that system. I always skip this dialog.
    When the monitor finally shows up, in some cases the MTE of the system with the expired account shows up and in some other cases the MTE does not show.
    How can the CEN collect monitoring information of the remote system, even if the account that it has to use is locked out? I have systems, where that account has been locked out for  several weeks ...(Is the agent sapccm4x used instead?)
    Rigas

    Hi Yoganand,
    thanks a lot for your helpful answer!
    I did not know that CEN first calls the sapccm4x agent and only in case of inactivity it uses the RFC based data collection method.
    I never could find that info anywhere in the SAP help.
    From time to time I have the following situations with a system, who's built-in RFC account has been locked out:
    When I open the monitor in RZ20, the login account shows up. I cancel and finally the monitor comes up and the data of this system is included!!
    That could be something like a timeout effect: after a certain number of seconds, CEN tries to get data over the RFC in addition to still trying the agent ... and then the agents finally answers and delivers the MTE data (the RFC cannot authenticate and therefore will never deliver anything ... )
    Rigas

  • Problems Displaying data from RFC on Adobe Forms

    Hi,
    I have some Problems with creating an Adobe Form and hope, someone can help me or give me some hinds to some tutorials, which can help me.
    I'm developing an webdynpro-application which get data from a R/3 via RFC-Call.
    Context-Binding and so on is done and works. I created also an interactive form and can display some datas on it.
    Here my questions:
    I have an field 'unit' which shoulb be displayed on several positions onto the form. My problem is, i can display it only once. If i copy the field, there is no output in it. What can i do, to solve the problem?
    From the RFC i get a table with several rows of data, i want to display on the form.
    With drag&drop i can place the fields onto the form but they are displayed only once. I want one line for every row from the table.
    What do i have to do? Are there tutorials which show the steps?
    When I am not using a form, i can display the data from RFC in a table with no problems (i create a table ui and choose create binding from context menue). Are the nescessary steps for displaying the data on an interactive form the same.
    I read something about creating a dynamic form design. Do i have to create it? What are the steps i have to do.
    Many questions, but i hope that someone can give me some helpful hints.
    Many thanks
    Mathias Lange

    Hi Mathias,
    If I caught you correctly, you want to display data in Adobe forms in form of tabel, right?
    So, follow the steps:
    1. Insert one sub form on your adobe form.
    2. Set its type as "flow content" in object->subform property.
    3. Set flow direction as "Table".
    4. Insert another subform inside this subform.
    5. set its type as "flow content" and flow direction as "Table row".
    6. Now, choose binding tab, and there check "repeat subform for each Data item check box" and specify min. count for your rows.
    7. Now, insert your column fields inside this sub form once.
    8. Format its look and feel as you want.
    When you run this application, it will show you multiple data as table on Adobe form.
    Regards,
    Bhavik

  • Creation of Production order in Past dates using RFC

    Hi all,
    I am using RFC to Create a production order based on the datas available from MES systems.Here the process flow is From MES system datas are passed to interface in file format then from interface will calll the RFC so that the RFC will do the function of Creating the Production order & release in SAP.
    Here i face an issue that i have 3 shifts at the end of every shift i have to tranfer the datas from MES to SAP .Which means i have to create 3 Production orders for a day.My issue here is the third shift datas will be availble for me in the next day morning after that only i am able to transfer theses datas to SAP.In this case i want the SAP to create th Production order  for third shift in the Previous day time.
    Ashift - 7AM t0 3PM
    BShift-3PM to 11PM
    CShift-11 PM to Next day morning 7 AM
    I need SAP to create Production order for Shift C on 11 PM of the Previous day when i transfer it on next day morning 7AM.
    Is this possible.
    Thanks in Advance,
    MBN

    Hi,
    I mean the Production Created date as the basic date only.
    My requirement is for the C shift i will get the output from the MES on the next day morning.After that i wwill transfer the production datas to SAP throgh Interface at that time i need the basic start date & time  of the production order to be the C shift starting time that is previous day night 11.00 PM.
    Eg.
    C shift  date 12.04.2010 night 11PM to 7AM
    i transfer the c shift production datas from MES to SAP on 13/04/2010 Morning 7AM.But i want these datas to create basic start date & time of the production order on 12/04/2010  11PM.
    What should be done to get these.
    Thanks in advance,
    MBN

  • How to get the data from RFC ?

    Hi,
    I am using the Import  Adaptive RFC Model, where the RFC display the amatrial Information date.
    But when I deploy the application I am not getting the data.
    How to test the bindings are correct as well as is any lines of code has to be written in the Implementation part?
    Please suggest
    regards,
    CSP

    Hi,
    First, drag and drop the Z<RFCNode>_Input node from model to custum controller.
    From there, u can select both input and output parameters.
    After that, Make sure that In custom controller's init(), the following code is present
    Z<RFCNode>_Input input=new Z<RFCNode>_Input();
    wdContext.nodeZ<RFCNode>_Input().bind(input);
    Create execute() method in custom controller and  in execute method, check whether u added
    wdContext.currentZ<RFCNode>_InputElement().set<InputParam>(inputparametervalue); // If any i/p parameter is there. You can set this from view also if u mapped the RFC node to view
    wdContext.currentZ<RFCNode>_InputElement().modelObject().execute();
    Also check all mappings are done correctly.
    After saving all, Call execute() method from view as wdThis.wdget<custcontroller>().execute();
    After execute(), u will get the output from node Output, which is inside Z<RFCNode>_Input  node.
    Regards
    Fahad Hamsa

  • Error during loading of transaction data: An RFC call-up triggered the ...

    Dear Sirs,
    during loading of master data from a 4.6C SAP system to BI 7.0 SP9 I get the following error during processing (data packet).
    <i>"An RFC call-up triggered the exception (ID: RSAR NO: 503) "</i>
    The strange thing with this error is that it emerged today, after successfully loading master data and a subset of transaction data yesterday from same source system.
    Has anyone else come across this error, and can tell us where we should look for a possible solution? (or a better error explaination).
    The RFC connections works fine when testing in SM59, and was functioning yesterday. No relevant dumps in either system.

    Hi folks,
    I am also interested in this error.
    Thanks.

  • Dynamic Logon Data in RFC receiver adapter?

    Does someone know if and how the logon data (userid) defined in the communication channel for a RFC receiver adapter can be dynamic overwritten? For example using  information from the payload?
    Scenario: A request for getting HR data is send from a legacy system to XI, mapped to a RFC and routed to R3.
    The audit people want to see a real user login into the R3 system to execute the function module and not the technical user defined in the communication channel.

    That's exactly what principal propagation is.
    You just have to make some (quite a lot, actually) configurations to enable it.
    Check these links:
    Online documentation: http://help.sap.com/saphelp_nw70/helpdata/en/45/0f16bef65c7249e10000000a155369/frameset.htm
    Weblog: /people/alexander.bundschuh/blog/2007/01/16/principal-propagation-in-sap-xi
    Regards,
    Henrique.

  • How to send data to RFC Destination(RFC SENDER Adapter)

    Hi ,
    Scenario:  R/3 Backendà RFC Sender Adapterà XIàsome other system.
    I have configured the RFC destination (of the type TCP/IP) at R/3 System and have registered the Program ID (specified in the RFC destination) in the XI server and using it in the configuration parameters of the RFC Sender Adapter.
    Problem: I do not know how I can send data to the RFC destination. (Should I use a report program/ ABAP Function Module?) Can anybody provide me with a sample code of Report Program/Function module (whichever is required), how to send data to the RFC Destination, so that it may be picked up by my RFC Sender Adapter.
    Thanks and Regards,
    Siva Maranani

    I have one query for you that
    I am trying to develop a scenario in SAP XI
    SAP R/3 ( RFC function module) sends a synchronous request to the XI and SAP XI will send this request to a third party web application using HTTP receiver adapter.
    I am able to send the data/message and it is successfully received at the third party web application.
    But I am facing one issue that I am unable to receive any message/data in my RFC module back.i have seen in sxmb_moni that the two messages are displayed in successfuly processed but in SAP R/3 side nothing get happedned
    Can you tell me how to use some waiting mechanism in function module to wait for the response from SAP XI.
    Regards
    Gopesh

  • BPM scenario to send same file data two RFC function modules

    Hi,
    Scenario:same file  need to send the data to two different RFC functions.
    so in this case i need to use two receive steps or only one receive step? beause file should be places in the archive after second rfc triggered.
    but this scenario client need to go with BPM only .I am new to BPM.please suggest the steps and process need to follow for this scenario.

    Hi,
    You will have one async receive step to start the BPM from your file interface, 2 synchronous send steps for each RFC, and an async receive step to archive.
    Don't use the transformation steps in BPM, as it decreases performance. You can use the same abstract interface for your file format in the send steps, but specify different Send Contexts for the receive steps. In Configuration, use a condition on Context object ProcessStep = Send Context from your BPM, and route to the correct RFC interface, using a mapping from your file to the RFC.
    Hope this helps !
    kr,
    Peter Glas

  • Problem with german date and rfc function

    Hello,
    i have created a function with the following import parameter in our ERP System:
    DATUM_BIS     TYPE     DATUM
    DATUM_VON     TYPE     DATUM
    SYSTEM                     TYPE     CHAR4
    If i use this function as data service in the vc and create an input form by drag and drop then the datas that i type into the inputform will be "translated".
    datum_bis:  30.12.07 will be translated to 12.06.2009 (us format)
    datum_von: 01.12.07 ""                           12.01.2007
    Date Format is Local Format.
    I need the german format for my application. Who can i reach this
    Thank you
    Heiko
    Edited by: Heiko Rieke on Dec 21, 2007 3:35 PM

    Hey you write the RFC in the backend system as DE as soon as u logon to the system.And u can also export your date as u want from your backend system as per your requirements.You contact the ABAP technical consultants,In ABAP we can specify the date format then you can get as per your requirements.

  • How to set Date in RFC call.

    Hi,
    I am trying to set date in structure when calling RFC.
    ICall = function.getImportParameterList();
    ICall.getStructure("IORDER").setValue(eDate,"EDATE");
    EDATE is date field in Structure in RFC with data type "D" and it is taking date in "dd.mm.yyyy"; formate.
    I am setting date  "dd.mm.yyyy"; in string format with eDate variable and it is throwing error.
    Can any one tell me How I can set date for "EDATE" field in proper format.
    Can I do JCO.TYPE_DATE date1 = new java.util.Date();
    And How I can convert date in acceptable format "dd.mm.yyyy"; for RFC.
    Thanks for your help
    Ashish

    Hi Sateesh,
    Thanks for your Answer.
    I used java.util.date and it works fine.
    Icall.getStructure("IOrder").setValue(new java.util.date(), "EDATE")
    I came to know that java date variabel can be passed without any extra conversion to ABAP type D variable .
    Is it OK? As I am setting  java date variable directly to ABAP type d variable in RFC.
    I have awarded you points for very helpful answer.
    Thanks.
    Ashish.

Maybe you are looking for

  • Easy Points...Easy Question

    I know you take out the battery, but then what do you do to perform a hard-reset of a macbook?

  • Oracle Access Manager and Passing Cert Info to HTML or JSP

    Friends, We are trying to pass the CN information from our smartcard (CAC) that looks i.e. john.doe.123456789 as a parameters to an Oracle Forms using the staticHTML implementation utilizing the OBLIX SSO OR utilizing a JSP or HTML file to read these

  • Security issue in planning app

    Hi All, I have issue while trying to provide access to users by changing the security for members in planning application->administration->Dimensions. Usually, it will give the list of members of the dimension that is selected from the drop down list

  • Live Migration of Lync 2010 Servers

    Hello we have a new Hyper-V 2012R2 3-node cluster.  We are currently running our 02 nodes of Lync servers (DI, ED, etc...) and would like to know if MSFT has officially sanctioned live migration of Lync Servers.  In 2008R2 it was explicitly defined n

  • Question for Joe Weinstein

    Hi Joe. Please, could you give me some hints about JDBC Drivers for MSSQLServer? I'm puzzled indeed with the different versions and different names I could find out around there. So, say I'm running WLS 6.1 against MS SQL Server 2000 both on Windows