Is there any functionality for AVERAGE in ALV, like do_sum, subtot?

Hi Experts,
In my_alv report, am doing sub/totals for prices, by using do_sum, subtot functions.........fine. But, I need to do/display the AVERAGE value for Discount % column?
Is there any functionality for AVERAGE in ALV, like do_sum, subtot?
thanq

hi
check these links out
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
regards
vijay
reward points if helpful

Similar Messages

  • Is there any function for the Batch assignment of production order

    There is one function in the CO02(Production Order) which named "BATCH ASSIGNMENT".
    CO02 -> Components -> Batch assignment
    But the function only can assign one material one time.
    This is very boring.
    So we are planning to create a new program for it.
    But I can't find any function moudle or BAPI can be used.
    Could anybody give me some function moudle or BAPI for it?
    Tks

    Hello~~~Is there any body here?

  • Like Ini related functions, is there any functions for reading other functions like .c, .h file

    Hi,
          For reading the *.ini file there are many Ini realted functions. Like that I need in built function in CVI to read the files like
    *.c, *.h line by line. Actually string searching function is not helping me as I want to read it line by line and perform
    the operations in which I am interested.
    Can anyone help me on this?
    Thanks and Regards
    Nagraj B

    It's not clear to me what you are aiming to, but reading a text file line by line can be accomplished by ReadLine () function.
    Parsing the line read to intercept special keyword can be done via regular expression instrument driver, which is included in CVI distribution.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Is there any Certifications for Weblogic Portals ?

    Hi
    Is there any Certifications for Weblogic Portals ?
    like RHCE, JCP, MCSE ...
    Thanks & Regards,
    Siva VP,
    [email protected]

    Check out this link:
    http://certification.bea.com/certification/dev_certification.jsp

  • Is there any Function module available for GR IR for purchase order

    Hi
    Is there any function module available in SAP to get the list of Goods Received and Invoice Reciept for a purchase order.
    One way to create a custom fuction to fetch the details from MSEG and BKPF.
    Can somebody suggest a better solution.
    Thanks in advance.
    Ruhi Hira

    Which table in BAPI_PO_GETDETAILS exactly has these information ?
    PO_HEADER_TEXTS
    PO_ITEMS
    PO_ITEM_ACCOUNT_ASSIGNMENT
    PO_ITEM_SCHEDULES
    PO_ITEM_CONFIRMATIONS
    PO_ITEM_TEXTS
    PO_ITEM_HISTORY
    PO_ITEM_HISTORY_TOTALS
    PO_ITEM_LIMITS
    PO_ITEM_CONTRACT_LIMITS
    PO_ITEM_SERVICES
    PO_ITEM_SRV_ACCASS_VALUES
    RETURN
    PO_SERVICES_TEXTS
    EXTENSIONOUT
    NFMETALLITMS
    Regards
    Ruhi Hira

  • Is there any function module for getting distribution list name

    Hi all,
    Is there any function module for getting distribution list name when there is same description for two distribution list name.
    or
    help me how to fetch the correct distribution name when there is same description.
    In order to send mails.
    Tell me ASAP.
    thanks
    sagar.

    http://www.sapbrainsonline.com/REFERENCES/FunctionModules/SAP_function_modules_list.html
    list of Fms

  • Is there any function module which will upload storage locations for a mat

    Hi gurus,
      Is there any function module or BAPI to extend the storage locations of material which is done through <b>MMSC</b> transaction. I need to write a program to upload new storage locations for some materials.Please advise.
    Thanks ,
    Sam.

    You can do this using the BAPI_MATERIAL_SAVEDATA
    Regards,
    Rich Heilman

  • Is there any function module for purchase order change

    Hi Experts,
    Is there any function module for purchase order change or i need to do new recording in me22n.
    Thanks,
    Senthil

    Hi
    Function module <b>BAPI_PO_CHANGE</b> enables you to change purchase orders. The Change method uses the technology behind transaction ME22N.
    Regards,
    Viven

  • Is there any function module for converting text to hyperlink?

    Hello all,
              I am designing an application in BSP wherein the user can enter hypertext values for some
              of the data enteries in the database table. Is there any function module available for converting
              text into hypertext. Eg. if the user enters 'www.mypersonalwp.com' then it should convert this
              text value into a hyperlink.
    Thanks in advance.
    Gurmahima.

    Hi,
    Refer the given below link
    http://help.sap.com/saphelp_erp2004/helpdata/EN/85/ce25c2d7ae11d3b56d006094192fe3/content.htm
    Hope it helps you
    Thanks
    Arun Kayal

  • Hi is there any function module for radix conversion

    Hi,
    I need to convert number of base 36 to decimal number. Is there any function module for that.
    i.e) z to 35
         10 to 36
         11 t0 37

    Hai,
    This program perfectly converts a number from one number system to another number system.
    REPORT  Z_RADIX_CONVERSION.
    PARAMETERS:
      P_S_RAD(2) TYPE N,                   " Source Radix
      P_D_RAD(2) TYPE N,                   " Destination Radix
      P_S_NUM(5) TYPE C.                   " Source Number
    *" Data declarations...................................................
    Work variables                                                      *
    DATA:
      W_LEN         TYPE I,
      W_FACT        TYPE I,
      W_D_NUM(5)    TYPE N,
      W_T_LEN       TYPE I,
      W_NUM         TYPE C,
      W_NUM1        TYPE I,
      W_REM         TYPE I,
      W_INDEX       TYPE I VALUE 20,
      W_T_NUM(30)   TYPE C,
      W_T_NUMBER(5) TYPE N.
    IF P_S_RAD GE 1  AND
       P_S_RAD LE 16 AND
       P_D_RAD GE 1  AND
       P_D_RAD LE 16.
      IF P_S_RAD EQ 01 AND P_S_NUM CO '0 ' OR
         P_S_RAD EQ 02 AND P_S_NUM CO '01 ' OR
         P_S_RAD EQ 03 AND P_S_NUM CO '012 ' OR
         P_S_RAD EQ 04 AND P_S_NUM CO '0123 ' OR
         P_S_RAD EQ 05 AND P_S_NUM CO '01234 ' OR
         P_S_RAD EQ 06 AND P_S_NUM CO '012345 ' OR
         P_S_RAD EQ 07 AND P_S_NUM CO '0123456 ' OR
         P_S_RAD EQ 08 AND P_S_NUM CO '01234567 ' OR
         P_S_RAD EQ 09 AND P_S_NUM CO '012345678 ' OR
         P_S_RAD EQ 10 AND P_S_NUM CO '0123456789 ' OR
         P_S_RAD EQ 11 AND P_S_NUM CO '0123456789A ' OR
         P_S_RAD EQ 12 AND P_S_NUM CO '0123456789AB ' OR
         P_S_RAD EQ 13 AND P_S_NUM CO '0123456789ABC ' OR
         P_S_RAD EQ 14 AND P_S_NUM CO '0123456789ABCD ' OR
         P_S_RAD EQ 15 AND P_S_NUM CO '0123456789ABCDE ' OR
         P_S_RAD EQ 16 AND P_S_NUM CO '00123456789ABCDEF ' .
        W_LEN = STRLEN( P_S_NUM ).
        W_T_LEN = W_LEN - 1.
        DO W_LEN TIMES.
          W_NUM = P_S_NUM+W_T_LEN(1).
          CASE W_NUM.
            WHEN 'A'.
              W_NUM1 = 10.
            WHEN 'B'.
              W_NUM1 = 11.
            WHEN 'C'.
              W_NUM1 = 12.
            WHEN 'D'.
              W_NUM1 = 13.
            WHEN 'E'.
              W_NUM1 = 14.
            WHEN 'F'.
              W_NUM1 = 15.
            WHEN OTHERS.
              W_NUM1 = W_NUM.
          ENDCASE.
          W_D_NUM = W_D_NUM + W_NUM1 * ( P_S_RAD ** W_FACT ).
          ADD 1 TO W_FACT.
          SUBTRACT 1 FROM W_T_LEN.
        ENDDO.
      ELSE.
        WRITE'Invalid Number'(003).
      ENDIF.
    ELSE.
      WRITE'Enter radix between 1 and 16 '(002).
    ENDIF.
    W_T_NUMBER = W_D_NUM.
    IF P_D_RAD = 1.
      DO W_D_NUM TIMES.
        WRITE'O'.
      ENDDO.
    ELSE.
      WHILE W_T_NUMBER NE 0.
        W_REM = W_T_NUMBER MOD P_D_RAD.
        CASE W_REM.
          WHEN  10.
            W_T_NUM+W_INDEX(1) = 'A'.
          WHEN  11.
            W_T_NUM+W_INDEX(1) = 'B'.
          WHEN  12.
            W_T_NUM+W_INDEX(1) = 'C'.
          WHEN  13.
            W_T_NUM+W_INDEX(1) = 'D'.
          WHEN  14.
            W_T_NUM+W_INDEX(1) = 'E'.
          WHEN  15.
            W_T_NUM+W_INDEX(1) = 'F'.
          WHEN OTHERS.
            W_T_NUM+W_INDEX(1) = W_REM.
        ENDCASE.                           " CASE W_REM.
        SUBTRACT 1 FROM W_INDEX.
        W_T_NUMBER = W_T_NUMBER DIV P_D_RAD.
      ENDWHILE.
    ENDIF.
    WRITE:
      /10 'The Equivallent number in Base'(001),
           P_D_RAD,
           'is',
           W_T_NUM.
    <b>Reward points if helpful .</b>
    regards,
    rama pammi

  • Is there any function modules or BAPI's

    Is there any function modules or BAPI's that would delete the original partner and then add a new partner.Iam using BAP
    bapi_alm_notif_data_modify
    But iam not able to change partner in notification header
    Please give your input for sovling it

    Dear Rama,
                           In the bapi_alm_notif_data_modify, there are 2 structure
    NOTIFPARTNR STRUCTURE  BAPI2080_NOTPARTNRI OPTIONAL
    NOTIFPARTNR_X STRUCTURE  BAPI2080_NOTPARTNRI_X OPTIONAL
    Pass yr partner value in NOTIFPARTNR, and against the value make it "X" in the NOTIFPARTNR_X  , then u can change the partner value.
    Give point if helpfull
    Thanks

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • Is there any function to automatically adjust the voice volume in the multitrack

    I'm trying to mix voice sounds and music files into one track. Sounds easy! But almost every music has its loud parts(for example the climax) and quiet parts. Therefore when i listen to the voice and the music at the same time, the voice files are sometimes relatively too quiet and sometimes to loud. I don want to adjust the volume pan one part after another because I have a lot of files to mix. Could you tell me is there any function I can use to automatically adjust the voice volume to make it always 'just a bit higher than the music'? Or can I read some documents about this problem?
    Thank you very much!

    Sounds like you want to do what is called "ducking" & "side chaining".
    First try using a compressor and or limiter on the voice tracks to get a more even volume.
    Google: Audio Ducking tons of stuff on how to.
    I myself have never tried this with Audition, or the compressors that come with it. I have done it in other multitrack software and older versions of Dave Browns Compressor.
    Duff

  • Is there any way for me to get my music off of my iPod?  I had to get a new computer and no longer have my files...but most are cds

    Is there any way for me to get my music off of my iPod? I had to get a new computer and no longer have my files, most of it is cds...

    Your iPod can only be synced with one computer at a time.  If you try to sync it with a new computer/iTunes library, it will replace the contents of the iPod with whatever is in the new library. You should probably disable the autosync functionality first by going to Edit -> Preferences, clicking the Devices tab, and enabling the prevent iPods,iPhones, and iPads from automatically syncing option.
    Before doing anything else,  authorize the new computer with your iTunes Account.  In iTunes, choose Store -> Authorize This Computer and enter in the correct credentials. Either copy a backup file from your old computer to your new one or create a new backup of your iPod in iTunes before letting it sync.
    Then right->click on your iPod Touch from under the Devices section in the left hand pane of iTunes and choose Backup. You might also want to take a look at this article to see what it all included in the backup.
    iOS: How to back up
    Now onto synced content such as music, videos, photos, etc.  For iTunes purchases you can copy them back into iTunes by choosing File -> Transfer Purchases.  For all other nonpurchased iTunes content, see this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your PC and into iTunes.
    Recovering your iTunes library from your iPod or iOS device
    Once the backup has been made and all other synced content such as music, videos, and photos are back in your iTunes library, restore your iPod from that backup you made earlier.  Here is more on backing up and restoring your iPod.
    iTunes: Backing up, updating, and restoring iOS software
    If you do happen to lose any purchased content, you can always redownload it from the iTunes Store again at no cost via iCloud.  See this article for information.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    B-rock

  • Is there any function module to give absolute value of a number?

    Hi,
    Is there any function module to give absolute value of a number?
    That has similar functionality to the Built in Function ABS.
    Please let me know.
    Thanks,
    cs

    hi,
    why are you looking for any function module.
    You can easily get it by mathematical function ABS .
    Syntax : <Turget Variable> = ABS <Source Variable>
    \[removed by moderator\]
    Anirban Bhattacharjee
    Edited by: Jan Stallkamp on Jun 27, 2008 4:19 PM

Maybe you are looking for

  • Moving Pictures to External Hard Drive

    I purchased a SimpleDrive External Hard Drive (by SimpleTech) to transfer photos off of my Dell laptop. Since then, we purchased an iMac computer, and I thought it would be compatible with the Mac as well. I uploaded the Mac-based program that came w

  • Is the only option to store files in iCloud through apps?

    I've noticed some apps (iWork, Text Edit, Preview, Pixelmator to name a few) give you the option to save or open documents from iCloud, but is there no easier way like just dragging files into a folder like Dropbox?

  • Symbol for NASDAQ

    What symbol does one use to post the NASDAQ on the stocks page???

  • Itunes library backup not working

    I currently have a backup of my itunes library file as well as the itunes music. I lost the orginal xml file and when I open itunes, I get a blank database library. When I try to add to library, nothing happens. Should I try something else to get the

  • HP Pavilian 533w - Multimedia Audio Controller Will not load

    I have a HP Pavilion 533w that I can't get the Multimedia Audio Controller to load. I am running Windows XP home, and it is a new installation. The error code is 28 and I have been to HP's web site and followed all of their instructions with no help.