Conditional Summary Values

hi,
( A Financial Report consisting of Account wise detail record printing followed by summary column on debit and credit entries. The requirement is to have one more conditional summary column of the same data at the end of the above summary column.)
I have single query which has join condition and with two groups, G1,G2, one of the group gives master records (G1)and the second group(G2) consists of detail records based on master record. the first group(G!) consists of fields like Date,Account,OpeningBalance,description.
and the second group (G2)consists of DebitAmount,CreditAmount ,voucherno etc
The first group fields are placed in repeating Frame R1 and second group fields are placed in second repeating Frame R2 which itself is with the first Repeating Frame ie R1 And summary columns are also placed in group G1 and repeating frame R1 for debit and credit fields.
I want the summary of conditional Detail Records, suppose there are 10 detail records for one master Record, of which i want the summary of those detail records which are cash payment(ie I want to use summary for detail records on condition), As I want the total of Debit and Credit for every master record so i placed that field (which has to show the total) in first group G1 and Repeating Frame R1. How do i solve this problem.
I did try to write a query in Formula column in group G1 but it's taking lot of time as i have 1400 pages Report.
I am getting the report correctly but I only need to show the total of detail records on condition.
For any further clarification you can contact me.
Thanks in advance
Rama

To apply filter condition for a dynamic parameter you need to create a command using "Add Command" in database expert.
Now write the command like
select company from table where (use condition here)
click on ok and remove the links between the command ang existing tables.
Now create a dynamic parameter in the report and use company field from command instead of using for existing table. This shows you the data according the the fileter condition added in add command.
Regards,
Raghavendra

Similar Messages

  • How to change the manual condition type value in change sales order BAPI

    Hi All,
    My scenario here is, i want to either add/change the manual condition type value during change of SO.
    When i'm trying to pass the  order_conditions_in and  order_conditions_inx tables in  'BAPI_SALESORDER_CHANGE'.
    Condition type is coming at item level but the value is setting to zero. Pls. help if anyone has any idea how to handle this.

    Siva,
       I guess you posted in Wrong Thread. You need to post in WAS section.
       check for any BAPI's available in CRM.
    Nagesh Ganisetti.

  • Creation of a new Formula Routine for condition base value calculation

    hello people,
    i am stuck up in a situation where SAP has itself said that nothing can be done.
    but i know you all can guide me to some way or the other
    see, the scenario is like this
    1. i have to calculate the base value for a pricing condition.
    which will follow the formula
    net value + excise duty + freight
    2. in standard routines two things are normally bieng used
    xkwert for the value that has to be finally calculated(taking reference of routine 004)
    komp-netwr for the net value
    3. i have to calculate the excise duty by adding up all the base values of existing pricing conditions like JMOP, JEC1 etc that i have which i saw in internal table
    XKOMV on debugging
    4. now freight is to be calculated from all the values of condition types that are in KOMP which is a structure and no internal table is defined in standard main program
    now ppl
    can you guide me by looking at the standard program
    what is this xkwert field and where it is assigning the value.
    how to get field from other structure and table.
    please guide as to how to approach the problem.
    thanks and regards
    Nitin

    HI,
    the scenario u r talking abt is condition based value formuls of VOFM transaction.
    here the data is retrieved as 'X' structures and will hold normal tables with respective names. and in this case all the pricing data is in KOMV ie XKOMV
    Final amount including tax
    form frm_kond_basis_004.
      xkwert = komp-netwr + komp-mwsbp.
    endform.
    always calulation is done in xkwert field and final value is stoerd in xkomv.
    *.................. text ............................................. *
    Condition base value formula to get the assessable value of the     *
    saleable material from j_1iassval. If the value is not maintained   *
    then the selling price will be taken as the base                    *
    TABLES: J_1IASSVAL.
    DATA XXKOMV LIKE KOMV .
    XXKOMV = XKOMV.
    SELECT SINGLE * FROM J_1IASSVAL WHERE J_1IWERKS = KOMP-WERKS AND
                                         J_1IMATNR = KOMP-MATNR.
    IF SY-SUBRC EQ 0.
        IF J_1IASSVAL-J_1IVALNDP NE 0.
        XKWERT = J_1IASSVAL-J_1IVALNDP * KOMP-MGLME / 1000.
        ENDIF.
        IF J_1IASSVAL-J_1IVALASS NE 0.
        XKWERT = J_1IASSVAL-J_1IVALASS * KOMP-MGLME / 1000.
        ENDIF.
    ELSE.
       XKWERT = XXKOMV-KAWRT .
    ENDIF .
    XKOMV = XXKOMV .
    ENDFORM.
    and as far as ur  req select allthe condition type data and sum and take the average value and pass it.

  • How to display modified condition base value in Pricing Procedure?

    Hi everyone:
    I used a formula to change the condition base value (via the VOFM transaction) of various price conditions that are assigned to the same material. In this way, I can distribute the total quantity of the item line in smaller quantities for each price condition.
    Now the problem is that in the conditions tab of the sales order, I can not see the Condition Base Value of each Price Condition, and that's a little confusing.
    Did Anyone know's a way to show the modified Condition Base Value in the Pricing Procedure of the Condition Tab?
    Thanks a lot,
    Ginno Giuffra

    Thanks JJ:
    Yes,  I can found the modified base value in the condition details, but I still need to show it in the Pricing Procedure scheme.
    It is curious that the table options does not allow you to add that field to the escheme.
    Does anyone knows a user exit wich can modifye the table?
    Thanks again,
    Ginno Giuffra

  • Inserting summary value in a ZTABLE

    Hi Experts,
    Please guide me on how the following:
    I have created a Ztable into which i want to upload the Stock in a summary format i.e.
    i have got the above values in an internal table. now i want to insert the sum of results into another internal table.
    *PLANT     MATERIAL     BATCH     STORAGE          QUANTITY     MONTH_END_DATE*
    0001     ABC-001          12345     RM          500          30.04.2008
    0001     ABC-001          12345     RM          1500          30.04.2008
    0001     ABC-002          23456     PM          1000          30.04.2008
    0002     XYZ-001          12345     RM          500          30.04.2008
    0002     XYZ-001          12345     RM          500          30.04.2008
    0002     ABC-001          23456     PM          500          30.04.2008
    0002     ABC-001          23456     RM          500          30.04.2008
    At the end of Plant, Material, Batch & Storage Location system should sum up the quantity and insert into the Internal table. Format is as below
    *PLANT     MATERIAL     BATCH     STORAGE      QUANTITY     MONTH_END_DATE*
    0001    ABC-001         12345   RM           2000       30.04.2008
    0001    ABC-002         23456   PM           1000       30.04.2008
    0002    XYZ-001         12345   RM           1000       30.04.2008
    0002    XYZ-001         23456   PM           500        30.04.2008
    0002    XYZ-001         23456   RM           500        30.04.2008
    I will then insert the above value into a Ztable.
    I have tried doing it but i just do not get the summary values.
    Please guide on how to achieve it.
    I hope i have given you an idea of how i want the data,
    Any queries please let me know.
    Thank You,
    Jitesh

    I HAVE USED AS YOU SUGGESTED.
    i am first giving the data what is there in the Internal Table IT_FINAL.
    then i am giving the output after the code suggested has been written.
    finally i am giving the output as and how i want it.
    plant     material     batch          storagelocation     quantity
    1     100050          NEWBATCH02     RM01          10,000.000-
    1     100050          NEWBATCH01     RM01          50.000-
    1     100050          NEW10          RM01          50.000-
    1     100050          NEWBATCH01     RM01          100.000-
    1     100050          NEW561          PM01          10.000-
    1     100050          BATCH1          RM01          10.000-
    1     100050          NEW561          PM01          1.000-
    1     100050          123456          RM01          10.000-
    1     100050          NEW561          PM01          10
    1     100050          NEW10          RM01          50
    1     100050          NEW10          RM01          50
    1     100050          NEW561          PM01          10
    1     100050          NEWBATCH02     RM01          10,000.00
    1     100050          NEWBATCH02     RM01          10,000.00
    1     100050          NEWBATCH01     RM01          100,000.00
    1     100050          NEWBATCH01     RM01          10,000.00
    1     100050          NEWBATCH01     RM01          100
    1     100050          NEWBATCH01     PM01          200
    1     100050          NEWBATCH01     PM01          41
    1     100050          NEWBATCH01     RM01          100
    1     100050          BATCH1          RM01          10
    1     100050          BATCH1          RM01          10
    1     100050          123456          RM01          10
    1     100050          123456          RM01          10
                                       120,370.00
    PLEASE FIND HEREWITH THE CODE
    it_final1[] = it_Final[].
    DATA: WA_MANDT TYPE MANDT,
          WA_MATNR TYPE MARA-MATNR,
          WA_WERKS TYPE MSEG-WERKS,
          WA_LGORT TYPE MSEG-LGORT,
          WA_CHARG TYPE MSEG-CHARG,
          WA_BUDAT TYPE BUDAT,
          WA_MEINS TYPE MSEG-MEINS.
    loop at it_final1.
    MOVE: IT_FINAL1-MATNR TO WA_MATNR,
          IT_FINAL1-CHARG TO WA_CHARG,
          IT_FINAL1-LGORT TO WA_LGORT.
    on change of it_final1-MATNR.
    sum.
    I_STOCK-MATNR = WA_MATNR.
    I_STOCK-CHARG = WA_CHARG.
    I_STOCK-LGORT = WA_LGORT.
    I_STOCK-lbkum = IT_FINAL1-DR_STOCK - IT_FINAL1-CR_STOCK.
    APPEND I_STOCK.
    ENDon.
    endloop.
    Output after the code.
    plant     material     batch          storagelocation     quantity
    1     100050          NEWBATCH02     RM01          120,370.00
    1     100050          NEWBATCH01     RM01          120,370.00
    1     100050          NEW10          RM01          120,370.00
    1     100050          NEWBATCH01     RM01          120,370.00
    1     100050          NEW561          PM01          120,370.00
    1     100050          BATCH1          RM01          120,370.00
    1     100050          NEW561          PM01          120,370.00
    1     100050          123456          RM01          120,370.00
    1     100050          NEW561          PM01          120,370.00
    1     100050          NEW10          RM01          120,370.00
    1     100050          NEW561          PM01          120,370.00
    1     100050          NEWBATCH02     RM01          120,370.00
    1     100050          NEWBATCH01     RM01          120,370.00
    1     100050          NEWBATCH01     PM01          120,370.00
    1     100050          NEWBATCH01     RM01          120,370.00
    1     100050          BATCH1          RM01          120,370.00
    1     100050          123456          RM01          120,370.00
    Below is the actual output summary i want
    plant     material     batch          storagelocation     quantity
    1     100050          123456          RM01          10
    1     100050          BATCH1          RM01          10
    1     100050          NEW10          RM01          50
    1     100050          NEW561          PM01          9
    1     100050          NEWBATCH01     PM01          241
    1     100050          NEWBATCH01     RM01          110,050.00
    1     100050          NEWBATCH02     RM01          10,000.00
                                       120,370.00
    This is how i want. Please advise where i am wrong.
    Thank You,
    Jitesh

  • MM Pricing Condition Type values in Condition Tab updation while CHANGE PO.

    Hi,
    The process of PO creation and PO change is through inbound IDOC posting.
    I created a PO with configured MM pricing procedure.
    While creating PO, the PO is created as required with different Condition Type value break-ups [PBXX, Discount, Surcharge etc] in the PO as required via Inbound IDOC processing.
    While CHANGING the same PO, the Condition Type break-ups [i.e. pricing related values] in the PO are NOT changing in the PO via Inbound IDOC processing.
    What needs to be done to update the Condition Type break-ups in the PO while changing PO through IDOC processing process?
    This problem is not occured while manual / on-line changing of PO valueS and saving the PO & exists through IDOC processing method ONLY.
    Thanks in Adv,
    RK

    Hi
    Try this function module
    FM RV_CHECK_CONDITION_VALUE
    Regards
    Hareesh Menon

  • VOFM: Condition Base Value(Urgent)

    Hi All,
    I created  Condition Base Value and transported it with a breakpoint. In the revision I removed the breakpoint but there was syntax error so object was not imported and the error shown for transport was 8. In another try an error occured again. In last import, everything went fine but the condition base value include program is not updated. it is remianing in the last state.
    Do I need to do something extra or there is problem in the steps I am following.
    Regards
    Vijai

    Hi,
    Now make sure that break points are removed and activate the routine by running RV80HGEN program in SE38.After this transport the fresh request.
    Reward points if useful
    Regards,
    Amrish Purohit

  • Alternative formula for condition base value in cross-application

    Hi,
    I need inputs regarding an issue as:-
    In "TAXINJ" Tax pricing procedure, for a ZXXX  excise related condition type the alternate condition base value (Alternative formula for condition base value) must be of  YXXX condition type of MM Purchase pricing Procedure.
    How to acheive Alternative formula for condition base value in cross-application area as both condition type belongs to different Application area i.e.  ZXXX belongs to TX and YXXX belongs to M.
    One way or only way is thro' routine but I do not know How it works? 
    Thanking you.
    Prashant

    routine is only the best way for u in this case
    u will have to use subtot may be 6 or 4 in MM pricing procedure
    and write a routien in Tax procedure, i n that u will have to write a code where in ur sustem will featch this value in sub total and act a a base for ur cond type in Tax proc for ue condition type.
    what is your excat requirement
    there might be other work around that can help u around
    hope this works
    or write t routines one in MM and Other in Tax proc for ur issues

  • Current Condition Record value of JVCS not picking while GR posting

    Dear All,
    Tax Procedure being used is TAXINN
    Scheduling Agreements are created before 01.06.2008.
    Condition Record with validity periods for JVCS (A/P CST NonDed-VAT) is as follows,
    01.04.2007 TO 31.05.2008 = 3%
    01.06.2008 TO 31.12.9999 = 2%
    If Goods Receipt is created with Posting Date after 01.06.2008, it is considering the old value i.e. 3%, whereas it should consider current valid value i.e. 2%.
    After posting GR, Inventory and Purchase G/L Accounts are getting posted with 3% value.
    Difference of 1% getting reverted back in those G/L Accounts after posting Invoice for the GR document.
    Can you guide me to let system consider Condition Record value 2% as per GR posting date and Validity Period of Condition Record.
    NOTE: For PO/SA created on/after 01.06.2008, it is considering current value i.e.2%.
    Thanks & Regards,
    Nilesh Mahajan

    hi ,
    system is considering the scheduling aggrement creation date for condition record.
    change the date.
    and run the scenario
    regards,
    sujit

  • Pricing : Condition type value need tog get from the lowest of 4 other cond

    Hi,
    I have one requirement in one pricing procedure.
    I need to calculate condition value of one condition type from the lowest value of other 4 condition tyeps. These condition types values are not defined as a subtotal.
    So if I decide to write a formula on condition values, is there
    any way to select these values and choose the lowest of them?
    Please also advice if there is any other way such as condition exclusion
    or so?
    Thanks and regards,
    Anand

    Anand,
    As you have mentioned you can use condition exclusion for such a requirement.
    here is a detailed description of how you can achieve this: use the menu path IMG> Sales & Distribution> Basic Functions> Pricing> Condition Exclusion> Condition exclusion for group of conditions.
    When you execute this IMG acitivity you get a window with three options
    1.Define Condition Exclusion Groups
    2.Assign condition types to the exclusion groups
    3.Maintain condition exclusion for pricing procedures
    We will use these three options one by one, we start with the first
    1. Define an exclusion group, lets say EX01 and give a description
    2 Assign the four condition types that you want to compare to this exclusion group under this option
       lets say EX01 ZK01
                   EX01 ZK02
                   EX01 ZK03
                   EX01 Zk04
    3. under this third step, select the pricing procedure that you are working on and from the left margin click on 'Exclusion'. click on 'New Entries' and make the following entries (example)
             Sno.   Cpr         ExGr1
              10      A            EX01                leave ExGr2 blank, Save your entries
    Check if your purpose has been met or not. Do give your feedback
    Regards,
    PATHIK

  • Pricing - Condition record value is differ from condfition value in billing

    Dea All,
    While checking one billing document, PR00 amount is 30 EUR per 1 PC and condition value is 43 USD, if i select the PR00 line item and goto condition records, iam finding the condition record value is 34 EUR per 1 PC...
    I Dont no whta is happending here... Can you please put some light on this..
    Thanks in advance..
    Regards
    Ramakrishna.P

    1: Check PR00 in VK13 , if there are any scales maintained.
    Else
    2: Check PR00 in VK13, and go to Environment changes and check if the price is changed recently or any changes are made which you are not aware of. Also please check the condition type definition of PR00 using T Code V/06 and check how the pricing date is being mainatined.
    Hope this helps
    Sai

  • Condition type 'Value' check mark

    Hi All,
    In Condition type definition, you have a check mark option for 'Value' (in the scetion 'Changes which can be made'). What is that for?
    The F1 help text says " Specifies whether the value of the condition type can be changed during document processing"
    But either way (check or no check), i can still change the value for the cond type in Sales Order. Then what is that for?
    Thanks
    AriBis

    Hi AriBis,
    There are Amount, Condition base value and CONDITION VALUE field in the item condition tab.
    If you set option for "Value", the CONDITION VALUE field will be changeable.
    It's not Amount field.
    In simple case, if you need to set total price per item manually regardless its price and qty,  then you may change the value in CONDITION VALUE field.
    Regards,
    Gumanti

  • Condition Type JSRT not picking Condition Base Value in Pricing Procedure

    Hi Friends,
    In a procedure System is not picking condition base value for condition type JSRT. I have checked the tax procedure and found alternative Cal Type is 17 and is working fine for Domestic vendors.
    Friends i need your help in sorting out this issue. Pls suggest what I can check in order to sort out this issue.
    Rgds, Krishan Raheja

    Hello!
    In TAXINN the base value for the condition JSRT is picked up from step 100.
    I suggest that you change the "From" value to 100 instead of whatever you may be using
    Then test the transaction once again.This will not affect your normal service tax calculation either. So please make this change & try using S1 for planned delivery cost.
    Hope this helps !
    Cheers!
    Plauto
    Edited by: Plauto Abreu on Feb 11, 2011 9:03 PM

  • Condition type value not update in sales order

    Hello Guru's
    As per the  sales order in VA01 the condition type value i.e surcharge value is not updating in sales order.
    But I have maintain the condition record(Surcharge)also and in Condition technique I have checked every thing is correct .
    please find below I have attached the Screen short .
    Please give me solution Asap.

    Hi Sukdev,
    Have you checked the respective pricing procedure for From and To reference step maintained against the condition type ZSUR?
    Regards,
    T.R.S.Praveen

  • Wrong condition base value when an order is copied from another order

    I am copying sale order to sale order and encounter an issue with pricing .
    I have an excise condtion for which the condition basis is the price condition . I copy the order and update the pricing in the new document (  I have to do this because the pricing type in copy controls is A ) . The price is being copied and the value calcualated as per the order quantity . But the same value is not flowing as the condition base value for the excise condition type mentioned above. It is taking some different value as the base value . There is no alt base value assigned in the procedure.
    As per the settings in the procedure , the condtion value of the price should be the base value for the excise condition type and this is not happening
    Could somebody throw light as to what is going wrong ?
    Thanks in advance
    Regards
    Mahesh

    Many thanks for this.
    I can see entirely why it's designed as such, but I just find it slightly frustrating that there's no way to break the link between the order and the shipment out to the depot. Just to clarify, we're not requiring the orders to change - they will still be made and will come in - but just that the orders themselves don't specifically need to be the stock that is used for the replenishment.
    So -
    1. Min Max identifies depot needs replenishing.
    2. Central distribution does not have (enough) stock to replenish.
    3. Order is made to replenish central distributions stock.
    4. We ship whatever we've got, when we've got it, to depot to replenish.
    It's the bit where Min-Max is trying to replensih a specific depot rather than our central distribution centre that's my problem.
    I suspect that, as you say, that specific issue is not directly fixable without getting our IT contractors to do a customisation.
    I'm going to look into your Supply Date Offset suggestion now, though I'm not sure how this affects the shipping after the orders are placed. The orders themselves are approved manually after we've checked our stock position (i.e. what's in with the recycling team), but we recycle & refurb probably 60% of our maint stock so there'll always be kit turning up after the order has been made because of the long lead times.
    Thanks again.

Maybe you are looking for

  • Can t buy book from iphoto

    i can t buy a book, i ve got the message " an error occured uploading your order", i re tried many times in vain

  • How can I get current Number file name in a cell ?

    I want to write current Number (3.5) file name in a cell. It was working in previous version of Number but not with latest one. Thanks.

  • Function module needed

    is there a finction module which converts the format of the amount from __,__,__,__.__ to __.__.__.__,__ ? Please help. i need the solution immediately. Thanx in advance.

  • PDF files into a single file

    I subscribe to Adobe PDFpack...have 24 PDF files for my new book...publisher wants to receive only one (1) PDF file...how to I combine all 24 files into one? [email address removed] Terry

  • Can Muse link with PS cs5

    I've the computer installed PS cs5, would it be work with the Adobe Muse CC if I only suscribe the Muse CC.  Thank you.