How to display a Sum field for a formula column?

Hi,
I need to display a sum for a formula column at the end of report. for example: my formu_col=col_1-col_2
col_1 col_2 formu_col
3 1 2
6 5 1
total:sum(col_1) sum(col_2) sum(formu_col)
now i have sum(col_1) and sum(col_2), but i don't have sum(formu_col)
thanks

Hi
You may add a summary column in the same data group that you have sum(col_1) and sum(col_2). In that properties of the new column point the source as formu_col.
Hope this helps.
Fouwaaz

Similar Messages

  • How to display differnt time fields in a single column?

    Hello Sir,
    I am trying to display the records which show the table with 3 columns filename,Date,status using jsp.
    I am fetching the records from the DB and displaying them using jsp ,connection,resultset, <table> etc.
    what i wanted to display is just 3 colms(filename,date,status)
    here based on the status it should display the date,becaz table contains different date fieldcolumn for each status value.
    here is my code:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Content Dash Board</title>
    </head>
    <body>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.text.*" %>
    <% Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();%>
    <%
    int current = 1;
    if(request.getParameter("current") != null) {
    current = Integer.parseInt(request.getParameter("current"));
    int skip = 5;
    String action = "";
    if(request.getParameter("action") != null) {
    action = request.getParameter("action");
    if ( action.equals("next") ) {
    current += skip;
    if ( action.equals("prev") ) {
    current -= skip;
    %>
    <p> </p>
    <p> </p>
    <p>    </p>
    <HTML>
    <HEAD>
    <TITLE>Content Dash Board </TITLE>
    </HEAD>
    <FORM NAME="form1" ACTION="dashboard.jsp" METHOD="POST">
    <p> </p>
    <%
    Connection conn = DriverManager.getConnection
    ("jdbc:microsoft:sqlserver://localhost:1433;databaseName=trax;selectMethod=cursor","sa","iso*help");
    Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    ResultSet resultset =
    stmt.executeQuery("select * from ContentBatches");
    resultset.last();
    int rows = resultset.getRow();
    if ( current >= rows ) current = rows-skip;
    if ( current < 0 ) current = 1;
    resultset.absolute(current);
    %>
    <TABLE BORDER="1">
    <TR>
    <TH bgcolor=#C6C3C6>File/BatchName</TH>
    <TH bgcolor=#C6C3C6>Date</TH>
    <TH bgcolor=#C6C3C6>Status</TH>
    </TR>
    <%
    int i=0;
    boolean next = false;
    java.text.SimpleDateFormat fmt= new java.text.SimpleDateFormat("EEE, MMM d, yyyy K:mm a ");
    DecimalFormat df = new DecimalFormat( "###,###,###,000,000" );
    String filename=null;
    String status=null;
    do{
    i++;
    filename=resultset.getString(2);
    status=resultset.getString(8);
    %>
    <TR>
    <TD> <%= filename %> </TD>
    <%
         if(status.equals("Received"))
              out.println("status is:"+status+"time stamp is :"+fmt.format(resultset.getTimestamp(7)));
    %>
              <TD><%= fmt.format(resultset.getTimestamp(7)) %></TD>
    <%
         else if(status.equals("Validated"))
    %>
              <TD><%= fmt.format(resultset.getTimestamp(5)) %> </TD>
    <%
         else if(status.equals("Published"))
    %>
              <TD><%= fmt.format(resultset.getTimestamp(4)) %> </TD>
    <%
         else if(status.equals("Uploaded"))
    %>
              <TD><%= fmt.format(resultset.getTimestamp(6)) %> </TD>
    <%
         else
    %>     
              <TD>No data for this option</TD>
    <%
    %>
    <TD> <%= status%></TD>
    <td><a href="edit.jsp?BatchId=<%=resultset.getString(2)%>&DateTimeStampPublished=<%=resultset.getString(4)%>&Status=<%=resultset.getString(8)%>">Edit</a></td>
    </TR>
    <%
    while((next=resultset.next()) && i<skip);
    %>
    </TABLE>
    <p>
    <BR>
    <INPUT TYPE="HIDDEN" NAME="current" VALUE="<%=current%>">
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="next">
    <%
    if(next) {
    %>                                         
    <INPUT TYPE="BUTTON" VALUE="Next Record" ONCLICK="moveNext()">
    <%
    if(current > 0) {
    %>
    <INPUT TYPE="BUTTON" VALUE="Previous Record" ONCLICK="movePrevious()">
    <%
    %>
    </p>
    </FORM>
    <SCRIPT LANGUAGE="JavaScript">
    function moveNext()
    form1.action.value = 'next';
    form1.submit()
    function movePrevious()
    form1.action.value = 'prev';
    form1.submit()
    </SCRIPT>
    </body>
    </html>

    i am very new to jsp sir, i haven't worked on servlet
    , how do i implement the same code in servlet
    could you provide me the steps , putting jar files
    and all ?I'm not here to tutor you. You can read this:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html
    Servlets aren't difficult, and actually JSPs are nothing but servlets with a different syntax either.

  • How to create a new field for Q3 - QM notification in Header and item level

    Dear All,
    l
               Sub: How to create a new field for Q3 - QM notification in Header and item level
    Ref. the link --> Quality Notification
    We want to create a new field in header level and item level.
    As per the thread the solution is given below.
    In the IMG Config: Quality Management -> Quality Notification -> Notification Types -> Define screen areas for notification types Then Choose 'Define screen areas' Then Click on 'New entries' button Now, select the relevant Notification Type and click in 'Enter'. Select the 'Iten Cases' register and remember to setup the Tabstrip Header, Icon, etc. Set the 'Tabstrip active' flag. Then Save.
    Quality Notification -> Notification Types -> Define screen areas for notification types
    WE ARE UNABLE TO FIND IN CUSTOMIZATION PATH --> DEFINE SCREEN AREAS FOR NOTIFICATION TYPES.
    Please help.
    Question No. 2 :
    THE REQUIREMENT IS GIVEN BELOW.
    We want to hide the field in Q3 - QM Notification
    In header --> Reference tab --> Item (sub heading) --> "DEFECT LOCATION" FIELD TO BE ELIMINATED (HIDE)
    Ref the link --> Quality notification
    The solutiion is given below.
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    By double clicking the "DEFECTIVE QUANTITY (EXTERNAL), WE COULD NOT GET --> field TXTCDOT .
    Plese do the needful.
    We are using ECC6.0 Ehp3 and Ehp4.
    With Best Regards,
    Raghu Sharma

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • How to calc load parameters field for INSTALL for LOAD command

    Hi everyone ,
    I'll appreciate it if anyone could help me to find out how to calculate load parameters field for Install for Load Command .
    (which tags and parameters I should use to make this field )
    Best Regards,
    SHKas

    SHKas wrote:
    I'll appreciate it if anyone could help me to find out how to calculate load parameters field for Install for Load Command .
    (which tags and parameters I should use to make this field )Hi SHKas,
    The field is deffined in the GP card spec 2.1.1 under 9.5.2.3.6 INSTALL [for load] and INSTALL [for install] Parameters. The section of text explains what each field is and the tag to use to encode. Each value is a two byte short.
    Cheers,
    Shane

  • Hi All ,How to add a new  field for MEDRUCK if we havea ZMEDRUCK

    Hi All ,
            How to add a new  field for MEDRUCK if we have a ZMEDRUCK
    Req: If I want to add a new field for the following text editor line :
    IN MAIN WINDOW > TEXT EDITOR> SERCH FOR TOTAL_AMOUNT-->
    In that we will have
    &ekko-waers&    &komkfkwrt&
    (currency)       (numerics)
    Pls send the Code to make these changes .Pls its urgent
    Thanks&Regards.
    Bharat.

    Hi
    If that field which you wants to add is available in one of the structures like EKKO,EKPO then you can add that field just beside the other fields
    If that field is not there in the any of the structures then you can define a variable using define command
    /: DEFINE  &VAR&
    / &VAR&  = <some value>
    or you can write subroutines to fetch the data from outside tables and can use those fields data in the script
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How can i find the fields for &DOPOS_CPY-WRBT1(I13.0)&

    Hi All,
    In sapscripts, what is the meaning for (13.0)?
    how can i find the fields for &DOPOS_CPY-WRBT1(I13.0)&?
    Thanks.

    meaning for (13.0) is write to form this variable's 13 character non decimal and 0 character decimal places.
    shortly not write decimal places.
    DOPOS_CPY-WRBT1 is exist in form caller program. check in abap program not in sapscript.
    take care
    Çağatay

  • How to write a case statement for the totals column of two different years (2013 and 2014) of the same month so that I can get a +/- column

    Please Help!!!
    How to write a case statement for the totals column of two different years (2013 and 2014) of the same month so that I can get a +/- column.
                                      January 2014         January
    2013                            +/-
                    Region   Entry   Exit  Total    Entry   Exit   Total   (Total of Jan2014-Total of Jan2013)
                    A               2         3      
    40        5       7        30                    40-30= 10

    What is a table structure? Sorry cannot test it right now..
    SELECT <columns>,(SELECT Total FROM tbl WHERE Y=2014)-(SELECT Total FROM tbl WHERE Y=2013)
    FROM tbl
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to display the 'language code' for language dependent 'Short text' ?

    Hi,
    I am new to BW.
    Can somebody help me with the following issue?
    I have an attribute 'Material category description'  and I chose short text exists and made it language dependent. I had loaded the master data successfully.
    Now I want to know how to check the 'language code' for this material category description. When I display the data, will the language code display by defalult?
    I had checked the text table using SE11
    It displays the following fields over there.
    /BIC/TS1_MCT_DS   [  /BIC/TS1(InfoObject name)  ]
    LANGU
    TXTSH
    I appreciate your help!
    Thank you
    Sekhar

    Dinesh,
    I went to RSD1 -> info-object -> Master Data/text tab. It shows my language selections there (Short text selected, language time dependent etc.) with everything grayed out.
    In SE16, I could display the data in the following format.
    /BIC/ST_PRID                TXTSH                 TXTMD
    P01                                   umbrella                 rainyday
    P02                                  tent                         waterproof
    etc.
    I want to see the 'language code' as one of the columns in this table.
    Can you help me do that?
    Thank you,
    Sekhar

  • How to display "Metadata Only" field in Update Form

    Hi,
    I have added the below configuration in Config.cfg file to make Primary File non mandatory,
    AllowPrimaryMetaFile=true
    suppressAlternateFile=true
    createPrimaryMetaFile=true
    After restarting the server it displayed "Metadata only" fileld upon selecting Primary File became non mandatory, but while updating the Content this field is not getting displayed, rather it is displaying Original File field and Primary File became mandatory.
    Could you please let me know how to make Primary File non mandatory (otherwise displaying "Metadata only") in Update form. Appreciate your help on this. Thank you.
    Thanks,
    Ashok

    Hi Srinath,
    Thank you for responding, here we need to make Primary File non mandatory by displaying "Metadata only" field. we achieved this in Check In form, we need the same in Update Form.
    From the Kyle blog, he specified that option to completely hide Primary File but our requirement is making non mandatory by introducing metadata only field.
    Thanks,
    Ashok

  • How to display the proxy settings for a specific group of servers in an OU ?

    Hi,
    Can anyone here please assist me in how to display the value of Proxy server settings from the computers in a specific OU member ?
    $Computers = Get-ADComputer -Filter * -SearchBase "OU=Terminal Servers,OU=Servers,DC=domain,DC=com" | Where-Object { Test-Connection $_.Name -Count 1 -Quiet }
    ForEach ($Computer in $Computers) {
    | Export-csv "C:\Proxy-Setting-Results.csv" -Append -NoTypeInformation -UseCulture
    I've done similar script for some other task but not sure how to do this for Proxy setting.
    Thanks.
    /* Server Support Specialist */

    Proxy settings are not set in Active Directory
    The below code works for 2003 servers and Win XP
    $colItems = get-wmiobject -class "Win32_Proxy" -namespace "root\CIMV2" `
    -computername $env:computername
    foreach ($objItem in $colItems) {
    write-host "Caption: " $objItem.Caption
    write-host "Description: " $objItem.Description
    write-host "Proxy Port Number: " $objItem.ProxyPortNumber
    write-host "Proxy Server: " $objItem.ProxyServer
    write-host "Server Name: " $objItem.ServerName
    write-host "Setting ID: " $objItem.SettingID
    write-host
    You can try checking the registry values- Works in 2008 + and Windows 7
    Get-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
    or use netsh
    netsh winhttp show proxy -r <remotemachinename>
    Regards Chen V [MCTS SharePoint 2010]

  • CO-PA : How to define separate value fields for Revenue & Incoming SO

    Hello friends,
    In CO-PA reports, how can I see separate value fields for Revenue (ERLOS) and "Incoming Sales Order" ? I created a value field for incoming sales order value.
    But when I goto customizing for CO-PA, Transfer of Incoming Sales Orders and Transfer of Billing Documents refer to the same tcode KE4I. So its not possible for me to define a condition type to 2 separate value fields.....how can I see both incoming sales order value and revenue (from invoices) together ?
    Any advice you can give me would be greatly appreciated.
    Cheers
    Ken

    Hi
    In COPA value flow from a condition type thru a value feild.
    One condition type can be assinged to only one value feild ratio
    Condition    :        Value feild
         1                         1
    But where as ratio between
    Value feild              :         Condition
          1                                     N
    Apart from above check the operating concern check for the values & characteristics and activate.
    Thanks
    Colin Thomas

  • How to make multi-box fields for name or address in a PDF form to be filled in?

    I would like to know how to make fields for name and address in a PDF form.
    I am now using Acrobat 8 Pro on Windows Vista. I have downloaded a form in the format of a PDF file. Basically it is just a file holding images of pages of the document, and there are no fields for me to type something on it using computer. This form will be used frequently by me, but I don't want to print it out and fill it in every time by hand. I want to fill it in in the computer and print copies of it when needed. The output will then be much more neat and tidy.
    I have seen PDF forms with blanks for typing name and address, which means the form can be filled in on the computer before printing. They are special, as these blanks allow users to type name and address with every character occupying a box in the field, which consists of ten boxes or so. These are not ordinary textfields. I want to make similar inputting field as well.
    Does anyone knows something about making these input fields with each character using 1 little box in the multi-box field? Any ideas are appreciated.

    Does anyone knows something about making these input fields with each
    character using 1 little box in the multi-box field?
    Use text fields with the comb of x characters feature.

  • How to include a new field for checking duplicate customer master

    Dear All
    we have activated the standard procedure to check duplicate customer master data. This is a standard procedure as below :-
    Procedure:
    Run SM30, key in Table V_T100C, select Display or Maintain, set App area F2. Here you can change current settings.
    Check the transaction OBMSG for application area F2, where these messages are maintained and at this place you can convert the message from warning to error.e user needs one more field to be added to this check.
    It is working perfectly fine but it only compares two fields for duplicates in the customer master i.e the customer city and name.
    Is there a way to include a new field in this procedure ? For example we also want the system to check duplicate entries for field name " street 5" and give a warning /error message incase if there is another entry already existing on the master data.
    regards,

    Hi
    Use the enhancement SAPMF02D to check these values.
    Regards
    Eduardo

  • How to display amount in words for subtotal value?

    Hi All,
    I am diplaying a amount in words for sub-total value after each document number.
    Can any one suggest how to display text for sub-total value not for Grand total?
    I want subtotal at each material for each document number and want to display that subtotal amount in words.
    Thanks and Regards
    Steve

    Thanks Jorge ,
    Is it possible in ALV printing Sut-total text by adding a new line .?
    And where to insert At new or on-chane ?
    Sub-total  calculating automatically not programaticall..
    Regards
    Steve

  • How to display/create Local field in SAP query

    HI All,
    I'm new to abap query. I have to include a local field in the existing query. I know through SQ01->Edit->Local field we can display the Local fields, but the options under Local Fields menu option are disable even in change mode of Query.
    So, later through SDN found that, I have to Switch On the short names menu option. Even the sub-options in Short Names are disabled.
    Can any body please let me know how can we display the local fields to the change the formula and how can we create the new local fields in the existing qeury.
    Hope I'm able to explain my issue clearly.
    Thanks in advance.

    You can create the local fields in the "Select Field" screen. (Third screen after "Title, Format" and "Select Field Group") This option is disabled on the other screens.<br />
    <br />
    <i>Reference : <a class="jive-link-external" href="http://help.sap.com/saphelp_NW70EHP1/helpdata/en/d2/cb4186455611d189710000e8322d00/frameset.htm" target="_newWindow">Defining Local Fields</a> in <a class="jive-link-external" href="http://help.sap.com/saphelp_NW70EHP1/helpdata/en/d2/cb3efb455611d189710000e8322d00/frameset.htm" target="_newWindow">SAP Query</a>.</i><br />
    <br />
    Regards,<br />
    Raymond

Maybe you are looking for

  • Changing directory structure & song file locations: iTunes query

    I have an external hard-drive which I have loaded with thousands of songs over the years but have never really used it. Now, I want to organise my iTunes songs but my limited knowledge has brought me to a stop... Please help! On the external HDD, son

  • Customs duty

    Hi experts, In Pricing procedure two conditions types are being used zcd5 and zcd6 the control data for both the condition types is same and they are marked as statistical and Akt key and Accruals are entered for both the condition types But for ZCD5

  • The video I created using photo booth is not compatible to you tube.

    How do I convert a video created using photo booth to a format that is compatible with you tube?  Or, how do I convert it to a Quick Time file or AVI file?

  • I need to reclaim Project from FCP X Trial

    Hi Last year I downloaded the FCPX Trial. I now need to access the project I created in there. But when I try to open the application it tells me that its expired and I need to purchase so I cant even see if its in there. I am happy to purchase it bu

  • Unstructured UI Template Substitution tags - PROBLEM

    Hello I'm trying to make a UI Template, but are having problems with the substitution tags. I want to make a home-link, but with my own text such as "Take me home" I've tried this approach: Take me home But as a result i get the standard icon for hom