Displaying Subtotals based on properties

Hello all,
Please note the following scenario:
We have an EVDRE grid with Budget Model on the rows.
The users would like to have a second grid that will display the subtotals based on a property of the budget model.
I have searched the forum. Basically I have noticed 2 suggested solutions:
1. Use standard Excel functionality (SUMIF and other functions I guess)
2. Build a hierarchy based on the property.
Both of this solutions are somewhat limited. Is there a better solutions for this issue?
TIA for your help,
Avihay

Hi again,
I have been thinking and digging into the subject and I thought of another idea. I would like to validate it with you:
1. I will create an EVLST function and make a list of all the property values for the same dimension values as the EVDRE I have.
2. I will create a SUMIF function in the inpute schedule based on the list of the EVLST.
What say you all about this concept?
BTW - I have a problem making the EVLST work (together with EVSET), but I will post this in a different thread.
Thanks,
Avihay

Similar Messages

  • How to display subtotals in separate column in alv report?

    hi,
    I am displayed the subtotals  for QUantity field BDMNG in Reuse_alv_grid_display  in the same column.
    but I want to display subtotal in separate column.
    How to display subtotals in separate column in alv report?
    thanks&regards.
    samba.k

    Hi
    As far as i know you can't do this,the option you have is to create one more column (subtotal) and populate it by manual calculation at every subtotal (not alv subtotal but yours) .
    Best Regards
    Yossi

  • Display Subtotals on ALV Report W/O changing Layout

    Hi ,
    I need to display subtotals of quantity fields in my output of report ,with corresponding production order by using ALV container,Layout default seetings won't work here because user has to do many operations such as sorting filtering etc ,after displaying the report

    Check these threads out
    http://www.sap-basis-abap.com/sapalv.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/b99d37e188a049e10000009b38f8cf/content.htm
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    DATA SORTING AND SUBTOTAL
    DATA: GS_SORT TYPE SLIS_SORTINFO_ALV.
    CLEAR GS_SORT.
    GS_SORT-FIELDNAME = 'FIELD1'.
    GS_SORT-SPOS = 1.
    GS_SORT-UP = 'X'.
    GS_SORT-SUBTOT = 'X'.
    APPEND GS_SORT TO GT_SORT.
    CLEAR GS_SORT.
    GS_SORT-FIELDNAME = 'FIELD2'.
    GS_SORT-SPOS = 2.
    GS_SORT-UP = 'X'.
    *GS_SORT-SUBTOT = 'X'.
    APPEND GS_SORT TO GT_SORT.
    Regards

  • How can we display Alerts based on Exceptions in BI7

    Hi,
    <b>How can we display Alerts based on Exceptions in BI7?</b> My requirement is a dashboard kind of scenario where the alerts will be displayed using WAD in Portal.
    In 3.5, we used to schedule the alerts from the Reporting Agent and display that using the Alert Webitem in Web Application Designer. But I couldn't find the Reporting Agent and the Alert Webitem in BI7. I would like to know how we can do Exception Reporting in BI7. I appreciate your suggestions/comments. Thanks in advance.
    Regards
    Hari

    Hi,
    Please go through this link:
    bw 7.0
    Regards,
    Habeeb

  • Problem in displaying totals based on the Unit of measurement.

    Hi,
    I have Problem in displaying totals based on the Unit of measurement.
    I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
    Matnr           Quantity      UOM
    51                10              EA
    61                10              KG
    71                10              KG
    In the total i should get
                    10         EA
                    20         KG
    Can anyone tell me how to do this?
    The basic req is the exclude the qty with unit EA(each) in the totals.
    Thanks,
    Amit

    H i,
    you can use the collect statement
    to get the proper result
    loop at itab.  ( all the records)
    move all the fields from itab to another
    collect itab1.
    write: itab1-fields, itab1-fields.
    endloop.
    this will solve your problem
    reward points if helpful,
    thanks & regards,
    venkatesh

  • Choose display template based on result type - Content search webpart

    Hi 
    Is it possible to choose display template based on result type in content search webpart same like search results web part? If not available can it be achieved programmatically?
    The content search web part is queried against document content type. Based on the document type, the document has to be seen in the hover template.
    Please advise.

    Hi,
    From your description, my understanding is that you want to choose display template based on result type as search result Webpart in Content Search Webpart.
    You could customize your display template for Content Search Web Part, please refer to this article:
    http://www.benprins.net/2014/05/21/sharepoint-2013-custom-display-template-for-content-by-search-web-part/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • ALV grid using classes(displaying subtotals groupwise in ALV grid control)

    Hello ,
      please can any body help me its urgent tome.
    displaying subtotals groupwise ..say for ex..
    cost group  costelement         amount     
    10          101         100.00
    10                            102          200.00
    10                            103          300.00
    20                            104          400.00
    20                            105          500.00
    20                            106          600.00
                    101         100.00
                    102         200.00
                    103         300.00
    10                          600.00
              104         400.00
              105         500.00
              106         600.00
    20                         1500.00
    In ALV grid control using classes.
    Thanks in Advance

    Hi alson,
    MODULE pbo OUTPUT.
    SET PF-STATUS 'MAIN100'.
    IF g_custom_container IS INITIAL.
    CREATE OBJECT g_custom_container
    EXPORTING container_name = g_container.
    CREATE OBJECT grid1
    EXPORTING i_parent = g_custom_container.
    <b>CALL METHOD grid1->set_table_for_first_display
    EXPORTING IS_LAYOUT = it_LAY
    CHANGING it_fieldcatalog = fieldcat
    it_sort = it_sort
    it_outtab = itab[].</b>
    ENDIF.
    ENDMODULE. " PBO OUTPUT
    keep the below code
    <b>CALL METHOD grid1->set_table_for_first_display
    EXPORTING IS_LAYOUT = it_LAY
    CHANGING it_fieldcatalog = fieldcat
    it_sort = it_sort
    it_outtab = itab[].</b>
    here
    IF pdel = 'X'.
    *BEGIN OF CHANGES BY VINAY DASARI
    PERFORM get_data.
    <b>CALL METHOD grid1->set_table_for_first_display
    EXPORTING IS_LAYOUT = it_LAY
    CHANGING it_fieldcatalog = fieldcat
    it_sort = it_sort
    it_outtab = itab[].</b>
    ENDIF.

  • Adding new rows after displaying subtotals in an ALV report by using OOABAP

    Dear All,
    I am creating an ALV report, displaying subtotals and total by using Classes. I have used classes CL_SALV_AGGREGATIONS (Method : add_aggregation) and CL_SALV_AGGREGATIONS (Method : add_sort) for sorting and doing subtotals.
    Output of my report as follows :- (I have used * for displaying spaces between fields)
    Materia*******Quantity**SerialNo*Equipment**Value***WBS Element
    ISM-DBSVR****1********12363****31872565***2165***Q-0040358945.001010
    ISM-DBSVR****1********12364****31872566***2165***Q-0040358945.001010
    **************************************Subtotal***********4330
    -> If the value of "Quantity" is greater than 1 then the value of subtotal for the field "Value" is to be divided by the Quantity for that line item and needs to be displayed Quantity, SerialNo, Value details information after subtotal .
    -> Basically I need to add few more rows for displaying above additional information in the ALV grid after displaying subtotal .
    Q: Do we have any methods for change the layout for the above requirement.
    I Appreciate your early response.
    Thank you.
    RajaSekhar.

    Hi,
    For such type of requirement you need to use ALV hierchical table.
    You can have your main table in master table.
    For quantity greater than 1 you need to move the data into a seperate internal table....this internal table will have material as the key between the main table and the second table.
    *... §2 create an ALV hierseq table
      try.
          cl_salv_hierseq_table=>factory(
            exporting
              t_binding_level1_level2 = lt_binding
            importing
              r_hierseq               = gr_hierseq
            changing
              t_table_level1           = gt_master
              t_table_level2           = gt_slave ).
        catch cx_salv_data_error cx_salv_not_found.
      endtry.
    you can display both the tables together with the subtotals also.
    please refer to program SALV_DEMO_HIERSEQ_SIMPLE to see how to display the hierarchical display.
    Plr reward points if found helpful.
    Regards,
    Mayank

  • How to display help based on the Jlabel description

    Hi all,
    I try to display help based on the Jlabel description. When a user click on the help button, I want to use the label description to match correct help topic and display on the screen. I have following code as Field-level help but it returns error. Looks like I cannot use jLabel1.gettext() dynamically. Please let me know if you have any idea!
                String st = jLabel1.getText();
                URL url = HelpSet.findHelpSet(null,"preferences.hs");
              hs = new HelpSet(null,url);
               hb = hs.createHelpBroker();                      
               hb.enableHelp( jLabel1, jLabel1.gettext(), hs );Thanks,
    NY

    You did notice that this is the Forms Forum right???
    If not then click [url http://forums.oracle.com/forums/forum.jspa?forumID=84]Here
    Tony

  • Displaying subtotals for each group item in a Matrix or Group Matrix Report.

    Hi,
    I have generated a Report as follows:
    month1 month2 month3
    M1 R1 P1 x y z
    P2 a b c
    R2 P3 d e f
    M2 R3 P4 g h i
    R4 P5 k l m
    Is it possible to display the subtotals per each category as follows:
    month1 month2 month3
    M1 R1 P1 x y z
    P2 a b c
    -------------------------- x+a y+b z+c
    R2 P3 d e f
    ------------ (x+a)+d (y+b)+e (z+c)+f
    M2 R3 P4 g h i
    R4 P5 k l m
    ------------ g+k h+l i+m
    ---- ((x+a)+d) ((y+b)+e) ((z+c)+f)
    + (g+k) + (h+i) + (i+m)
    waiting for the solution desparately.

    Your digram isn't very clear. It looks like you have a matrix that is made up of:
    Across Group (G_Across) producing: month1, month2, month3
    Down Group (G_Down1) producing: M1, M2
    Down Group (G_Down2) producing: R1, R2, R3, R4
    Down Group (G_Down3) producing: P1, P2, P3, P4, P5
    and then you have the matrix cell values: x, y, z, a, b, ... m
    Basically, you want to introduce a summary column at the G_Down2 level that is a running summary, resetting at G_Across.
    To do this you need to create a matrix summary with the correct product order and reset value. The product order determines when the value is calculated. In your case, you want the value to be calculated: once Per G_Across, then once per G_Down1, then once per G_Down2. Leaving the reset value at "Report" will give you the subtotal values for all columns. You need to re-set this to G_Across since you want to only get a sub-total for each column.
    Steps:
    - Create a summary column in the data-model in the matrix group with the following:
    Name: CS_SubTotal
    Source: <your matrix cell column>
    Product Order: G_Across G_Down1 G_Down2
    Reset at: G_Across
    - increase the vertical size of G_Across to make room for the new field
    - increase the size of G_Down1 to fill up the space you've created
    - increase the size of G_Down2 to fill up the space you created
    - insert a field into this space (should be the matrix frame whose properties are:
    Vertical Repeating Frame: G_Down2
    Horizontal Repeating Frame: G_Across)
    - bring up the property palette against the field and set the source to: CS_SubTotal

  • Display 0valstckval based on storage location (Inventory)

    Hi all,
    I need to display 0valstckval in webi report based on storage location. Now this valuated stock value comes from revaluations (2lis_03_um) and can be send at the report level based on plants but not on storage location. I know this is how the standard process is. Is there any way we can report the val stock value based on storage location in report?
    Thanks

    Hi
    You need Append the structure for the UM Datasources and you write the code and can retrieve based on STOR_LOC.
    BTW, are you not using Datasource BF-Material movements for Inventory?

  • Display output based on oldest date

    I am developing picking list report.  I have fetched the data into final internal table consisting of the fields material number, batchno, shelf life expr date, pick qty, actual qty and bin number based on some conditions from different tables.  Now, my requirement is to display the data based on following condition
    Using the Material Code, locate the Material master record on SAP. Determine if the material is stored by shelf life.  If it is, find the batch with the oldest shelf life with available stock for the material and get the bin number in which it is stored.  Write the bin number, shelf life, batch and quantity picked details to the record and write the record.  If there is insufficient stock in the batch to satisfy the requirement in full, find the next batch with the next oldest shelf life and write those details to a second record and so on until the requirement is met in full. 
    Can anyone pls help me to write the logic ?
    Geeta

    hi,
    tell me first that japanese data is coming from table in japanese text ?
    or u just needed to hardcode japanese text ?
    if so u can write a format trigger .
    Take taht particular column in a seperate frame and on that frame write a format trigger based on the user input for language selection.
    try with this.
    is it ok?r give me ur requirement clearly once.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Display webpart based on list content

    Hello,
    Is is possible to either display a custom home page or a different web part based on if content exists in a list or not?
    I have a list configured for data entry.  From that data, I use SQL reporting services to generate and display graphs and pretty stuff.
    Is is possible, for when a user logs into sharepoint (2013), if they have not entered any data yet, then display the data entry form, or if they have already entered data, display the reporting services dashboards?
    Andrew Huddleston | Hillsong Church | Sydney

    You can use javascript client object model to first check if the current logged in user has the data entered in the list on page load and onsuccess method of your javascript async call you can check if you have retrieved any count for the user in the list.
    If data exists then using jquery either show your reporting webpart or hide it and instead show your data entry form. Below are some pointers
    http://sharepoint.stackexchange.com/questions/73032/get-current-user-in-client-object-model-with-javascript
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c437ecc4-c757-483f-8175-f92860d184be/hideshow-webpart-data-on-buttonclick-using-jquery?forum=sharepointgeneralprevious
    http://msdn.microsoft.com/en-us/library/office/jj163201%28v=office.15%29.aspx#BasicOps_SPListItemTasks
    Geetanjali Arora | My blogs |

  • Displaying Subtotals in XL-Report

    hi guys,
    1. how to display the subtotals for userdefined fields for each column.
    2.And i wanted to merge each User defined columns for  displaying Sub-total for each every  column,
    this is an urgent requirement can give more suggestions about this issue.
    Thanking u
    Regards
    Naga

    Sub-totaling a UDF in XLR is just like sub-totalaling any other B1 field.  In Report Designer you use the =SUM(ixRef(I9,2)) where I9 is the ceel you want to sub-total.  The short cut for this function can be found on the XL Reporter toolbar under Formula Builder>Functions>Total>Column Total.   I am assuming that you have already added your UDFs to XLR under the Tools>User-Defined Field Menu.
    Dan

  • Obtaining subtotals based on 2 fields.(ALV using oops concept)

    Need help on how to apply sort on 2 fields and obtain subtotals.For example if I have some records for similar tax code and some more records  for a similar tax jurisdiction (under which all tax codes come).I need to calculate subtotals for same tax code as well as same tax jurisdiction code.Currently I am able to generate subtotals by sorting on 1 field only ,using OOPs concept.How do I apply for both the fields? This is what is being done currently with regard to sorting and subtotaling : 
    METHOD set_sorts.
    lr_sorts = gr_alv_data->get_sorts( ).
    TRY.
            lr_sorts->add_sort( 'TXJCD' ). ---sorting based on tax jurisdiction
          CATCH: cx_salv_not_found,
                cx_salv_existing,
                cx_salv_data_error.
        ENDTRY.
        TRY.
            lr_sorts->add_sort( columnname = 'MSKWZ'
                                        subtotal = if_salv_c_bool_sap=>true ).
          CATCH cx_salv_data_error cx_salv_not_found
                cx_salv_existing.                          
        ENDTRY.
      ENDMETHOD.                    "set_sorts
    Thanks & Regards,
    Savitha

    Hi Savitha,
    Use the other paramenters like POSITION, SEQUENCE, SUBTOTAL for both fields like as follows. Then it will work fine.
    TRY.
    lr_sorts->add_sort( columnname = 'TXJCD'
    sequence = 1
    Position = 1
    subtotal = if_salv_c_bool_sap=>true ).
    CATCH cx_salv_data_error cx_salv_not_found
    cx_salv_existing.
    ENDTRY.
    TRY.
    lr_sorts->add_sort( columnname = 'MSKWZ'
    sequence = 2
    Position = 1
    subtotal = if_salv_c_bool_sap=>true ).
    CATCH cx_salv_data_error cx_salv_not_found
    cx_salv_existing.
    ENDTRY.

Maybe you are looking for