- Add an empty row before every subtotal display -

Hi,
I would like know the best way to define an empty row before the start of subtotal display in the BW query.
Thanks,
Venu

Hi,
Pls Refer - /thread/814122 [original link is broken]
Regards
CSM Reddy

Similar Messages

  • Set default 3 empty rows on edit (in the table view)

    Hi
    i need to add 3 empty rows, currently only 1 rows gets added by default on edit..
    i tried using the add method of collection wrapper.. i did not find any differrence..
    its adding only one row.
    has anyone worked on similar requirement or any help on this..
    thanks
    Dinesh.

    hi Ravi,
    thank you very much for the reply,  but i even gave 10,10 but there is no change in the display..
    even before edit and after.. in the insert button.. i am able to add 3 new empty rows but on edit
    its not working.. through collection wrapper->Add or insert methods..
    is there any other way to insert new empty rows through program on edit or is there any configuration...
    thanks
    DInesh

  • Advanced Table delete empty rows

    Hi
    I added logic to add 10 empty rows and to delete the empty rows when the form is submitted. But somehow it only deletes the rows in current screen of the Advanced Table. if there are 15 rows and I click next to go the last 5 and submit the form it deletes only the 5 empty rows but not the other 10 rows in the previous section.
    where am I doing wrong?
    Thanks
        Row [] row = null;
        ExpAttendeesVORowImpl rowi = null;
        if( expattendeesvoimpl1 != null )
            row = expattendeesvoimpl1.getAllRowsInRange();
            System.out.println("No of items "+row.length);
        for (int i=0;i<row.length;i++)
             pageContext.writeDiagnostics(this, "in loop ", 2);
             rowi = (ExpAttendeesVORowImpl)row;
    pageContext.writeDiagnostics(this, " in loop row "+ rowi.getName(), 2);
    if((rowi.getName() == null))
    pageContext.writeDiagnostics(this, "deleting row"+ rowi.getName(), 2) ;
    rowi.remove();
    Thanks

    you could instead try using:
    expattendeesvoimpl1.getFilteredRows("Name", null);

  • Flash MX add image to page upon every click. Please help.

    Hi All,
    I have a project that I am really struggling with could somebody help? Basically I have a fake letter that users need to proof read and select where they think errors have been inputted. On a basic level, I would like on screen 1 for the user to click wherever they think a spelling mistake is. Everytime they click a small ring (image) will be placed on the screen. Once the quiz has timed out, the rings that are within certain boundaries (IE Words) they are given a score. All within boundary gets a point, any outside are -1.
    I apologise if I have not explained this clearly. If you ned anymore info please ask. My main problem is that I only have access to Flash MX. I bet by now there is a button that produces exactly what I have specified!!!
    Many thanks in advance.
    Chris M

    Hi Amit,
    There are many threads available on SCN similar to your requirement.
    To add an empty row initially, you need write logic in WDDOINIT( ) method of VIEW i.e
    Sample:
    DATA lt_material TYPE wd_this->Elements_material.
    DATA lo_nd_material TYPE REF TO if_wd_context_node.
      lo_nd_material = wd_context->get_child_node( name = wd_this->wdctx_material ).
    append initial line to lt_material.
    lo_nd_material->bind_table( new_items = lt_material
      set_initial_elements = abap_true ).
    Please refer the below document for add row & delete row functionality.
    How to make table cells as editable / non-editable dynamically in Web Dynpro ABAP
    Hope this helps you.
    Regards,
    Rama

  • How to add empty rows in table in smart form

    how to add empty rows in table in smart form?
    plz help me regarding this
    send me ur queries to [email protected]

    You will need to add some extra rows to the internal table that your table is displaying.  Use a program node to append additional rows with a key but no argument.
    Alternaively a template may me more suitable for your requirement than a table.
    Finally, please do not include you e-mail address in your question.  Your question and the answers provided to it are for the benefit of everyone in the Community.
    Regards,
    Nick

  • Add Row Before Or After Selected Row In af:Table

    Hi,
    Please let me know how can we add a row either before or after the selected row in the af:table.
    Currently i have a table with 2 toolbar buttons. 1.Add Before 2.Add After.
    User selects the row and clicks either AddBefore/After button ... then, an empty row should get added in the table as per the button clicked.
    Please suggest me your inputs.
    Thanks,
    Kiran

    chk this
    http://mjabr.wordpress.com/2011/07/02/how-to-control-the-location-of-the-new-row-in-aftable/

  • How to avoid displaying empty rows in a table?

    The situation is as follows:
    I have got a set of questions under a particular category say marketing category.
    The user will be displayed with a table consisting of a set of questions from a particular category with four radio buttons for each question.
    Now once he is done with all the set of questions under a particular category, he will be navigated to the next set of questions under some other category say 'xyz'
    Now instead of creating seperate view objects for each category, we have created a view object which will hold all the set of questions from all the category but will display only the set of questions under a particular category by declaring a variable in the backing bean and setting the question rendering to the value in the variable. the value to the variable will be changed once the user is done with answering all the set of questions under a particular category.
    Now the problem that i am facing is:
    Because of the rendering condition that i have used, it displays only those rows that have the rendering condition set to the variable in the backing and displays all other empty rows overlapped.
    How do i avoid this situation ??

    Seems odd, but you could use COALESCE to achieve this.
    ME_XE?create table all_nullz (col1 number, col2 number, col3 number);
    Table created.
    Elapsed: 00:00:00.20
    ME_XE?
    ME_XE?insert into all_nullz values (1,2,3);
    1 row created.
    Elapsed: 00:00:00.12
    ME_XE?insert into all_nullz values (null, null, null);
    1 row created.
    Elapsed: 00:00:00.06
    ME_XE?
    ME_XE?delete from all_nullz where coalesce(col1,col2,col3) is null;
    1 row deleted.
    Elapsed: 00:00:00.26
    ME_XE?

  • Add Empty Row not working

    Hi,
    We have an "Add Empty Row" Button.
    When that is clicked a new row seems to be added but we cannot view it.
    It is visible when a seperate action is carried out. Like a checkbox being checked.
    It seems that there is no refresh after the row has been added.
    This was working previously.
    What change could have been done that has caused this.
    Regards,
    Girishkumar Hegde

    data lo_nd_nd_pernr type ref to if_wd_context_node.
        data lt_nd_pernr type wd_this->elements_nd_pernr.
        data ls_nd_pernr type wd_this->element_nd_pernr.
        lo_nd_nd_pernr = wd_context->get_child_node( name = wd_this->wdctx_nd_pernr ).
        lo_nd_nd_pernr->get_static_attributes_table( importing table = lt_nd_pernr ).
      if lt_nd_pernr is initial.
          append ls_nd_pernr to lt_nd_pernr.
        elseif lt_nd_pernr is not initial.
      clear ls_nd_pernr.
      append ls_nd_pernr to lt_nd_pernr.
        endif.
      lo_nd_nd_pernr->bind_table( lt_nd_pernr ).
    This is the sample code for adding rows. Compare with this.

  • SSRS display empty rows

    Hi,
    We have a simple report like the following left side, because we use group by in query, now the empty rows will not show in report.
    Is there any way we can show all empty items from column B as the snapshot right side? Thank you.
    select columnA, columnB, sum(total1) as Total
    from mytable
    group by columnA, columnB

    That's not so much an SSRS issue as it is a SQL issue. It can be tough getting SSRS to display data that doesn't exist.
    You may be able to get it to work using a Matrix but my personal preference is to handle it in the SQL code itself. Something like the following should work for you...
    CREATE TABLE #temp (
    ColA CHAR(2),
    ColB CHAR(2),
    Amt INT
    INSERT #temp (ColA,ColB,Amt) VALUES
    ('A1','B1',10),
    ('A1','B1',10),
    ('A1','B2',25),
    ('A1','B2',5),
    ('A1','B3',10),
    ('A2','B1',20)
    -- SELECT * FROM #temp
    SELECT
    t0.ColA,
    t0.ColB,
    SUM(COALESCE(t.Amt, 0)) AS Total
    FROM
    #temp t
    FULL JOIN (
    SELECT
    t1.ColA,
    t2.ColB
    FROM (
    SELECT DISTINCT t1.ColA
    FROM #temp t1
    ) t1
    CROSS JOIN (
    SELECT DISTINCT t2.ColB
    FROM #temp t2
    ) t2
    ) t0
    ON t.ColA = t0.ColA
    AND t.ColB = t0.ColB
    GROUP BY
    t0.ColA,
    t0.ColB
    ORDER BY
    t0.ColA,
    t0.ColB
    Jason Long

  • Empty rows in a table should not be displayed

    Hi,
    I have an ADF table which contains 10 rows and 5 columsns,
    in which i have rendered all the values in 5 columns of 5 rows to false.
    But when displaying the table,the empty rows are displaying by overlapping..
    I do not want to display those empty rows.
    Thank u
    Bhanu

    Duplicate of How to make some rows of a table invisible
    Frank

  • How to add a row for every 5 records using logic:iterate

    Hi,
    In my application, using logic:iterate iam displaying 20 records per page.
    I want to insert a row for every 5 records.
    Please tell how to insert that row.
    Thanks in advance.
    Mohan

    I think this could work for you
    for (int x=1 ; x<=20 ; x++) {
    addRowWithRecord
    if (x%5==0)
    addEmptyRow
    }

  • How to preselect all rows before displaying ALV report

    I would like to select all rows before sending ALV Grid Display. User then can unselect couple of rows for further processing. How do I do that ?. Im using Method grid1->SET_TABLE_FOR_FIRST_DISPLAY for ALV Report Display. Any help appreciated.

    Ok,
    I've started the editor and check my code. I made few small mistakes (like with this exporting/importing), here's the sample - correctly working - code:
    DATA: it_selected TYPE lvc_t_row,
          wa_selected TYPE lvc_s_row,
          wa_sflight TYPE sflight,
          ltp_layout TYPE lvc_s_layo.
         SELECT *
           FROM sflight
           INTO TABLE gi_sflight.
    ltp_layout-stylefname = 'CELLTAB'.
    ltp_layout-sel_mode = 'A'.
    LOOP AT gi_sflight INTO wa_sflight.
          wa_selected-index = sy-tabix.
          APPEND wa_selected TO it_selected.
    ENDLOOP.
    *   * Load data into the grid and display them
         CALL METHOD go_grid->set_table_for_first_display
           EXPORTING i_structure_name = 'SFLIGHT'
                     is_layout            = ltp_layout
                     i_save = 'A'
           CHANGING  it_outtab        = gi_sflight.
    CALL METHOD go_grid->set_selected_rows
          EXPORTING
            it_index_rows = it_selected.
    This time it is 100% correct.
    Edited by: Marcin Cudo on Apr 11, 2010 2:13 AM

  • Display last two rows for every group

    Hi,
    I want to display only last 2 rows for every group.
    My table look like
    ACN DATE COST APPL
    A6ERA 14-JUN 150 B777
    A6ERA 14-JUN 180 B787
    A6ERA 15-JUN 120 B677
    A6ERA 14-JUN 155 B777
    A6ERB 13-JUN 166 A777
    A6ERB 14-JUN 157 B777
    A6ERB 11-JUN 159 B787
    A6ERC 14-JUN 099 B777
    A6ERC 11-JUN 102 B788
    In the above table, I want to display only the last two rows group by ACN
    Like the below table
    ACN DATE COST APPL
    A6ERA 15-JUN 120 B677
    A6ERA 14-JUN 155 B777
    A6ERB 14-JUN 157 B777
    A6ERB 11-JUN 159 B787
    A6ERC 14-JUN 099 B777
    A6ERC 11-JUN 102 B788
    Please reply

    Nihar
    To get the first two rows from each group, you could do this:
    Use the ROW_NUMBER() analytic function (see http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions137.htm#i86310)
    Now, your question isn't clear what you mean by "last" two rows. Last in what order? Whatever it is, you can use the ORDER BY part of the ROW_NUMBER() function to specify the ordering, and reverse it using DESC - for example:
    select acn, adate, cost, appl from (
        select acn, adate, cost, appl,
                  row_number() over (partition by acn order by adate desc) as rn
        from  acntab
    where rn <= 2
    order by acn, rnHTH
    Regards Nigel

  • Display null -- as empty row

    Team,
    If I select "Display Null: Yes", then I see % sign. But I want null value to be empty row.
    How can I do that?
    Thank you.

    I figured this by myself. Select
    Display Null : Yes
    Null display value: All empty spaces

  • Empty rows in advanced table

    Hi there,
    In my advanced table with multiple selection check box, I have the logic to insert 10 rows into the view object before the table is rendered. So my table display 10 new blank rows.
    Assume user only enter 3 rows and I don't want to save those 7 empty rows. How can I recognize the 7 empty rows and remove them from the VO?
    Please advise.
    thanks,
    Charles

    Hi Charles,
    You may be dispalying some columns on OAF page, check all thos for null, if every field is Null then it is unused and you can remove it.
    This is sample code:
    public void deleteUnusedLines()
    XXEGASRLinesVOImpl pervo = getXXEGASRLinesVO1();
    if(pervo==null)
    Row row[] = pervo.getAllRowsInRange();
    System.out.println("No of items "+row.length);
    for (int i=0;i<row.length;i++)
    XXEGASRLinesVORowImpl rowi = (XXEGASRLinesVORowImpl)row;
    if((rowi.getItemDescription()==null)||("".equals(rowi.getItemDescription().trim())))//add more conditions here to locate empty rows.
    rowi.remove();
    Regards,
    Reetesh Sharma

Maybe you are looking for

  • Can't move or copy files in Finder!

    I installed the latest software update, something to do with Airport I think, and since then I am not able to move documents into sub folders, or copy items from a CD to the desktop or external drives. My OS is up to date, I've repaired permissions,

  • ITS could not connect to the Web Application Server or the R/3 System

    ITS 6.20 on a single host on a WinXP test machine, connecting to R3 4.6C. The webgui <u>was</u> working, but a test application created in the WebStudio would not work. Now it's the other way around, the test application works fine, but the webgui fa

  • Has anyone had a problem using Mainstage 2 and Logic 9 with PreSonus fire studio Mobile?

    I Still can't get Mainstage and Logic to play well with my setup. I'm using a Mac Pro 2 GHz Intel Core i7 with 4 GB ram and Logic 9.1.6 and Mainstage2. I have a PreSonus Firestudio Mobile and M-Audio Midisport midi interfaces. The only Midisport that

  • How make a sql query for chart dynamically [I got it solved]

    Hi , I' m in search of a method to go from a tabular form (click on a item in the record) to a chart page where the from <table> sql of the chart is varying from the item select. eg I click on emp and navigate to a page displaying the chart with a sq

  • Clarification on SSXA Support with WebCenter Portal

    Hi, I saw a few threads requesting on this and other forums requesting clarification of SSXA and WebCenter Portal. To clarify: SSXA is not supported by WebCenter Portal. Our recommended route is to leverage ADF based templates/Content Presenter for i