Calculate sub totals in SAP Script

Hi Friends, In Sapscript,  I want to print as follows. Please help.
Empno       Name       Dept.        Salary
A1             AAAA       DP01       1000.00
A2             BBBB       DP01       1500.00
                                      2500.00
A3         CCCC    DP02    2000.00
A4         DDDD    DP02    2200.00
                                       4200.00

Hi
To calculate totals and sub totals in sap scripts you have to use subroutines.
Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
/: DEFINE &TOT_PRICE&
/: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
Then write the variable where ever you want it to be printed (mostly it will be in footer window)
Then create subroutine pool program and you have to write the code.
FORM F_GET_PRICE tables int_cond structure itcsy
                                    outt_cond structure itcsy. data : value type kbert.
statics   value1 type kbert.
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
PLZ REWARD POINTS

Similar Messages

  • This is regarding totals and sub totals in sap-scripts

    Hi to all...............
    1...How to print totals and subtotals in sap-scripts? where we have to code the logic.what sort of logic is needed to print the same?
    regards,
    swaminath.

    Hi
    HI,
    To calculate totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
    outt_cond structure itcsy. data : value type kbert.
    statics value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    To know more, have a look at this thread ..
    Re: SAP Script: Display Total calculated  on page 2 in page 1
    <b>Reward if usefull</b>

  • Urgent : how to calculate sub total and grand total in smart forms

    Hi Friens..how to calculate sub total and grand total in smart forms..How to print them in smart forms...Also kindly explain how to handle events in smart forms..Thanks in advance

    Re: Subtotal with Table Node in smartforms

  • How to calculate Sub-Totals/Grand Totals on repeating row.

    I have a this form that I need to calculate to produce a Sub-Total....  An end user can keep adding a line item but I would like to be able to add the amounts entered to calculate in a sub-total field.  So basically, I need help with the actual script that would total the amount calculated from a Quantity*Amount  which is -->"Sub Total" column then taking all of those to a new calculating script down to the "Sub-Total" field below it.  I probably should rename them because its too similar..  I've tried the recommended scripts from the forums but just could not get it to work.
    Excuse my editing...but this is what it looks like.  If i need to clean it up so it looks more consistent please let me know if you have any advice.  I just started working on acrobat forms 2 days ago and my eyes have gone blurry from reading the help forums
    and here's the javascript on my "Sub-Total" (Which should probably be renamed to "Total" and my "Total" to "Grand Total".  Any help would be much appreciated.  Thanks!

    Try the LiveCycle Designer forums...

  • How to print the Totals in SAP Scripts..?

    Hi,
    I have an SAP Script layout. Currently I am displaying the Line items in the layout. The new requirement has come up to display the TOTAL of the amount value in the layout at the end of the line items. Can someone tell me how to display the Sum of the Amount value at the end of the Line items in an SAP Script.
    The Print program for this layout is standard program. Can this be handled within the layout..? Someone please provide me some sample code if available.
    Thanks in advance.
    Best regards,
    Paddu.

    Hi,
    Thank you for your reply.
    My Standard print program doesn't provide the total value.  Could you please tell me where exactly we need to write the logic in the Layout. I mean, do we need to write under separate element..? and in the External subroutine, how would be the logic. It would be greatful if you provide some sample code.
    Thanks & Regards,
    Paddu.

  • How to calculate a value in sap script?

    Hi friends i have to do addition and then display the added value in grandtotal like
    total amount + late fee = grand total
    i have to do this in sap script can anyone tell me the procedure where to declare wheather in abap aditor if yes how?

    Hi ...
    Its easy to add up two values...
    u can do it in a subpool program...
    Refer the following code:
    Code the following in the Script...
    /:   PERFORM TOTAL_SUM  IN PROGRAM 'ZTEST_ADDITION'
    /:   USING    &VAL1&
    /:   USING    &VAL2&
    /:   CHANGING &TOTAL&
    In the EDitor..create a program ' ZTEST_ADDITION'..
    FORM TOTAL_SUM  TABLES in_tab  STRUCTURE itcsy
                                                 out_tab STRUCTURE itcsy.
    Read in_tab index 1.
    Here u will get the val1...
    Read in_tab index 2.
    here u will get val2.
    l_v_total = val1 + val2.
    read out_tab index 1.
    out_tab-value = l_v_total.
    modify out_tab index 1.
    Write the changing paramets in the form
    to Output the values...
    Thanx,
    navin..!

  • Difference between 2 sub-totals in SAP query

    Hello Experts,
    Is there any possibility to find out the difference between 2 sub-totals and display it at the bottom of the ALV output( like total) in SAP Query using SQ01.
    For example: see below example(Request you to paste the below in an excel sheet for more readability).
    PRZ     25.05.2011     A 007 008 01 15     10     EA           0,00     INR          0,00     INR          2,00     INR               0,00     INR
    PRZ     27.05.2011     A 007 008 01 00     1     PC          10,00     INR          0,00     INR          0,20     INR               0,10     INR
    PRZ     27.05.2011     A 007 008 01 00     1     PC          10,00     INR          0,00     INR          0,20     INR               0,10     INR
    Sub-total               10     EA     20,00     INR          0,00     INR     2,40     INR     20     INR
                   2     PC                                        
    DRP     26.05.2011     WDB2020261X744924     1     PC          60,00     INR         50,00     INR         30,00     INR               0,00     INR
    DRP     31.05.2011     WDB2020261X744924     1     PC          60,00     INR         50,00     INR         30,00     INR               0,00     INR
    Sub-total               2     PC     120,00     INR     100,00     INR     60,00     INR               0,00     INR
    Grand totals               10     EA     140,00     INR     100,00     INR     62,40     INR     20     INR
                   4     PC                                        
    In the same way as Grand total, Is there any possibility to find out the difference between the 2 sub-totals and display at the bottom after the Grand Totals row.
    Please let me know if there is any possibility for the same.

    Just to update on my question.
    In the sub-totals line you can see that there is 20,00 INR value which is summation of the above fields present in individual line numbers above. And the same way for the rest of the fields as well.
    After calculating the sub-totals in this manned, I need to find out the difference between the subtotals and display it at the bottom of the output.
    Please let me know if this is possible.

  • How to dynamically calculate sub-total of rows and display when member changes in Hyperion Financial Report

    Requirement - I am writing a very  large reports from Hyperion Performance Cost management.
    Account is in Row. We are taking all level0 members in Row. In columns we are taking Entity,Cost Centers
    Current Structure of the Report
    41100  Entity1 Cost center1 20
    41100  Entity1 Cost center2 30
    41100  Entity1 Cost cenetr3 40
    41200  Entity 10 Cost center1 200
    41200  Entity 10 Cost center2 210
    41200  Entity 10 Cost center3 200
                 Grand Total  1000 ( For Example)
    User wants to dynamically add a sub total into the report when account (41200,41100) changes i.e. This is because , its a very large report of 100's of pages,
    Future State
    41100  Entity1 Cost center1 20
    41100  Entity1 Cost center2 30
    41100  Entity1 Cost cenetr3 40
    sub total 1 --------------------------90 ( This line should be automatically inserted here)
    41200  Entity 10 Cost center1 200
    41200  Entity 10 Cost center2 210
    41200  Entity 10 Cost center3 200
    sub total (n) -------------------------610  ( This line should be automatically inserted here)
                 Grand Total  1000 ( For Example)

    Hello,
    maybe re-consider this approach and say no to the users who request this. Try to think about other solutions.
    Sometimes a "no" helps them more than doing what they ask.
    You might export the whole in Excel. Then they can make their subtotals at every line.
    Regards,
    Philip.

  • Calculation of total in sap script

    Hi All,
    Please help me out for this requirement.
    I have an amount field reguh-rbetr. I need to show the sum of this field as TOTAL.
    How can we do it? Please let me know. Is there any function in the script itself or do we need to calculate it in the program? Pl gimme example code.
    Regards,
    Priya

    Hi
    see the sample codes of the Subroutines and do accordingly
    How to call a subroutine form SAPscripts
    The Form :
    /:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
    w_vbeln LIKE vbak-vbeln,
    w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = w_ebeln
    IMPORTING
    output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.
    /: PERFORM
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    Example:
    In script form
    /: PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
    /: USING &EKKO-EKORG&
    /: USING &EKPO-WERKS&
    /: USING &EKKO-EKGRP&
    /: USING &EKKO-BSTYP&
    /: CHANGING &COMPNAME&
    /: CHANGING &SENDADR&
    /: CHANGING &INVCADR&
    /: CHANGING &COMPADR&
    /: CHANGING &COVERLTR&
    /: CHANGING &SHIPADR&
    /: CHANGING &REMINDER&
    /: CHANGING &REJECTION&
    /: CHANGING &POSTADR&
    /: CHANGING &LOGO&
    /: ENDPERFORM
    In program
    FORM Read_texts - To extract the standard texts from the table *
    FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA : L_EKORG TYPE EKORG,
    L_WERKS TYPE WERKS_D,
    L_BSTYP TYPE BSTYP,
    L_EKGRP TYPE BKGRP.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
    CHECK SY-SUBRC = 0.
    L_EKORG = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
    CHECK SY-SUBRC = 0.
    L_WERKS = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
    CHECK SY-SUBRC = 0.
    L_EKGRP = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
    CHECK SY-SUBRC = 0.
    L_BSTYP = IN_PAR-VALUE.
    CLEAR Z08M1_ORG_TEXTS.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = L_BSTYP.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
    AND WERKS = L_WERKS
    AND EKGRP = L_EKGRP
    AND BSTYP = SPACE.
    ENDIF.
    READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SENDADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'INVCADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COMPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REMINDER'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'REJECTION'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'POSTADR'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
    MODIFY OUT_PAR INDEX SY-TABIX.
    READ TABLE OUT_PAR WITH KEY 'LOGO'.
    OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    REPORT ZMPO1 .
    form get_freight tables in_par structure itcsy out_par structure itcsy.
    tables: ekko,konv,t685t.
    data: begin of itab occurs 0,
             ebeln like ekko-ebeln,
             knumv like ekko-knumv,
           end of itab.
    data: begin of itab1 occurs 0,
             knumv like konv-knumv,
             kposn like konv-kposn,
             kschl like konv-kschl,
             kbetr like konv-kbetr,
             waers like konv-waers,
             kwert like konv-kwert,
           end of itab1.
    data: begin of iout occurs 0,
             kschl like konv-kschl,
             vtext like t685t-vtext,
             kbetr like konv-kbetr,
             kwert like konv-kwert,
           end of iout.
    data v_po like ekko-ebeln.
    read table in_par with key 'EKKO-EBELN'.
    if sy-subrc = 0.
       v_po = in_par-value.
       select
         ebeln
         knumv
      from ekko
      into table itab
      where ebeln = v_po.
      if sy-subrc = 0.
        loop at itab.
          select
            knumv
            kposn
            kschl
            kbetr
            waers
            kwert
          into table itab1
          from konv
          where knumv = itab-knumv and
                kappl = 'M'.
        endloop.
        loop at itab1.
          if itab1-kposn <> 0.
            select single * from t685t
                              where kschl = itab1-kschl
                                and kappl = 'M'
                                and spras = 'EN'.
            iout-vtext = t685t-vtext.
            iout-kschl = itab1-kschl.
            iout-kbetr = itab1-kbetr.
            iout-kwert = itab1-kwert.
            append iout.
            clear iout.
          endif.
        endloop.
        sort itab1 by kposn.
        loop at iout.
          sort iout by kschl.
          if ( iout-kschl eq 'GSDC' OR
               iout-kschl eq 'GSFR' OR
               iout-kschl eq 'GSIR' ).
            at end of kschl.
              read table iout index sy-tabix.
              sum.
             write:/ iout-kschl,iout-vtext,iout-kwert.
          out_par-name = 'A1'.
          out_par-value = iout-vtext.
          append out_par.
          out_par-name = 'A2'.
          out_par-value = iout-kwert.
          append out_par.
              endat.
            endif.
          endloop.
        endif.
      endif.
    endform.
    IN THE FORM I AM WRITING THIS CODE.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:ENDPERFORM
    &A1&
    &A2&
    This Code is to be written in the PO form under ADDRESS window.
    /:DEFINE &A1& = ' '
    /:DEFINE &A2& = ' '
    /:DEFINE &A3& = ' '
    /:DEFINE &A4& = ' '
    /:DEFINE &A5& = ' '
    /:DEFINE &A6& = ' '
    /:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
    /:USING &EKKO-EBELN&
    /:CHANGING &A1&
    /:CHANGING &A2&
    /:CHANGING &A3&
    /:CHANGING &A4&
    /:CHANGING &A5&
    /:CHANGING &A6&
    /:ENDPERFORM
    &A1&
    &A2&
    &A3&
    &A4&
    &A5&
    &A6&
    Regards
    Anji

  • Calculate SUB TOTAL

    hi guru,
    Iam doing sales tax classical report, so i want subtotal BAISC PRICE ND other TAXES according to tax feild(KBETR),
    each time tax may change it will show subtotal of that tax, so help me on this gurus.
    thanx.

    Hi ,
    Need to decalre a internal table .  make KBETR is first field of internal table.
    now sort the internal table on the basis of KBETR .
    loop at itab .
    at end of kbetr .
    sum
    endloop.
    Thanks

  • PO Print SAP scripts:Grand total field -- High priority

    Hi experts
    In a PO print out, For example in one line item ,I have conditions printed as below
    Line iem 1.
    Gross price -- 1000
    VAT% 40
    Service Tax -
    123.36
    Net. Incl. Disc. 1163.36
    Line iem 2.
    Gross price -- 500
    VAT% 20
    Service Tax -
    61.8
    Net. Incl. Disc. 581.8
    Grand total----
    1500
    (desired tgrand total 1163.36+581.8)
    I have many line items like this and the total of all conditions at individual line item printed is correct.
    But at the bottom of the PO print, in the "Grand Total" the sum of only the Gross values is printed (Not the total of the Net. Incl. vlaues of line items).
    I got info from our developer that we are using SAP scripts (not smart forms).
    Please guide me if anyone has come accros a issue like this and got the answer. This is urgent.
    Thank you
    MRao

    To calculate grand totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window where ever that value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name>
    /:USING &KOMVD-KBERT&
    /:CHANGING &TOT_PRICE&
    /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly grant total will be in footer window)
    Then create subroutine pool program and you have to write the following code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                               outt_cond structure itcsy.
    data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    I have given a rough example,
    Note:Int_cond-value and outt_cond-value are characters.
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Hi frinds ,how to calculate the  totals in smartforms

    1)how to calculate the  totals in smartforms .

    Hi,
        To calculate totals and sub totals in sap scripts you can use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
    outt_cond structure itcsy. data : value type kbert.
    statics value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    regards..

  • How to add sub total

    hi
    how to add sub total in SAP Script using subroutine

    SAPscripts How to calculate Totals and Subtotals
    I have some doubs in BDC and SMART FORMS.  I want to change the material number using the transaction code MM02 through BDC.
    In scripts and smartforms how to calculate totals and subtotals?
    To calculate totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                        outt_cond structure itcsy. data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    I have given a rough outline, please be aware of the variable conversions as Int_cond-value and outt_cond-value are characters.

  • Editor in the Sap script

    Hi All,
    I am modifying a sap script.
    when i open the PC editor in sap script (where i can find PERFORM statements), i dont find the page with signs " /: ".
    Instead i am observing plane white screen with PERFORM statements.
    what might be the reason for this..????
    Pavan

    Hi,
    You have to WRITE PERFORM statements in the script explicitley for your requirement, when you wants to get some extra data displayed on your script output.
    They are not predefined in script.
    To calculate totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                        outt_cond structure itcsy. data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    regards,
    Anji

  • Sub totals& grand totals

    Dear All,
    I need to calculate sub totals then group totals and grand totals.
    ex
    x y z Val1 val2 val3
    x1 y1 z1 10 20 30
    x1 y1 z2 10 20 30
    x1 y2 z3 10 20 30
    Req Format
    x y z Val1 val2 val3
    x1 y1 z1 10 20 30
    x1 y1 z2 10 20 30
    y1 sum 20 40 60
    x1 y2 z3 10 20 30
    x1(sum) 30 60 90
    for that one where i need to make changes while in query in data set Or in template
    Awaiting for reply
    Subbu...

    Yes. I also wanna know how to do it. Would you pls point out an instruction for us? I read <<Oracle Business Intelligence Publisher B40017>> intensively. But I cann't find out any clue in it yet.
    I'm very urgent. Can you tell us how to do it?

Maybe you are looking for

  • Boot Camp won't make a Windows XP driver disc, OS X disc only works with Win7

    First time Mac user. Just got a new Macbook Pro. I have successfully installed Windows XP on the Mac using Boot Camp. But I need the driver disc. The right mouse button doesn't even work and Windows is impossible to navigate without that. The disc ej

  • Memory hot plug supported in Oracle linux 6.0 ?

    hi, I am testing Oracle Linux 6.0 on a vm, I tried to hot add memory, but i noticed that the respective modules like acpiphp and acpi_memhotplug not present. Also i got the below information from the site, http://blogs.oracle.com/wim/2010/10/playing_

  • Accounts Blocked and My three Skype Subscription F...

    Skype Blocked all my Accounts and keeps blocking any new Accounts which I try to open.I had made two subscriptions for India Unlimited Plan and One subscription for World Unlimited Plan.It was going fine for a persiod of two months and then all of a

  • CD4 and CS5 Plugin Issue!

    Having a major problem with Chameleon and CS4 and CS5. When I run the program out of CS4 or CS5: 1) The Grab Fragment seems to work. 2) When I open another photo and run Chameleon , Make Collage, I get      1. Unhandled exception! Crash dump saved to

  • C650 Webcam failing to initialise.

    I have a C650 model (C650-196 I think, though I don't know how to check ) and the inbuilt webcam has stopped working. Whenever I load the laptop up, I get an alert box saying the webcam has failed to initialize. Skype and MSN tell me I have no webcam