How do I change a field in the sum in ALV (List or grid)

My alv, for example:
1.10
2.30
1.50
Sum(DO_SUM) : 4.90
But I need to CEIL( 4.90 ) before showing .
It should be shown as 5.00 in alv.
How do I change this field in the sum ?

Use the following code in a PBO module or in an adequate event method
data: total type ref to data,
      subtotal1 type ref to data.
field-symbols: <total> like gt_sflight,
               <subtotal1> like gt_sflight.
call method grid1->get_subtotals
  importing
    ep_collect00 = total
    ep_collect01 = subtotal1.
assign total->* to <total>.
assign subtotal1->* to <subtotal1>.
Look at [ALV Grid Control (BC-SRV-ALE)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf]
Regards

Similar Messages

  • How do I change default settings in the author field when I edit or insert a comment in a PDF?

    How do I change default settings in the author field when I edit or insert a comment in a PDF?

    Generally it gets this info from the Identity in the preferences. Unfortunately, I know of no way to change the Login Name that shows up in the comments. I need to look at newer versions of Acrobat on other machines, this is AA8.

  • How do I change custom field description and name on the project fields PDP

    I'm creating a custom PDP for a workflow process and I need to add the folloiwng fields "Project Name" and "Description"
    When I try to create Project Name custom field under server settings I get the following message "The custom field name cannot match the name of any intrinsic fields."
    So I went to the PDP web part Project fields and I found a field named " Project Name". I added it to the Proejct Fields web part, but it displays as "Name".
    How can I change this field that's out of the box? I don't see "Project Name" and "Description" under server settings > Enterprise Custom Fields and Lookup Tables to modify them.
    Thank you

    Hi there,
    Project Name & description fields are internal fields in project server which you cannot view in Enterprise custom fields in PWA. You will not be able to create with the similar name. There is no way to change these fields as far as I know. 
    I would suggest to have the new fields name something like  Project_Name/ ProjName or Project_Description/ProjDescription . 
    Hope that helps.Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

  • How can I format a field in the form creator?

    How can I format a field in the form creator? It's putting the same text in all the fields within a table. I want each field within the table to have different text. As soon as you click out of the table, all the text is the same.
    I even changed the fields from a text box to a drop-down list so a person can make their selection, which will be a quantity from 0-9. There are two of these such fields. You make your selection in each, click off the table and both fields show whatever I selected in field 1. The original Qty I selected in the bottom field was a 5 but it changed it to whatever is in the top field on it's own. I've added a screen shot.

    This behaviors usually happens when you create the fields but  a copy paste command from one of the fields. The copy paste command assumes that your intentions is to maintain a copy of the field in two separate locations (e.i, a form field  "company name" printed in each and every page of a multi-page form document.
    Go to the properties fields of each field and make sure  to assign unique form field  names.

  • I signed up for my apple account while living in Canada, and now I lives in the US. I am looking for a specific app that apparently is only available through the US app store. How can I change my account to the US Apple Store?

    I signed up for my apple account while living in Canada, and now I lives in the US. I am looking for a specific app that apparently is only available through the US app store. How can I change my account to the US Apple Store?

    As long as you have a form of payment (credit or debit card) with a USA source, and with a billing address in the USA, then you just need to change your payment information on your account to that, change your country in the store settings, and you will then be able to shop in the USA store.
    Your AppleID will work in any country's store, as long as your payment source and billing addres are also specific to that country (and you are in that country as well, as there may be IP filters in place to stop use outside of the country).

  • How can I change my visa on the apple account

    How can I change my visa on the apple account

    A number of ways to do this, but on the iPad:
    Open the iTunes app ans select any of the product categories at the bottom (music, for example).
    Scroll down and then tap on the button with your AppleID
    Tap View ID
    Login
    Select Payment information and edit the info, then save

  • How can I change one section of the document to a landscape orientation and not the whole document?

    How can I change one section of the document to a landscape orientation and not the whole document?

    Page Setup, including page orientation, is done in the File menu. The setting applies to the whole document. As Peter says, you can rotate the contents of a page (not including the text layer of a word processing document).
    As an alternative, you could use Numbers, where Sheets are empty canvases onto which you may place images, charts, tables and text boxes, and where page orientation may be set for individual Sheets. The main tradeoff is that you lose many of the built-in word processing and page layout features of Pages.
    Regards,
    Barry

  • My Apple ID and rescue email are reversed. How can I change them both at the same time

    My Apple ID and rescue email are reversed. How can I change them both at the same time?

    I'd already used this standard tool (exhaustively!), but for the problem encountered it operated in Catch 22 mode - you had to do two things but neither order was permitted. I did find an answer eventually, but am not sure what it was I did that solved it! Thanks, anyway.

  • I have always been able to zoom in on my photo by holding the cmd and space bar, that changed and now it creates a box and zooms in on that area and I can't zoom out using cmd   space bar. How do I change it back to the  original way of zooming?

    i have always been able to zoom in on my photo by holding the cmd and space bar, that changed and now it creates a box and zooms in on that area and I can't zoom out using cmd   space bar. How do I change it back to the  original way of zooming?

    Select the Zoom Tool in the tool box and see if Scrubby Zoom is unchecked or greyed out in the tool options bar.
    (you want Scrubby Zoom checked)

  • How do I change a character in the document to another character in one command?

    How do I change a character in the document to another character in one command?

    You mean everywhere? Use Find/Change

  • How do we validate input fields on the selection screen

    How do we validate input fields on the selection screen

    hi balram,
    u can validate input fields using <b>AT SELECTION-SCREEN</b>  Event.
    PARAMETERS : p_werks TYPE marc-werks.
    AT SELECTION-SCREEN ON p_werks.
    SELECT SINGLE *
    FROM t001w
    WHERE werks = p_werks.
    IF sy-subrc <> 0.
    MESSAGE 'Invalid Plant' TYPE 'I'.
    ENDIF.
    Like this, we can validate user input for plant.
    check this link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
    Reware me if useful......
    Harimanjesh AN

  • All photos in portrait format are displayed blurred in the preview mode "fill" of the library. In all other modes e.g. "fit"or "1:2" the photos are sharp. How can I change this, so that the photos are still sharp when displaying them in the mode "fill"?

    All photos in portrait format are displayed blurred in the preview mode "fill" of the library. In all other modes e.g. "fit"or "1:2" the photos are sharp. How can I change this, so that the photos are still sharp when displaying them in the mode "fill"? My Lightroom release is 5.7.1.
    Thanking you in anticipation!

    I'd like to get all these '-1 suffix' files together with their associated Develop adjustments into one folder (if they aren't already) so I can see them in Grid view in the Library module, which I use as my basic starting point for everything else at this early stage of my Lightroom 'career'.
    To see what folder these are stored in, right-click on a photo and select "Go to Folder in Library".
    Advice: if you are going to use Lightroom effectively, you probably want to stop using folders as your method to create a grouping of photos that are already in Lightroom; there are plenty of built-in tools, such as keywords, collections, color labels, etc.
    I don't understand why the search on the entire catalog picked up apparently the same two file versions but also got the Develop adjustments when going to the relevant Folder didn't show the adjustment black squares against each image in Grid view nor were they there when the images were opened in the Develop module.  Perhaps if I understood this, I'd be a bit more confident of moving forward myself.
    These are most likely different versions of the same photo, in different folders. Lightroom stores the edits in its own catalog, and so it knows that one folder's photos have edits, and the other folder's photos do not have edits. Please understand that Lightroom is a database, it knows where the photos are at the time you import them (or add them to the catalog by synchronize), and then if you move things around in your operating system, Lightroom does not know anything about that and problems begin. Thus the advice to organize using Lightroom tools and methods and not operating system tools and methods.

  • HT1677 iOS 7 for iPad the bookmarks tab is now on the top right hand side how can I change this back to the top left hand side as in the previous versions?

    iOS 7 for iPad the bookmarks tab is now on the top right hand side how can I change this back to the top left hand side as in the previous versions? Thanks

    Sorry but you can't

  • How do you change image size in the title window?

    I just changed operating systems to Windows 7, which meant that I had to re install Premiere Pro CS4. I am now working on a 64 bit system. Might not make any difference, but thought I would give you the specifics just in case.  When I pull up the title window to add a title to my clip, the image is about the size of a postage stamp. How do I increase the size of the image in that window?

    Thank you again for responding Hunt. I did find out what what was happening.
    I had to reinstall the program on my computer. I just upgraded to Windows 7, and I now have a 64 bit system. When I booted up PPCS4, I assumed that my settings would be the same as they were before when I had Vista installed and didn't bother to check them when I started a new project. Well, they were not. I also added a TV tuner card to my computer. I now can watch HD TV on my computer. I suppose that it is possible that somehow PPCS4 noticed that, and set my default settings to HD, rather than NTSC DV. I just merrily went along clicking the OK button and started editing. When I start a new project now, I select NTSC DV and the Title window works just fine, and exactly the way I expect it to.
    I just received Jeff Bellune's book Adobe Encore DVD 2.0 in the mail and will be totally immersed in Encore studies today. With all of his children, I don't see how he had time to write it, but I'm glad that he did. I also ordered a book entitled Designing Menus with Encore DVD. I know that it was written for an earlier version than CS4, but I will trust what you said about that. Many things are the same with some minor variations due to upgrades in the program. The basic ideas don't change, but how you accomplish them can, and usually do over time.
    Terry Lee Martin
    Date: Mon, 17 Aug 2009 16:04:16 -0600
    From: [email protected]
    To: [email protected]
    Subject: how do you change image size in the title window?
    Welcome to the forum.
    That is an odd one. The Title should be the same Frame Size as your Project/Sequence. What is it's Frame Size? Also, are you perhaps doing a Title based on an older Template, that was done for a different Frame Size?
    What happens if you choose Title>New Title>Default Still?
    Good luck,
    Hunt
    >

  • How can we add additional fields to the BP Search RESULT screen?

    Dear Experts,
    How can we add additional fields to the BP Search RESULT screen so that the BP's being displayed in a search result show maintained values for the particular column/field?
    Thanks!!!

    Hi Laxman,
                           I got same requirement for ibase hierarchy.I want to add new fields in Ibase hierarchy AB.Do you have any idea regarding this.My requirement is that ,i want to dispaly a fields as a check box which display that this component is in under warranty or not by checking the box.Plz tell ,how can i add a new field in tree type context node.I add a new fields using AET ,but that is not available in that AB.
    Thanks
    Vishwas Sahu
    Edited by: vishwas sahu on Nov 17, 2009 1:51 PM
    Edited by: vishwas sahu on Nov 18, 2009 5:22 AM

Maybe you are looking for

  • Connection timeout with Apple WiFi devices

    Ok, here's the scenario. The important thing to remember is that all was working well, as happy as 'larry the lamb'. Being that I was running Snow Leopard on my MacBook Pro 8,3 while accessing the internet through my iPhone 4 using it's Personal Hots

  • Can't Access Tutorials in PSE 7

    I can only access a few of the (NON-Plus) tutorials in my Elements 7 that I could access before the current update I  got today. (I don't have PLUS).  I get the tutorial screen, sometimes it says it's loading, sometimes not, then, nothing. I'm new to

  • 3rd gen nano dead an beeping

    When trying to reset my iPod nano, the screen lights up but shows no apple symbol and it beeps twice.

  • MSI GX660, help for dissassembly

    Hi, First of all, I'm french, I'll do my best to explain my problem but it's not easy in english. I have a MSI GX660 (bought it one year ago) and it seems that there is a lot of dust (dont know if it's the good word :o) on the air outlet (?). I saw t

  • Bottom of screen (1/2 inch from bottom) is not responsive.

    Hello, I have an unlocked Iphone with a screen that is partially non-responsive. The bottom of my screen, the area about 1/2 an inch above the bottom of the screen, is not responding. That area houses my phone, mail, messages, and ipod icons which I