Please help urgent Calculation at the end of alv report

Hi ..
It is necessary to define clearly  col1 first record is 10 col2 first record is 20 ..
col1 second record is 15 col2  second record is 25 .
COL3 first value is 10 / 20 .
col3 second value is 15 / 25 .
This datas come from internal table .
When I add at the end for all columns it get wrong calculation or lets say I want to do like total col1 10+ 15 total  col2 is 20+ 25 . Total column3 is would like to be 25 / 45 .
How can I insert a line which is doing this operation in my alv .

try this
first
DATA : SAT_EVENTS     TYPE SLIS_T_EVENT.
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
      I_LIST_TYPE = 0
    IMPORTING
      ET_EVENTS   = SAT_EVENTS[].
  READ TABLE SAT_EVENTS WITH KEY NAME =  SLIS_EV_TOP_OF_PAGE
                           INTO LS_EVENT.
  IF SY-SUBRC = 0.
    MOVE 'TOP_OF_PAGE' TO LS_EVENT-FORM.
    APPEND LS_EVENT TO SAT_EVENTS.
  ENDIF.
  READ TABLE SAT_EVENTS WITH KEY NAME =  SLIS_EV_END_OF_LIST
                         INTO LS_EVENT.
  IF SY-SUBRC = 0.
    MOVE 'END_OF_LIST' TO LS_EVENT-FORM.
    APPEND LS_EVENT TO SAT_EVENTS.
  ENDIF.
form for end of list
FORM END_OF_LIST.
  DATA: P_HEADER TYPE SLIS_T_LISTHEADER,
        PA_HEADER TYPE SLIS_LISTHEADER.
  DATA: INFO(100).
info = <your calculated value for col3>
PA_HEADER-TYP = 'S'.
PA_HEADER-INFO = INFO.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY       = P_HEADER
  I_LOGO                   =
     I_END_OF_LIST_GRID       = 'X'
ENDFORM.                    "END-OF-LIST
in REUSE_ALV_GRID_DISPLAY pass
IT_EVENTS =  SAT_EVENTS[]
hope this will work
regards
Shiba dutta
Message was edited by:
        SHIBA DUTTA

Similar Messages

  • Please Help Urgently to refresh the report on the change in data

    We want to refresh report at runtime for the Drill Down report if any user changes the Data. We changes the data from the form which is called from the report and we want to this effect on the report on the prompt.
    Is there any method to close the report while it is in the queue of Background Engine? Can we refresh the report ? Please help urgently.
    Thanks in Advance.

    Pritesh,
    Reports goes out to the database and fetches the data (not a snapshot) and returns the information, formats it and displays it. The only way to refresh, is to rerun the report.
    If your are running from the server, you need to make sure you are not fetching from cache (you determine this from destype and set the life of the cache in the servername.ora file).
    I am unaware of any way to programatically close the report once displayed. The user must take action to close the report (unless you call the operating system to kill the display). When you rerun the report from Oracle Forms, you will get fresh data.
    Regards,
    The Oracle Reports Team jls

  • Please help find driver, at the end of my rope with this ca

    I purchased a used soundcard from a computer repair shop near here a few months back. The sound card did not come with an installation CD. So i was pretty much left on my own to find drivers for it. Ive got a good many years experience building pcs so i figured this wouldnt be a problem. How WRONG i was lol. After being unable to find drivers for it originally I finally gave up and put the card in a static protection bag i had laying around and havent thought about it much since then just counted it as a loss. Now im back at it trying again to find drivers to get this card to work.
    The following is every bit of information i feel applicable to this sittuation, however if anymore infos needed please let me know and ill try to provide it.
    My operating system= windows XP with SP2
    The following is off the card itself. (which says its a creative sound blaster Li've!)
    Theres an inkstamp on the uppper left hand corner of the non chipset side that reads
    32AMN08B 853
    94v-0 k
    (backwards RJ looking symbol)e9697 3999
    Serial number= m48309402990
    Model number= CT4830
    Steps i've taken so far are i originally went to the creative search function and looked for the drivers on their site it gave me a link to two files which i downloaded.
    This is the link where i downloaded the following files
    http://us.creative.com/support/downloads/download.asp?MainCategory=&nRegionFK=&nCountryFK=& nLanguageFK=&sOSName=Windows+XP&region=&Product_Na me=Li've%2&Product_ID=4857&modelnumber=&driverlang =033&OS=0&drivertype=0&x=26&y=
    And this of course is the two files i got.
    . Li'veDrvPack_Patch.exe
    2. Li'veDrvUni-Pack(ENG).exe
    File number one has a warning as follows:
    (This is an update patch, it is not a complete driver installation. You must have the previous Li'veDrvPack.exe (SBLW-XPWEB-W3-US), posted July 7,2002. in your system if you wish to use this patch.)
    Ive searched the site i cant find this file (SBLW-XPWEB-W3-US) after searching through the forums a bit i found this thread http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=25677&vie w=by_date_ascending&page=
    Which had lists of ISOs for all the different installation CDs. I downloaded everything i seen on filefront (http://hosted.filefront.com/BadBoyforum) badboy had posted that had LIVE in the name. These include the following ISOs.
    . SB Audigy & Li've!.iso
    2. SB Li've! 5. (SB0228).iso
    3. SB Li've! 5. (SB0229).iso
    4. SB Li've! 24bit.iso
    I mounted each image in daemon tools and attempted to install and recieved the following error
    ERROR= Setup could not detect any sound blaster audio card on your system. Please ensure that your sound blaster hardware is properly installed before running this setup program. Setup will now exit.
    Im kindve at a loss as how to proceed. Ive tryed looking through driverguide.com and a few other generic driver sites without much luck. If anybody at all has any suggestions on this id be very appreciati've. Like i said its a used card so it could be an OEM but it appears to be an ODM but who knows im by no means an expert on all this. I may have missed one of the LIVE isos off that filefront site but i dont think so. The only one i see thats left is the external one and its an internal card so i dont see how that could be right.

    shadowcage wrote:
    okay well i tryed the patching method on all of the isos i had after extracting them.
    I patched it and it said it was successful. when i ran each successi've setup it still didnt detect any soundblaster hardware.
    I also went to compaq and tryed a driver i found there without any luck. Im thinking at this point it is an OEM
    Although i still dont understand how you got compaq from the model number, im going to continue looking around their site.
    Maybe ill luck out but so far im about to the point im ready to throw this @#$%@%#@$@##@$#@$% thing away lol.
    Im looking on driver guide now again. :Sighs This is so aggrivating Normally i wouldnt have bought a card without the drivers but
    my wifes the one that got it and she didnt know. Oh well......
    You can get the model information from here.
    You can also try by installing kX drivers -> if kX package don't get installed, your card may have some problems.
    kX Home pages - http://kxproject.lugosoft.com/index.php?skip=
    kX support forum - http://www.driverheaven.net/forumdisplay.php?f=74
    jutapa

  • Please help, I'm at the end of my rope...

    I got my 30gb video iPod a couple of months ago. Well, today I was running iPod restore and it got unplugged. Since that happened, my iPod can't be recognized by any USB port on my computer or on my friends mac. We've tried using different cables in case they were damaged and that didnt' work. My iPod does make the sound like it's trying to load something but it just keeps repeating and doesn't stop unless i plug it in or unplug it. Also, nothing shows up on the screen even if I reset it or try to put it into Disk Mode. Is there anything I can do or will I have got get it serviced?
    XPS M1710   Windows XP Pro  

    Now I've got another problem with it. After I posted my original question here, I didn't touch my iPod again. Well it just made a horrible noise that sounded like two pieces of steel grinding against one another. It hasn't made a single sound since then and now it's completely cold. I fear the worst for my shiny companion...It seems that my only option now is to get it serviced but feel free to post anything that you may think will help.
    R.I.P, little buddy.

  • Please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE

    please help URGENT : Chinese handwriting doesn't seem to work on Lion OSX. the handwriting trackpad appears but anything i write in Chinese doesn't appear in word, chrome,..... HELP PLEASE
    And in system prefs/language and text/input languages, simplified chinese and traditional chinese are ticked as usual with handwriting options on !!!!

    Please search the forum for "chinese" to find the many other earlier posts about your issue, like
    https://discussions.apple.com/message/15746805#15746805

  • I bought an iphone 5 on 01 February 2013 from your store to use in Turkey. But the phone is sim-locked. What can I do now?  Please help urgently.

    I bought an iphone 5 from apple store in Geneva to use in Turkey. But it is sim-locked. What can I do now. Please help urgently.

    Return it to the store where you purchased & get your money back. Either that, or call the store. No one here can help you, as there is no one from Apple here.

  • I've added a pdf to itunes and i want to change it so its visible with an album (digital booklet). But for some reason, when i click get info, its all greyed out and the little box for read only is unticked. please help - urgent! thanks

    I've added a pdf to itunes and i want to change it so its visible with an album (digital booklet). But for some reason, when i click get info, its all greyed out and the little box for read only is unticked. please help - urgent! thanks

    Hi
    My first thoughts are
    • iMovie ill behaving - Trash the iMovie pref file - use to set things right
    • in reg. to Photos - Did You change iPhoto Photo Library - Then iMovie get's lost as it peeks into iPhoto on start up to see where photos are stored. Set iPhoto back to first Photo Library (when iMovie is not running) then start iMovie.
    Yours Bengt W

  • PASSWORD FOR FLODERS  PLEAse  HELP URGENT

    HI ALL
    please tell me the method of implementing password
    provision for some folders/files in the system.
    it should ask for password authentification before
    opening when i click on the folder.
    please help urgent
    thanks
    belur

    Hi Swaroopba,
    It can be very well done thru Form based Authentication.
    For eg let me explain with respect to Tomcat.
    Go to
    $TOMCAT_HOME/webapps/examples/WEB-INF directory.
    Please add the following code in it.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Protected Area </web-resource-name>
    <!-- Define the context URL's to be protected -->
    <url-pattern>/jsp/security/protected</url-pattern>
    </web-resource-collection>
    </security-constraint>
    Please add the following code in it. And you have to specify the roles for it.
    I hope this will be helpful for you.
    Or if you want it in an application, please let me know.
    Thanks
    Bakrudeen

  • PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED"

    HAI EVERYBODY,
    PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED" during the material master replication by using middleware parameters.
    step1 : i have taken SRM client 810 and named it as CHINNISRM
    step2 : i  have taken r3 client 810 and named it as CHINNIR3
    step3: During material master replication i maintained tables like crmconsum,crmrfcpar,crmparoltp in   r3   and smofparsfa in srm client and filtered the objects and loaded the objects through r3ac3,r3ac1,r3as.
    step4 : And later i have checked in r3 queues to activate the objects,but i have seen a message like  "LOGICAL SYSTEM CHANGED:SEE 588701".according to the oss instructions i have checked in CRMPRLS table in se16 in R3 .there i found out there is one logical client  named with T90CLNT810.
    oss :588701
    Solution
    There are different cases in which different forms of processing are
    required or where several options exist:
    - The logical system name of an R/3 Backend client was changed in
    current operation. In this case, the data hangs in the outbound
    queues of the R/3 Backend system as specified under point 1 of
    the symptom. In this case, the logical system name must be
    changed back to the original value. Then the outbound queues
    can be reactivated. If no data was transferred to the EBP/CRM
    server before the change, also a correctioin of the check table
    is possible.
    - The same logical system name was used again in a new client of
    an R/3 Backend system that was linked to the EBP/CRM server. In
    this case, the data is in the inbound queue of the EBP/CRM
    server with the exception GUID_FOR_LOGSYS_CHANGED. In this
    case, the queue entries which have status SYSFAIL must be rejected, however, not the entire queues. If the new client of  the R/3 Backend system you have linked has exactly the same
    data as the old client and if it is meant to replace the old
    client (that is, this was deactivated), also a correction of
    the check tables is possible. In this case, the inbound queues
    can be reactivated after the correction.
    oss:765018
    1. If the situation in your system corresponds to the situation described
    under "Reason and Prerequisites" and if symptom 1 occurs, you can
    delete the table entry from table CRMPRLS table (there is just one
    entry). Since there is no maintenance dialog for this table and you
    cannot maintain it using transaction SE16, you must use a report to
    delete it. This report is attached to this note as correction
    instructions.
    Create the report ZZ_DELETE_CRMPRLS in your system and copy the source
    code from the correction instructions. You cannot implement this
    source code using transaction SNOTE.
    You can use the report in every plug-in or plug-in basis system, even
    if it is not specified in the validity section.
    After you have run the report, you can trigger existing queues again
    in transaction SMQ1.
    2. If the situation in your system corresponds to the situation described
    under "Reason and prerequisite" and if symptom 2 occurs, you can
    delete the entry from table CRMMLSGUID (there is just one entry).
    Since there is no maintenance entry for this table and you cannot
    maintain it using transaction SE16, you must use a report to delete
    it. This report is attached to this note as correction instructions.
    If they do not yet exist, add the following messages to message class SMOF in your logon language:
    Message Message short text
    303 User &1 is not allowed to change table &2.
    304 User &1 IS not allowed to display table &2.
    305 Logical system &1 was not found in table &2.
    306 System error! The current client was not
    found in table T000.
    Create the report ZZ_DELETE_CRMMLSGUID in your system and copy the
    source code from the correction instructions. You cannot implement
    this source code using transaction SNOTE.
    You can use the report for every release of the CRM system, even if it
    is not specified in the validity section. The only exceptions are CRM
    releases with Support Package versions that are too low such as CRM
    Release 3.0 with Support Package 12.
    After you have run the report, you can trigger existing queues again
    in transaction SMQ1 of the R/3 back-end system or transaction SMQ2 of
    the CRM system.
    so what should i do to do the replication.please suggest me .untill and unless i solve my problem i cant move to the further activity.i hope you people can solve my problem.thanks in advance.
    thanks and best regards,
    n.chakradhar

    Hi chakradhar,
    Did you find a solution to your issue? We are facing a similar issue and looking to figure out how this can be resolved.
    BR// 420

  • I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699

  • Please Help - Urgent

    Hi everyone, I�m having problems with Java Mail, I have just installed it along with the java activation framework, they are located in the following directories:
    JavaMail: C:\jdk1.3.1\lib\javamail-1_2[1]
    Java activation framework: C:\jdk1.3.1\lib\jaf1_0_1[1]
    I have the classpath set as: C:\jdk1.3.1\lib\mail.jar;C:\jdk1.3.1\lib\activation.jar
    When I try to compile the sample code provided with these packages, msgsend.java using Jbuilder 2 I get the following errors:
    Error (36): cannot access directory javax\mail.
    Error (37): cannot access directory javax\mail\internet.
    Error (209): class message not found in class msgsend.
    Error (210): class MessagingException not found in class msgsend
    Error (134): class Session not found in class msgsend
    Error (134): variable Session not found in class msgsend
    Error (139): class Message not found in class msgsend
    Error (139): class MimeMessage not found in class msgsend
    Error (141): class InternetAddress not found in class msgsend
    Error (145): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (146): Variable InternetAddress not found in class msgsend
    Error (148): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (149): Variable InternetAddress not found in class msgsend
    Error (151): cannot access class Message.RecipientType;neither class nor source found for Message.RecipientType.
    Error (152): Variable InternetAddress not found in class msgsend
    Error (162): Variable Transport not found in class msgsend
    Error (170): class Store not found in class msgsend
    Error (172): class URLName not found in class msgsend
    Error (172): class URLName not found in class msgsend
    Error (189): class Folder not found in class msgsend
    Error (195): Variable Folder not found in class msgsend
    Error (197): class Message not found in class msgsend
    Error (197): class Message not found in class msgsend
    If I try to use another Java package to compile it I get even more errors (52), I cannot compile it by using the Javac command line compiler, it just says �Bad command or file name�.
    Can anyone tell me Why this is happening and how I might be able to fix it please, I need to start learning Java Mail quickly but at the moment I can�t even begin to do this until I can understand how to get this sample code to work.
    Thanks Everyone
    Noel

    First of all... don't post with topics like "Please Help - Urgent". The topic is supposed to reflect what the question is about.
    Secondly... think for a second. If mail.jar is in C:\jdk1.3.1\lib\javamail-1_2[1]... why are you with your classpath saying that mail.jar is in C:\jdk1.3.1\lib ?
    You classpath is supposed to point directly at you jar-files.
    /Michael

  • How to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently, how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently

    how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently, how to download garageband old version? i mean version 1.0 to install it on iphone 4s with ios 6.0.1??? please help urgently

    I did this a few weeks ago to be sure it was going to work for a young person I was giving my ipod to.  Then I reset the information for her and now it will not load.  Very sad.  She is so talented and she really needs this.   Anyone know?

  • I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.

    I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.??

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • HT203167 I can't even find the app in the store. Please help. I contacted the camadu app support but they haven't rep

    I bought the app peru tv in march. Sometimes it stays idle when downloading a tv channel so I ended up deleting the app and reinstalling it. Today I can't even find the app in the store. Please help. I contacted the camadu app support but they haven't replied regarding problems with channels and lost app

    In order to properly upgrade the OS of your Mac.  10.1  Puma is really old.  Your Mac has to meet the tech specs for Lion:  And it would probably need to be a clean install.  If you recently purchased Lion.  Call Apple Care CPU and ask them to be sure.  You get 90 days Free of phone support.  1-800-275-2273
    Apple - OS X Lion - Technical specifications 
    General requirements
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Some features require an Apple ID; terms apply.

  • How to access the activities created by an enduser especially when the enduser has left the organization?Please help me out with the possible solution

    How to access the activities created by an end user especially when the end user has left the organization?Please help me out with the possible solution

    Hi Ramesh,
    In the web UI we have business role IC_manger where you can search the activities based on employee responsible and you can use business transaction assignment functionality to assign those activities to any  other end user or team.
    Else you can also use Agent inbox functionality if you have configure the agent inbox for those activity.
    Hope this helps solving your query

Maybe you are looking for

  • Voice Memo Crashing - Help.

    My "voice memo" keeps crashing when i try to open it.  It has played since my last software update, so I'm not sure what happened. When I sync my phones through itunes, my new voice memos won't transfer either. Any thoughts on how to retrieve the dat

  • How do i get my music off my pc and onto my mac ?

    This is probs the oldest question out there, but how do i get my music off my pc and onto my mac ?

  • Where did my bookmarks in the html file go?

    I exported my bookmarks to html. The file opened fine with FireFox and notepad and showed the bookmarks. I copied the file to a thumb drive and it still opened fine with FireFox or notpad. But, as soon as I eject the flash drive, and put it back in,

  • Problem sqlite+berkeley PANIC: fatal region error detected.

    Excuse for my English and if this wrong place to explain the problem I'm checking to replace Berkeley DB and SQLite for testing the stability against involuntary interruptions of program I have encountered the following error: Berkeley DB trust in kn

  • Archiving for production order.

    HI Friends,      While doing the production order archive  process the system shows the following msg" No order found". Note: Teco & Deletion flag  indicatoralready set for that order&  settlement also completed. kindly give the solution for this. Re