How to display calculated matrix columns in a graph?

Hi, 
I am working in VisualStudio 2010 hitting SQL Server 2012 to build SSRS reports.
I have a need to graph year over year percentage growth as derived from two SSRS matrix columns.  Everything is working except that the chart displays only one value for each year series, rather than displaying the correct percentages for each audience
for each of the two years.
The values in the chart series properties are called with the expression: =ReportItems!YoYGrowthPercent2014.Value (or =ReportItems!YoYGrowthPercent2014.Value, respectively), where "YoYGrowthPercent2014" is the name of the detail cell holding
the expression to calculate the growth percentage at the audience level in the matrix.
It looks like it should work yet the results are incorrect.  I've read several hundred articles and posts at this point and do not have an answer.
Is there any way to do this? It seems like it should be so simple, and yet...
Thank you!
~Khrys.

I can reproduce your issue.  If you toggle open Audience P I think you will find the very last value for the last Category and the last Product_Group will be around 15% for Growth 2014 and around 23% for Growth 2015.  The chart series expression
is choosing the last value for ReportItems!YoYGrowthPercentage as it doesn't know how to attribute that ReportItem to the Audience matrix.  If you want a chart to display only the percentage for Audience, I suggest that you have a separate data
source with the values for GrowthPercentage for only the Audiences, and make that the data source for your chart. Also, I would make the growth figures in your matrix also a matrix by doing the percentage calculation directly in the table. You would pull in
the value for this year and the value for last year into your data set, and then do the calculation within the report as follows:
=SUM(Fields!Value.Value)/Sum(Fields!LastYearValue.Value)-1
Create a second Column Group adjacent after, also by year.  Your query could look something like this, depending on how your tables are structured:
SELECT a.Audience, a.Category, a.ProductGroup, a.Year, a.Value, b.Year as LastYear, ISNULL(b.Value,0) as LastYearValue
FROM YoYGrowth a LEFT OUTER JOIN
YoYGrowth b ON a.Audience = b.Audience and a.Category= b.Category and a.ProductGroup = b.ProductGroup
AND a.Year-1 = b.Year
Hope it helps.  Cheers,
Martina White

Similar Messages

  • How to display a BLOB column in ADF.

    How to display a BLOB column in ADF.

    hi agowlikar786
    Maybe the forum thread "ADF BC : download BLOB " can help
    at ADF BC : download BLOB
    regards
    Jan

  • How set disable select matrix column header

    How set disable select matrix column header same Inventory-->Pick List Form
    Thanks Advance.

    Hi ,
    do u mean Price List Form Header...
    If Yes Means Try the Following,
    select case pVal.FormType
    case "155"
    Select Case pVal.Before_Action
    case True
    select case pval.ItemUid
    case "3"
    Select Case pVal.EventType
    Case SAPbouiCOM.BoEventTypes.et_CLICK
    if pval.row = 0  Then BubbleEvent = False : Exit Sub
    End Select
    End Select
    End Select
    Regards,
    Ganesh k

  • How to display 3 month columns and YTD column

    Hello,
    I need a help. My report layout requires to display the data in 3 dynamic month columns and one Fiscal year Year-to-date column for a period of time. For example, ending month is FEB:
    Items : DEC : JAN : FEB : FY YTD
    A     : $10     : $11     : $12     : $100     
    B     : $1     : $2     : $3     : $10
    (Note: FY YTD is the total sum from OCT to FEB (5 months), not 3 months to be displayed)
    I tried to create a query and use Matrix with group, but the report always display five (5) month columns
    from OCT to FEB instead of displaying three (3) month columns. If the query is limited to display
    three months as desired, then the total sum will be 3 displayed months only (instead of 5 months).
    How to create a query or how to display three months and FY YTD or do anything else with Oracle Builder9i?
    Thanks,

    You could use the DECODE function and variables
    i.e. have a four column report
    in your query use somthing like
    , decode(period,:P_PERIOD1,1,0)* amount as period1
    , decode(period,:P_PERIOD2,1,0)* amount as period2
    , decode(period,:P_PERIOD3,1,0)* amount as period3
    , amount as ytd
    In your before report trigger poulate the variables with your required values

  • How to perform calculations using column data in BI Publisher

    Hello guys
    I am very new to BIP, and recently I am learning to create new templates using XML files..
    I am trying to create a report that has Account Amount, Amount Net Amount, PM_Amount and a New field say "X"
    For Account Amount it is what it is, but for Net Amount it is "Account Amount/40%", for PM_Amount it is "Net Amount x (Account Amount/30)" and for field X it is "(Net Amount + PM_Amount)/column A" where column A is another data field in the XML file but it should not be included in the template report..
    Could anyone help me with how to perform such kind of calculations in BIP Template builder? In OBIEE, it is very easy that I can just use column formula, but in BIP I still haven't figure out the way yet..
    PLease advice
    Thanks

    Thanks for the reply..
    I looked at the link you provided already, what I wanna know is how to exactly apply the expression in my calculation. In other words, I know that Column C = "Column A div Column B", but in BIP form property, how do I actually substitue "column A" with the actual column..
    I wish I could post the XML, but it is huge, it contains 6 data sets and more than 100 columns. I only need 15 columns on my template.
    On the form property of each measures, in the "advance tab", I see codes like <?accountamount?>. Now I wanna have a new column said "PM_Amt" which should be "(accountamount div %40) x column B". So I just randomly select another column said "payment". I rename it to "PM_AMT" and on its "advanced tab" it is still <?payment?>. So right there, if I wanna replace that code with a new one that does "(accountamount div %40) x column B" calculation, how would I do it? What would be the syntax including how to propertly refer to the right column field as part of the expression?
    And do I have to always use xdofx between <>? how would I know?
    Please advice if you understood what I am trying to say
    Much thanks
    Edited by: user7276913 on Sep 14, 2009 11:24 PM

  • How to display BLOB image column with WEB application, JSF, ADF BC

    I looking for a way to display the content from a blob column on a WEB application, JSF, ADF BC
    The blob column contains a JPEG image.
    About the application
    The model contains a viewobject where the blob column attribute (photoimg) type is of type : BlobDomain
    Now I have to create the view to display the content of photoimg inside a JSF-JSP page.
    Any advice ?

    Search is your friend
    How to display the content of a BLOB column in a ADF/BC pages ?
    John

  • How to display only selected columns in the table on the tableview

    Hi All,
    I am displaying in the below tableview the data from the SFLIGHTS tables in the tableview using flow logic. It displays all the columns in the database table. How can I set in the code to display only selected columns and not all columns.
    Also, in these columns displayed I want to make the key columns of SFLIGHT as non editable and the rest of the columns in SFLIGHT editiable. Can you please kindly share the code to implement this.
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page>
        <htmlb:form>
          <htmlb:tableView id              = "tv1"
                           visibleRowCount = "10"
                           selectionMode   = "lineEdit"
                           table           = "<%= flights %>"
                           filter = "SERVER"
                           sort = "server"
                           iterator        = "<%= iterator %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Thanks
    Karen

    Hi,
       Please try this code.
    <!-- To display Table control on BSP page with table internal table it_hist  --!>
              <htmlb:tableView id              = "TV_HIST"
                               headerText      = "Previous History"
                               headerVisible   = "TRUE"
                               footerVisible   = "TRUE"
                               design          = "ALTERNATING"
                               selectionMode   = "LINEEDIT"
                               visibleRowCount = "5"
                               fillUpEmptyRows = "TRUE"
                               table           = "<%= it_hist %>"
                               width           = "500" >
    <!--  to show selected columns give required field name --!>
    <htmlb:tableViewColumns>
      <htmlb:tableViewColumn columnName          = "FIELD1"
                                         title               = "COLUMN1"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName          = "FIELD2"
                                         title               = "COLUMN2"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName          = "FIELD3"
                                         title               = "COLUMN3"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
      <htmlb:tableViewColumn columnName          = "FIELD4"
                                         title               = "COLUMN4"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
    <!--  to make column editable set edit property to TRUE --!>
      <htmlb:tableViewColumn columnName          = "FIELD4"
                                         title               = "COLUMN4"
                                         edit = "TRUE"
                                         horizontalAlignment = "CENTER"
                                         width               = "65" >
                  </htmlb:tableViewColumn>
                </htmlb:tableViewColumns>
              </htmlb:tableView>

  • How to display Rows as Columns in JSF?

    I am using dataTable component to get data for my Menu, i have one column in it which returns me the data, because its automatically adding <tr> and <td> tags to it, its showing data in tabular form.
    I want to show output Horizontally instead of Vertically the way its showing.
    Is their any way i can display Rows as Columns?
    Code:
    ==============================================
    <div class="bodyarea">
    <div id="location">
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
    <f:verbatim><ol></f:verbatim>
    <h:column>
    <f:verbatim><li></f:verbatim>
    <h:outputLink id="crumbID" value="#{bread.menuLink}">
    <h:outputText id="crumpName" value="#{bread.menuLabel}"/>
    </h:outputLink>
    <f:verbatim></li></f:verbatim>
    </h:column>
    <f:verbatim></ol></f:verbatim>
    </h:dataTable>
    </div>
    </div>
    Thank you

    Table is not the html element for you, in this situation.
    I would use a dataList component (distributed with myfaces implementation).
    dataList is able to return a list of item, and using css you will be able display in a horizontal grid. (otherwise you can use layout="grid" in dataList).
    Anyway...my impression is that who made JSF was not really understanding how a html programmer like to write his code.
    Why do JSF gives us only the possibility to write list of items throught tables?
    Why do JSF prints error messages throught tables?
    Why div is not a standard component?
    This is an incredible lack...
    I see also other incredible lasks...but they don't concern html ;) .

  • How to display record in column mode?

    Hi,
    I have difficulty in displaying record in column mode.
    Example: I have CALENDAR table with column DATECOL
    CALENDAR
    DATECOL DATE
    Data in CALENDAR table is follow : 1/1/06, 2/1/06, 3/1/06, 4/1/06, 5/1/06, 6/1/06
    How to create SELECT statement so result will be follow:
    DATECOL 1 2 3 4 5 6
    Any advise from you ?
    Regards

    Hi,
    Try this:
    DECLARE
    z_result VARCHAR2(2000) := ' ';
    CURSOR c1 IS
    SELECT DATECOL
    FROM CALENDAR;
    BEGIN
    FOR i IN c1 LOOP
    z_result := z_result || TO_CHAR(i.DATECOL,'DD') || ' ';
    END LOOP;
    DBMS_OUTPUT.ENABLE;
    DBMS_OUTPUT.PUT_LINE('DATECOL ' || z_result);
    END;
    Peter D.

  • How to display row to columns without using pivot keyword

    hi,
    could someone help me how to dispaly rows into columns without using pivot keyword and actuall my scenario is,iam having two tables with names and sample data is shown below
    ID PROJECT MID MINAME TASKID TASKNAME
    1     PROJ1     1     AA     100     PR1_TASK1
    1     PROJ1     3     CC     102     PR1_TASK3
    1     PROJ1     4     DD     103     PR1_TASK4
    1     PROJ1     5     EE     104     PR1_TASK5
    1     PROJ1     6     FF     105     PR1_TASK6
    2     PROJ2     5     EE     114     PR2_TASK1
    2     PROJ2     6     FF     115     PR2_TASK2
    2     PROJ2     7     GG     116     PR2_TASK3
    2     PROJ2     8     HH     117     PR2_TASK4
    2     PROJ2     9     JJ     118     PR2_TASK5
    2     PROJ2     10     KK     119     PR2_TASK6
    2     PROJ2     1     AA     120     PR2_TASK7
    The output should display project and count of tasks in particular milestone as shown below
    project AA BB CC DD EE FF GG HH JJ KK
    1 2 0 1 5 3 2 0 2 1 0
    2 1 2 0 2 1 0 2 4 3 1
    Thanks in advance ,
    vvr

    WITH t1 AS
    (SELECT 1 ID,
             'PROJ1' PROJECT,
             1 MID,
             'AA' MINAME,
             100 TASKID,
             'PR1_TASK1' TASKNAME
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 3, 'CC', 102, 'PR1_TASK3'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 4, 'DD', 103, 'PR1_TASK4'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 5, 'EE', 104, 'PR1_TASK5'
        FROM DUAL
      UNION
      SELECT 1, 'PROJ1', 6, 'FF', 105, 'PR1_TASK6'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 5, 'EE', 114, 'PR2_TASK1'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 6, 'FF', 115, 'PR2_TASK2'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 7, 'GG', 116, 'PR2_TASK3'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 8, 'HH', 117, 'PR2_TASK4'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 9, 'JJ', 118, 'PR1_TASK5'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 10, 'KK', 119, 'PR1_TASK6'
        FROM DUAL
      UNION
      SELECT 2, 'PROJ2', 1, 'AA', 120, 'PR1_TASK7' FROM DUAL)
    SELECT id project,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'AA'
                  AND id = t_out.id),
               0) AA,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'BB'
                  AND id = t_out.id),
               0) BB,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'CC'
                  AND id = t_out.id),
               0) CC,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'DD'
                  AND id = t_out.id),
               0) DD,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'EE'
                  AND id = t_out.id),
               0) EE,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'FF'
                  AND id = t_out.id),
               0) FF,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'GG'
                  AND id = t_out.id),
               0) GG,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'HH'
                  AND id = t_out.id),
               0) HH,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'JJ'
                  AND id = t_out.id),
               0) JJ,
           NVL((SELECT mid
                 FROM t1
                WHERE miname = 'KK'
                  AND id = t_out.id),
               0) KK
      FROM (SELECT DISTINCT id FROM t1) t_out
    PROJECT     AA     BB     CC     DD     EE     FF     GG     HH     JJ     KK
    1     1     0     3     4     5     6     0     0     0     0
    2     1     0     0     0     5     6     7     8     9     10As I understand, you want MID of MINAMEs displayed ? But output is not like yours.. What is exactly your requirements?

  • How to display oracle BOLB column data forms

    Hello Francois ,
    I also want to display a BLOB column value on Oracle front-end (but this is oracle form 6i version)
    I tried your below method but i was not able to make it work....
    it displays the other details wen quired but not the blob data column
    please help --- urget solution required
    <<<<<<<
    Create a block based on the table you have the BLOB image, then use an Image Item based on that BLOB column. All you have to do, then is an execute_query() instruction to populate the Image Item.
    Francois

    I'm not convince that the null pointer exception is coming from the database. Rather, whatever you wrote to package the result might be at fault. Regardless, typically, to avoid the web container swallowing an exception is to catch it yourself. Your database call will need to catch the exception and repackage it for the JSP. A bad style would be to use scriptlet and catch the exception, but it could be useful for debugging.

  • SPGridView - sorting Dates doesn't work properly & how to display the title column as link?

    Hi,
    I've got a SPGridView that is being filled with data from several lists. Some of them are a date-field and a title-field. I already added sorting, paging and filtering options and at first look they seem to work fine. But now I noticed that sorting dates
    doesn't work as expected. If I select ascending sorting, the result is something like this:
    01.08.2014
    02.08.2014
    17.07.2014
    18.07.2014
    23.07.2014
    If I select descending sorting, the result is this:
    23.07.2014
    18.07.2014
    17.07.2014
    02.08.2014
    01.08.2014
    This isn't what I want obviously. 
    I just added the EventReceiver for the sorting like it is shown in several tutorials:
    (The date field is a BoundField.)
    grid.Sorting += new GridViewSortEventHandler(grid_Sorting);
    private void grid_Sorting(object sender, GridViewSortEventArgs e)
    if (ViewState["FilterExpression"] != null)
    gridDS.FilterExpression = (string)ViewState["FilterExpression"];
    And my second problem is how to add a link to the title column. In my grid I'm displaying tasks from different lists and I want to link the title to the related task. I stumbled accross HyperLinkFields and tried this:
    HyperLinkField hyperLinkField = new HyperLinkField();
    hyperLinkField.DataTextField = "Titel";
    hyperLinkField.DataNavigateUrlFields = new string[] { "Titel" };
    hyperLinkField.DataNavigateUrlFormatString = "{0}";
    hyperLinkField.HeaderText = "Titel";
    hyperLinkField.SortExpression = "Titel";
    grid.Columns.Add(hyperLinkField);
    The resulting link is something like ...sites/MySite/_catalogs/masterpage/A1-V1-2 where "A1-V1-2" is the name of the task and also shown in the title field.
    The actual link should look more like ...sites/MySite/Lists/mytasklistname/DispForm.aspx?ID=.... or something like that to display the task details. How could I achieve that?
    Thanks in advance

    http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_27718782.html
    Here is the exact code you need to use:
    http://social.msdn.microsoft.com/Forums/ar/sharepointcustomization/thread/c463a8c6-4806-4233-b6a4-8db8369c5fc2
    http://sharepoint.stackexchange.com/questions/53459/change-title-linked-to-item-with-edit-menu-to-different-column
    Open the AllItems.aspx page for the specific list.
    Search for the <ViewFields> tag
    List item LinkToItem="TRUE" to whichever column you want the link:
    <ViewFields><br/>
    <FieldRef Name="Attachments"/><br/>
    <FieldRef Name="LinkTitle"/><br/>
    <FieldRef Name="linkThisColumn" LinkToItem="TRUE"/><br/>
    <FieldRef Name="data_x0020_column"/><br/>
    <FieldRef Name="Another_x0020_column"/><br/>
    </ViewFields><br/>
    http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
    Create calculated column.
    Insert following formula -
    ="<a href='"&UrlFieldName&"'>"&Title&"</a>"
    Set "data type returned from this formula is" to integer.
    As a result on list view you will see the title with link to your url.
    UPD: It seems that URL field is not valid for calculated column, as workaround you can copy url value in a receiver into the another text field, which is not shown on the view.
    If this helped you resolve your issue, please mark it Answered

  • How to display fixed width column in Advanced Table?

    Hi,
    This is probably a newbie question for OAF. My requirement is quite simple but I couldn't find the answer in either the OAF developer's guide or anywhere else so I turn to the experts here. I have a region of type Table or Advanced table with three items in them. One of the Item is of type comments which could be up to 4000 characters.
    I wanted to show all three on the first page but only have fixed width for the comments section like only show the first 50 characters for example and then if they want to see more detail they can click on a link to see full comments.
    The problem is I cannot figure out how to make the comments item fixed width. I have played with the table width properties but it keeps displaying the comments in multiple lines (I don't want that...). I have also tried putting the Table in a Row Layout but it doesn't seem to help.
    Since this is new development I can change my region style to anything to meet my requirements.
    I hope this is an easy question and if someone can help me that would be great....:-)

    Hi,
    Thanks but I was not wanting to change the VO attribute length size since I want to have a link on the first page which would enable to see a user the full 4000 comments using the same VO object. Then if I limit it to 50 characters in the VO, I will not be able to display the full comments on the second page.
    Isn't there some way in the UI that I can limit it? I know one workaround I can use for now is to have another column in the VO with the 50 character value such as substr(comments, 1, 50) and then have the full comments selected also in the VO and then show this subtr value in the first page and the comments value in the 2nd. I just thought there would be an easier way about it then doing all this workaround.
    Any ideas?
    Thanks

  • How to display SharePoint view column vertically?

    Hi
    I want to display my column header in vertical orientation. I created a page and inserted list view web part and content editor web part in that. I added following code in content editor web part: 
    <style type="text/css">
    .ms-vh2 {
    WRITING-MODE: tb-rl; -moz-transform: rotate(90deg);
    width:10px;
    .ms-viewheadertr {
    HEIGHT: 240px;
    }</style>
    This rotates the column header successfully. But this also changes the orientation of the drop down option list. Is there any way to avoid this??
    One more thing...I don't want to apply this to all the columns. I want it to be applied to only certain columns. Please let me know how this can be achieved?

    Hi Pratima,
    Thanks for posting your issue, Kindly browse below mentioned URL to fix your issue with the given code and steps
    http://sharepoint.stackexchange.com/questions/26700/viewing-a-custom-list-vertically
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to display all the columns in the printpreview

    hi experts,
    I have developed an alv report using grid display.
    there are nearly 10 fields in the output with varrious of length.
    They get displayed correctly in grid format.
    But, when on the output screen, I click on List menu and goto "Print Preview",
    the output gets displayed in a list format where these only 9 fields get displayed one filed in a truncated format.
    I have tried all options such as optimize colwidth and giving outputlen for the fieldcatalog.
    But, still the problem persists, only for printing and print preview.
    Please suggest a solution.
    Mohana

    Hi,
    You can develop your own print preview by creatind the pf-status and call it.
    I am sending you the sample code.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = sy-repid
       I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
       I_CALLBACK_USER_COMMAND           = 'PRINTPREVIEW'
       IS_LAYOUT                         = ln_layoutinfo
       IT_FIELDCAT                       = i_fieldcat1
      TABLES
        t_outtab                          = I_VBAK.
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZPRINT'.
    ENDFORM.
    FORM printpreiew using r_ucom type sy-ucomm r_selfield type slis_selfield.
    case R_ucom.
        WHEN 'PRINT'.
        LEAVE TO LIST-PROCESSING.
        format intensified color = i.
        WRITE: /50(64) 'SALES INFORMATION'.
        WRITE: / 'CUSTOMER RANGE FROM', CUST-LOW, 'TO    ', 40(74) CUST-HIGH.
        ULINE (114).
        write: / sy-vline, 'customer', 11 sy-vline, 'doc no', 21 sy-vline, 'date', 35 sy-vline, 'time' , 45 sy-vline, 'created by', 60 sy-vline,
                 'item', 70 sy-vline, 'mat num', 80 sy-vline, 'MAT GROUP', 90 sy-vline, 'amount', 114 sy-vline.
        ULINE (114).
        i = 3.
        LOOP AT I_VBAK INTO W_VBAK.
          sum = sum + w_vbak-netwr.
          on change of w_vbak-kunnr.
            if sy-tabix <> 1.
              FORMAT INTENSIFIED COLOR  = 3.
              uline (114).
              write: / SY-VLINE, 90 'subtotal', sub_total, 114 SY-VLINE.
              uline (114).
              sub_total = 0.
            endif.
          endon.
          sub_total = sub_total + w_vbak-netwr.
          IF FLAG = 'X'.
          FORMAT INTENSIFIED COLOR  = 0.
          FLAG = ' '.
          ELSEIF FLAG  = ' '.
          FORMAT INTENSIFIED COLOR  = 2.
          FLAG  = 'X'.
          ENDIF.
          WRITE: / sy-vline, W_VBAK-kunnr, 11 SY-VLINE, W_VBAK-vbeln, 21 SY-VLINE, W_VBAK-erdat, 35 SY-VLINE, W_VBAK-erzet, 45 SY-VLINE,
                   W_VBAK-ernam, 60 SY-VLINE, W_VBAK-POSNR, 70 SY-VLINE, W_VBAK-MATNR, 80 SY-VLINE, W_VBAK-MATKL, 90 SY-VLINE, W_VBAK-netwr, 114 sy-vline.
          at last.
            FORMAT INTENSIFIED COLOR  = 3.
            uline (114).
            write: / SY-VLINE, 90 'subtotal', sub_total, 114 SY-VLINE.
            uline (114).
            write: / SY-VLINE, 93 'total', sum, 114 SY-VLINE.
          endat.
        ENDLOOP.
        ULINE (114).
    endcase.
    I think it is useful for you.
    Reward points if useful.
    Thanks &  regards
    Deepika.

Maybe you are looking for

  • Hp aio app for windows rt 8.1

    Does any one have for a solution to make an HP 8500 all in one printer work with the windows rt 8.1  hp app all in one

  • Why can't I copy a 6Gb video to 128Gb flash drive?

    Hello all, Ok I am new to macs and also iMovie and I cannot figure out why my movie that I edited on iMovie which is only 5.95 Gb will not copy or transfer to a 128Gb Sandisk flash drive or a 32Gb SD card... I finalized the video and exported to my d

  • Server Side Includes like include of a file

    In my case, I have several static HTML files that rarely change. I want to bring these into APEX as a tab but I do not want to rebuild the files as true apex documents. I was wondering if there was a way to pull the existing files into apex and add t

  • Problem in installation of the multisim student edition

    i have first installed the multisim student version and uninstalled it.now i am unable to re install the program.i tried to resolve the problem by deleting the directory in program files.please help me to resolve the problem Solved! Go to Solution.

  • Document Management systems

    Looking for Document Management system to replace GW Is this a Fair analysis... No improvements in GW8... (Sadly GroupWise is going nowhere fast specially when it comes to DM). Users want more functionality - access the email archiving (not the joke