Component SALV_WD_TABLE - Read data

Hi all,
i'm using component SALV_WD_TABLE to display data in my web dynpro abap application.
The application implements a search which reads the whole amout of data and displays the entries in the grid. (configuration: about 20 entries are shown)
But now i want to scroll down/push the button to see the next entries.... I can see that the method to catch the data is executed again....?
Because of the huge amount of data i have to wait a long time before i can see the next entries.
Any ideas?
regards

Hi,
no i don't use WDDOMODIFYVIEW.
I have one screen with search criterias and a button "search".
If i push this button the data will be read via services.
So i put a breakpoint to the read_data method.....
After scrolling with the "scroll buttons" the breakpoint stops again....
Any ideas?
regards

Similar Messages

  • For webdynpro component SALV_WD_TABLE, how do we deactivate the toolbar

    For webdynpro component SALV_WD_TABLE, how do we deactivate the toolbar for the alv list display?

    * Data declarations for instantiation
      DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table   ,
            l_ref_cmp_usage           TYPE REF TO if_wd_component_usage.
    * Navigate from <CONTEXT> to <NODES> via lead selction
      lr_node = wd_context->get_child_node( 'CN_FECLM' ).
    * Instantiate the ALV
      l_ref_cmp_usage =   wd_this->wd_cpuse_usg_alv_feclm( ) .
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL .
        l_ref_cmp_usage->create_component( )                 .
      ENDIF                                                  .
    * Get model
      l_ref_interfacecontroller = wd_this->wd_cpifc_usg_alv_feclm( ).
      l_value = l_ref_interfacecontroller->get_model( )             .
      wd_this->l_value_feclm = l_value                              .
    * Remove the standard buttons available on ALV toolbar
      l_value->if_salv_wd_std_functions~set_sort_headerclick_allowed(
                                                               abap_false ).
      l_value->if_salv_wd_std_functions~set_edit_append_row_allowed(
                                                               abap_false ).
      l_value->if_salv_wd_std_functions~set_edit_insert_row_allowed(
                                                               abap_false ).
      l_value->if_salv_wd_std_functions~set_edit_delete_row_allowed(
                                                               abap_false ).
      l_value->if_salv_wd_std_functions~set_view_list_allowed( abap_false ).
      l_value->if_salv_wd_std_functions~set_sort_headerclick_allowed(
                                                               abap_false ).
      l_value->if_salv_wd_std_functions~set_edit_check_available(
                                                               abap_false ).
      l_value->if_salv_wd_std_functions~set_pdf_allowed( abap_false )      .
      l_value->if_salv_wd_std_functions~set_export_allowed( abap_false)    .

  • How to read data from select Options in another view without using context

    I have 2 views, one for selection screen and another for displaying result.
    In selection screen view I have define a select options with the help of webdynpro component.
    Now my object is display result in result view based on entry of selection screen.
    I don't want to do binding in context node, without that how I can read data of select option
    in result view?
    Regards,
    Rasmi Ranjan Mishra

    Solve by own.
    If I define the Select options in component controller, then it will be global in nature. so i can get the value of select options
    in another view also.
    Regards,
    Rasmi Ranjan Mishra

  • Service reads data but Bpel process does not start

    i have a very simple project. I have db2(as400) adapter and it reads data, i will receive data, transfom and send to oracle database. I deployed the project successfuly but when instance start i see the service reads the data but bpel process does not start and and there is no error. At the flow chart there is only readAS400 partnerlink, there is no bpelprocess. In the partnerlink i am usin polling, i read the data's with 1 and update to 2. It reads but dont update to 2.
    In deploy step and when instance starts there is no errors. But when i am deploying i get a warning but i dont know it's related with this situation.
    (Warning: property "activationAgent.readAs400.className" may not be understood by BPEL component BPELProcessEqpType - it will likely be ignored.)
    Do you have any suggestion ? Thanks in advance.

    check the recovery console, the bpel process possibly is going into manual recovery,
    Another thing you might wanna try is using checkpoints in your process..
    also, instead of getting the db adapter to instantiate the process, try a simpler process just to see if the db adapter is working or not..
    A normal process, which you manually instantiate from em console, with the db adapter in it after the recevie activity
    Edited by: AshishSharma on Jun 24, 2010 5:48 PM

  • Read data : for all entries

    wht happens if v read data using FOR ALL ENTRIES in select statement

    Hi Ankur,
    You can only use FOR ALL ENTRIES IN ...WHERE ...in a SELECT statement.
    SELECT ... FOR ALL ENTRIES IN itab WHERE cond returns the union of the solution sets of all SELECT statements that would result if you wrote a separate statement for each line of the internal table replacing the symbol itab-f with the corresponding value of component f in the WHERE condition.Duplicates are discarded from the result set. If the internal table itab does not contain any entries, the system treats the statement as though there were no WHERE cond condition, and selects all records (in the current client).
    For Example:
    SELECT *
      FROM SCARR
      INTO TABLE t_scarr.
    LOOP AT t_SCARR INTO wa_scarr.
      SELECT SINGLE *
        FROM sflight
        INTO wa_sflight
       WHERE carrid EQ wa_scarr-carrid.
      APPEND wa_sflight TO t_sflight.
    ENDLOOP.
    Instead of the Above use below code:
    SELECT *
      FROM SCARR
      INTO TABLE t_scarr.
    SELECT *
      FROM SFLIGHT
      INTO TABLE t_sflight
       FOR ALL ENTRIES IN scARR
    WHERE carrid EQ t_scarr.
    this condition, return all entries of the sflight
    Refer the Below Links for more Info:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3a1f358411d1829f0000e829fbfe/content.htm
    Regards,
    Sunil

  • Reading Data : LoadVars

    I want to read data from several files whose names are
    written in array
    then I want to get an array with names of those file whose
    content length is
    more than 1000.
    I have done looping and able to get data of files and check
    their length but
    not able to store the file name.
    this is happing probably becoz onLoad of loadvars is not
    gtting called in
    loop sequentilayy so that i can get the file name there
    itself , but onLoad
    is getting called one by one after the loop finishs .here the
    file name is
    lost.
    How to do !!!!!!!!!!!!!!!!!!11

    let me say first the problem is solved :) .
    But we even could not use boolean since loadis call in
    condition if
    condition false the would not load in that case false val and
    if condition
    true then true will be passed to handler function even in
    first go.!!! so
    that won't work.
    Second the list box path dint work if i used relativ path
    this.pah.list_combo.
    but worked if used absolute path _root.path.list_combo.. I
    dont know why
    but it it is working.
    "GWD" <[email protected]> wrote in message
    news:f6crko$kle$[email protected]..
    >
    quote:
    I had the same idea but i cannot hardcode the value like if
    > (LV.loadIndex==1000) .the newLV.load(nextToLoad); is
    called in a loop
    > where
    > some condition are checked and then newLV.load called so
    not able to
    > assign
    > value of loop to lv.
    >
    > OK then... instead of a loadIndex property, just assign
    a boolean .isLast
    > value to each LoadVars. If its not the last one should
    always be false.
    > The
    > only one with a true value assigned should be the last
    one in the LoadVars
    > creation loop.
    >
    > inside the onLoad handler, instead of
    > if (LV.loadIndex==1000)
    > use
    > if (LV.isLast)
    >
    >
    quote:
    2) the list box is on same time line and i am using
    > this.list_combo.addItem({label:"Label", data:"data"});
    > to populate list component.
    > I know it is correct , i debugged too but still not
    adding items to
    > combo.Is
    > there some timing related issues with lv and list.
    >
    > try :
    > list_combo.addItem({label:"Label", data:"data"});
    > instead of :
    > this.list_combo.addItem({label:"Label", data:"data"});
    >
    > If that doesn't work then post your code
    >

  • Ignore time component when comparing dates

    DB version:10gR2
    In one of our codes , the client wants the dates to be compared by ignoring the time component from the date.
    ie they don't want MM:DD:YYYY HH:MI:SS, they just want MM:DD:YYYY,
    So I am modifying
      when ship_date > est_date_del
      to
      when to_char(ship_date, 'YYYYMMDD')> to_char(est_date_del,'YYYYMMDD')
      This is fine. Right? Will there be any issues relating to this comparision logic. You guys have any suggestions when comparing dates using to_char function?

    But if you use TRUNC without fmt , then date will be truncated to the nearest day. Right? Wouldn't that make the calculations wrong?
    Sorry?
    Here is one demonstration ->
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>
    satyaki>with t
      2  as
      3    (
      4      select to_date('01-OCT-08 01:30:00','DD-MON-RR HH24:MI:SS') res from dual
      5    )
      6  select to_char(res,'DD-MON-RR HH24:MI:SS') orig_dt,
      7         to_char(trunc(res,'MONTH'),'DD-MON-RR HH24:MI:SS') cooked_dt
      8  from t;
    ORIG_DT            COOKED_DT
    01-OCT-08 01:30:00 01-OCT-08 00:00:00
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>Regards.
    Satyaki De.

  • Activating DemoContent: Error when reading data target

    I'm trying to activate the SAP Demo cube <i>Purchasing Data</i> (0D_PU_C01). The Grouping Mode is set to <i>In Dataflow Before and Afterwards</i>.
    When I simulate installation, I get the error message <b>Error when reading data target 0D_PU_C01</b> (Message no. RSAU126) in the logs (although in the Collection Area the Simulation Result column is marked with a green check).
    I could find only 2 notes related to this error in the SAP Service Marketplace. SAP note nr. 540873 is about the BW indexing job. Note nr. 587796 (Error in after import of update rules) seams more appropriate, however not thoroughly right. In fact it refers to <b>BW 3.1 Content</b> or <b>BW 3.0B</b>.
    My system version instead is:
    BI_CONT 353
    SAP_BW 350
    The very same problem occurs when I try to activate the SAP Demo <i>Sales and Distribution</i>.
    Any suggestion?
    Thanks, Davide

    Ok, it worked! Now however I have some more doubts.
    1. I can't find the InfoObjects (e.g. 0D_GR_QTY, 0D_PLANT, 0D_MATERIAL, etc.) anywhere in <i>Modeling -> InfoObjects</i>, even if:
      a) I can find them under the <i>InfoSource</i> tree of the <i>SAP Demo</i> Application Component
      b) they appear activated in <i>Business Content</i>
    What's going on?
    2. The newly activated <i>Purchasing Data</i> cube has been added to the <i>Unassigned Nodes</i> InfoArea, and not to a newly created SAP Demo Purchasing (0D_MMPUR) InfoArea, similarly to the structure I saw when collecting the InfoProvider in Business Content. Is this the normal behaviour?
    3. No DataSource has been assigned to any of the InfoSources. I read at:
    http://help.sap.com/saphelp_erp2004/helpdata/en/43/57df37463a126ae10000009b38f842/content.htm
    that the <i>SAP Demo</i> Source System will be used. What I can't understand is if I need to manually create and select this Source System. I thought it would be automatically created and assigned during the Business Content's cube activation. This is not the case. What steps would I have needed to perform?
    Davide

  • How to read data row by row in design studio 1.2

    Hi All,
    I have a requirement to display data as a a ticker in my design studio application.
    Attached picture shows the requirement.
    I want to display top 3 best selling products from the data source. Data source will have two columns i.e. Product Name and Revenue. Requirement is to display top 3 product in a single ticker as presented below.
    1. Product Name + Revenue            2. Product Name + Revenue           3.Product Name + Revenue
    Any idea how to achieve this?
    Best Regards,
    Tanisha

    Hi Tammy,
    Through the getData() function we can display the measure but as far as I know I never came across any function to display dimension value for that measure in design studio. In my requirement I need to display both measure and dimension (1. Product Name + Revenue).
    I have never used the KPI tile SDK component but does it provide this functionality as well?
    I have already seen this ticker code. It works fine for displaying a text box in ticker. But if someone wants to display something like above, then is it possible to read data row by row from a data source and then concatenate it as a string in a text box to display it in a ticker?
    Regards,
    Tanisha

  • How to read data from dynamic work area.

    Hi guys,
                I have created dynamic table and work area for report.
    i have populated few values in dynamic work area.
    Now i want to read that data from work area again for calculation.
    i can not use local varialbes to store those values as i dont know how many such variables i need to read.
    that will be known only at run time.
    So as per my knowledge i have only 1 option...to read those all values from work area.
    Kindly help me .... how can i read data which is stored in dynamic work area.

    Hi Kiran,
    Following is not exact code, but exact solution to your problem:
      LOOP AT <dyn_table> ASSIGNING <dyn_wa>.
          l_tabix = sy-tabix.
          ASSIGN COMPONENT 'KOTAB' OF STRUCTURE <dyn_wa> TO <l_kotab>.
          IF <l_kotab> IS ASSIGNED AND <l_kotab> IS INITIAL.
            <l_kotab> = gt_tabs-kotab.
            MODIFY <dyn_table> FROM <dyn_wa> INDEX l_tabix.
          ENDIF.
        ENDLOOP.
    I am hardcoding KOTAB as I was sure about that being in the dynamic structure.
    You can loop on the field catalogue, which you used to create dyamic table,  to use the FIELDNAME to read all the fields of the work area (structure) of your dynamic table.
    thanks,
    Aabhas
    Edited by: Aabhas K Vishnoi on Sep 24, 2009 8:12 PM

  • View Object to read data from a java file

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    For one of my view objects , I want the data to be read from a java file which exposes some method to return a collection.
    I cannot use a static view object in this case.
    Please suggest the best way to implement this requirement.Basically build a view object that should read data from a java file.
    Thanks,
    Praveen

    Depending on your use case you can either use a programmatic VO or directly expose the JV class as a data control.
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html

  • Read data from SAP R/3 Class-System

    Hello,
    first of all sorry when I posted this into the wrong subforum, but I wasn't sure about that. My Question is how to read data from the Classystem I have specified in my ABAP report.
    The goal is to read data from my individual class-system as well as data from MM and write them to a table that is to be read by another report. But right now I can't find information about the class system and abap. Maybe you know some tutorials or blogs about right that topic you can suggest?

    What class system have you specified in your report?
    Normally a class can be used by declaring a variable of type of the class in question, if this class can be instantiated this is. If your class can't be instantiated, but it has only class methods, you can call this method directly.
    But there is a lot more to this ABAP Object Oriented Programming, than just this short explanation. Search on SDN for some ABAP OO Tutorials.
    some links:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
    Transacation ABAPDOCU.

  • Can not read data from URL!

    Hello,
    I want to read data from URL (http://84.100.130.82:8000/;stream.nsv). But can not do it. Because when try to call function openDataInputStream() shows this error: java.io.IOException: response does not start with HTTP it starts with: ICY. How I can fix this bug?
    HttpConnection c = null;
    InputStream is = null;
    OutputStream os = null;
    StringBuffer b = new StringBuffer();
    String           response,
    responseLitle;
    c = (HttpConnection)Connector.open(&#8220;http://84.100.130.82:8000/;stream.nsv&#8221;);
    os = c.openOutputStream();
    os.flush();
    is = c.openDataInputStream();     // ERROR CODE HERE
    int ch;
    // receive output
    while ((ch = is.read()) != -1)
    b.append((char) ch);
    response = b.toString();Regards, Ramunas

    Hi, I�m trying to do the same as above, get MP3 from a Shoutcast server.
    I got the same fault ("response does not start with HTTP it starts with: ICY") when I tried to open an HttpConnection as bellow:
    ============================================
    HttpConnection conn = (HttpConnection) Connector.open("http://64.236.34.196/stream/1074");
    Then I tried to open a socket connection as bellow:
    ======================================
    SocketConnection conn = (SocketConnection) Connector.open("socket://64.236.34.196:80");
    String get = "GET /stream/1074 HTTP/1.1";
    DataOutputStream os = conn.openDataOutputStream();
    os.writeUTF(get);
    InputStream is = conn.openInputStream();
    But then I got the following error:
    =========================
    java.lang.SecurityException: Target port denied to untrusted applications
    Could someone help me to find out what is going on?
    Thanks a lot!

  • Read data from excel sheet and then perform the required operations.

    Hi all
    I need to write a procedure which can read data from excel sheet.I have excel sheet in which i have to options one is modification and other is addition.so if it reads modification then i need to read the concerned table name then check its availability in pl-sql datbase.If table exists then reading the realated column in that row to fire the querry. The excel sheet is saved in local disk c.
    can anybody help me with this.How i need to start specialy to read the data from excel sheet saved in local disk c.
    Edited by: user13334062 on Jun 30, 2010 3:45 AM

    Hi
    If you can convert the excel to a csv format, then it can be simply query from DB Creating Oracle External Tables. Best part is that you may still change the CSV using EXCEL.
    Following action Points can be adopt;
    *1. Convert Excel File to a csv. File Save as CSV*
    *2. Create Oracle Directory* ( This has to be the location of your excel file )
    SQL> Create directory mydir as 'C:\testdb'; --- "testdb" is the location folder in win for your excel sheet.
    *3. Create the External Table*
    SQL> create table my_ext_tab (
    Field1 Datatype,
    Field2 Datatype,
    Field3 Datatype,
    Field4 Datatype,
    Field5 Datatype
    Organization external
    (type oracle_loader default directory mydir
    access parameters (records delimited by newline fields terminated by ',')
    location ('my_ext_tab.csv'))
    reject limit 100;
    *4. Now you can query the table "my_ext_tab"*
    Select * from "my_ext_tab";
    Please avoid the reformat the data column inside the spreadsheet (CSV).

  • Error reading data from CLOB column into VARCHAR2 variable

    Hi all,
    Am hitting an issue retrieving data > 8K (minus 1) stored in a CLOB column into a VARCHAR2 variable in PL/SQL...
    The "problem to be solved" here is storing DDL, in this case a "CREATE VIEW" statement, that is longer than 8K for later retrieval (and execution) using dynamic SQL. Given that the EXECUTE IMMEDIATE statement can take a VARCHAR2 variable (up to 32K(-1)), this should suffice for our needs, however, it seems that somewhere in the process of converting this VARCHAR2 text to a CLOB for storage, and then retrieving the CLOB and attempting to put it back into a VARCHAR2 variable, it is throwing a standard ORA-06502 exception ("PL/SQL: numeric or value error"). Consider the following code:
    set serveroutput on
    drop table test1;
    create table test1(col1 CLOB);
    declare
    cursor c1 is select col1 from test1;
    myvar VARCHAR2(32000);
    begin
    myvar := '';
    for i in 1..8192 loop
    myvar := myvar || 'a';
    end loop;
    INSERT INTO test1 (col1) VALUES (myvar);
    for arec in c1 loop
    begin
    myvar := arec.col1;
    dbms_output.put_line('Read data of length ' || length(myvar));
    exception when others then
    dbms_output.put_line('Error reading data: ' || sqlerrm);
    end;
    end loop;
    end;
    If you change the loop upper bound to 8191, all works fine. I'm guessing this might have something to do with the database character set -- we've recently converted our databases over to UTF-8, for Internationalizion support, and that seems to have changed underlying assumptions regarding character processing...?
    As far as the dynamic SQL issue goes, we can probably use the DBMS_SQL interface instead, with it's EXECUTE procedure that takes a PL/SQL array of varchar2(32K) - the only issue there is reading the data from the CLOB column, and then breaking that data into an array but that doesn't seem insurmountable. But this same basic issue (when a 9K text block, let's say, turns into a >32K block after being CLOBberred) seems to comes up in other text-processing situations also, so any ideas for how to resolve would be much appreciated.
    Thanks for any tips/hints/ideas...
    Jim

    For those curious about this, here's the word from Oracle support (courtesy of Metalinks):
    RESEARCH
    ========
    Test the issue for different DB version and different characterset.
    --Testing the following PL/SQL blocks by using direct assignment method(myvar := arec.col1;) on
    different database version and different characterset.
    SQL>create table test1(col1 CLOB);
    --Inserting four CLOB data into test1.
    declare
    myvar VARCHAR2(32767);
    begin
    myvar := RPAD('a',4000);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('a',8191);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('b',8192);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('c',32767);
    INSERT INTO test1 (col1) VALUES (myvar);
    commit;
    end;
    --Testing the direct assignment method.
    declare
    cursor c1 is select col1, length(col1) len1 from test1;
    myvar VARCHAR2(32767);
    begin
    for arec in c1 loop
    myvar := arec.col1;
    --DBMS_LOB.READ(arec.col1, arec.len1, 1, myvar);
    dbms_output.put_line('Read data of length: ' || length(myvar));
    end loop;
    end;
    The following are the summary of the test results:
    ===================================
    1. If the database characterset is WE8ISO8859P1, then the above direct assignment
    method(myvar := arec.col1;) works for database version 9i/10g/11g without any
    errors.
    2. If the database characterset is UTF8 or AL32UTF8, then the above direct assignment method(myvar := arec.col1;) will generate the "ORA-06502:
    PL/SQL: numeric or value error" when the length of the CLOB data is greater
    than 8191(=8K-1). The same error can be reproduced across all database versions
    9i/10g/11g.
    3. Using DBMS_LOB.READ(arec.col1, arec.len1, 1, myvar) method to read CLOB data into a VARCHAR2 variable works for both WE8ISO8859P1 and UTF8
    characterset and for all database versions.
    So - it seems as I'd surmised, UTF8 changes the way VARCHAR2 and CLOB data is handled. Not too surprising, I suppose - may you all be lucky enough to be able to stay away from this sort of issue. But - the DBMS_LOB.READ workaround is certainly sufficient for the text processing situations we find ourselves in currently.
    Cheers,
    Jim C.

Maybe you are looking for

  • HT201210 my i pod is not working

    i update my i pod 4g to iso 6 and now the is not geting on its stuck with its apple start up screen pls help!!!!!

  • BPC 10.0 - Monthly closing balance - Brought forward happens at ECC or to be done at BPC end using BRs?

    Dear All, BPC 10.0 - Consolidation Project When performing consolidation, every month's closing balance is being brought forward from one month to next month. Would like to know the business practice on how this is being brought forward. My question

  • Contra Entry & Cash/bank Payment

    Hi All I want to know that from where should i enter the contra entries ...Outing payments & Incomming payments or Journal Voucher. There is a bit confusion regarding the daily cash and  bank payments other than the invoices...which screen should i u

  • Boundary lines showing in PDF

    I hope this is the right place to post this. If not, would someone tell me the best forum on which to post it? Some of my finished PDFs have boundary lines showing around--or sometimes even within--text boxes filled with color. The files were created

  • Business Agreement

    Hi All, I'm trying to create a business agreement, but although I have read the help.sap.com I still don´t quite understand how to create one. I know it is a BSP and can be linked to the costumer, but where exactly can I create one? In the fact sheet