Total for net value

Hi,
How can i make the total of net value auart.
i hve tried in this way...Can someone suggest me the suitable way.
sort itab by auart.
loop at itab.
at end of auart.
sum.
write : /5 itab-vbeln, 15 itab-posnr,25 itab-auart ,
30 itab-matnr,35 itab-zmeng,40 itab-zieme
, 45 itab-netwr,50 itab-waerk.
endat.
endloop.

Your Internal table  should in sorted  way of fields  arranged  .
data : Begin of  Itab occurs 0,
vbeln,
auart ,
posnr,
matnr,
zmeng,
zieme
netwr,
waerk
end of itab .
Reward points  if it is usefull..
Girisih

Similar Messages

  • Sales Condition, but not totalling to net value in SO

    Hello,
    We have costs which we need to post to certain GL accounts, to do this I created new condition type (not have statistical ticked in procedure). This is for royalty process, whereby every SO which we sell to every customers, we will pay 3% of sales to another party.
    - Problem, if dont tick statistical, wrong values get posted to customer because we're adding 3% to credit customer.
    - If tick statistical, values dont get transfered to accounting.
    Is there any better way we can use to not allow values to be totalled into net value in SO, but still be able to bill and post to accounting?

    You can achieve this requirement by creating New Condition Type ( suppose XYZ ) with Calculation Type as Percentage & Plus/minus as -ve . Add this Condition Type below the Condition Type for Royalty Process (suppose ABC ) with Step Number as the one of  Condition Type ABC in From Column in the Pricing Procedure.
    You would have to mention the Account key for Condition Type ABC & maintain 100 % Condition Record for Condition type XYZ & no Account key should be assigned against Condition Type XYZ.
    Best Regards,
    Ankur

  • Pricing Procedure calculation for Net value

    Hi Gurus,
    I have  issue with pricing procedure for net price.
    My pricing procedure is as follows.
    Step    Cond.type       from    to      Subtotal        req.type        cal.type        Basetype
    10      CPLF    0       0               0       0       0
    20      CA              0       0               0       0       0
    30      CPY             0       0               0       0       0
    40      CWE             0       0               0       0       0
    50      CPY1    30      40              0                           601 0
    60      PCP             0       0               0       0       0
    70      NCC            50       60              0       0       0       0
    80      Subtotal 1      70                      1
    90      VC              0       0               0       0       0
    110     FPA             0       0               0                          600  0
    150     INCR    0       0               0       0       0
    160     BINC    0       0               0       0       0
    170     PINC            0       0               0       0       0
    180     CINC            0       0               0                           602 0
    190     PRIN    0       0               0       0       0
    200     FINC
    210     Subtotal 2      200                    2        0       0
    220     ADT             0       0               0       0       0
    230     FTAX    0       0       0                                           603 0
    240     Subtotal 3      210                     3       0       0
    My query is when i am doing pricing for line items
    1) For line item 1 net value of the item will be subtotal 1
    2) For line item 2 Net value should be through condition type calculation.
    3) For line item 3 net value should be through calculation of routine
    4) For line item 4 net value should be Subtotal 2
    5) For line item 5 net value should be Subtotal 3
    So please tell me who to do?
    regards
    Srinivas

    Hi,
    Can you please explain what type of pricing you want to for your sales order.
    I am confused with your line items.
    Can you explain what kind lines item you are entering in your sales order.
    Are they proper material for which you have maintained condition record in MM01.
    Because for all the line item system will calculate price by the pricing procedure which you have shown.
    So in short system will calculate different price for different line item.
    After calculating the whole price it will make the total of net amount of all the line item.
    And that net amount will be shown in the header data of the sales order.
    Regards
    Raj.

  • Calculate Total for All Values in a Hierarchy Selection

    In Fox, I want to calculate the total for multiple cost elements that are selected in a package with a hierarchy restriction. The total of the hierarchy will then be saved into another cost element.
    Does anyone have a Fox logic that they would suggest?
    Thanks very much!

    Found a solution that works....
    Basically I want to call all the hierarchy values in as reference data, and restict the package to only the account that I am creating.
    Calculation for Total Sales ( Account 0000100000 )
    HF000001 is the hierachy variable that contains all account to be totaled.
    DATA ACT TYPE  0ACCOUNT.
    DATA SUM TYPE F.
    DATA COUNT TYPE I.
    DATA INDEX TYPE I.
    COUNT = VARC('HF000001').
      INDEX = 0.
      DO.
      INDEX = INDEX + 1.
         ACT = VARI('HF000001',INDEX).
          SUM = SUM + .
      IF INDEX = COUNT.
    EXIT.
    ENDIF.
    ENDDO.
    = SUM.

  • Reg:Conversion for Net value

    Hi All,
              I need to convert vbrp-netwr (net value) into USD  with function module                                        CONVERT_TO_LOCAL_CURRENCY .can any one can help me out by posting answer in detail.
    with regards,
    sumanth reddy

    Hi Sumanth,
    Chk this out
    data: lv_amount type p decimals 2.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
      EXPORTING
      CLIENT                  = SY-MANDT
        date                    = sy-datum
        foreign_amount          = '1000'  amount which you wanted to   (table-filed)
        foreign_currency        = 'XXX' from what currency (table-filed)
        local_currency          = 'USD'  to currency (table-filed)
      RATE                    = 0
      TYPE_OF_RATE            = 'M'
      READ_TCURR              = 'X'
    IMPORTING
      EXCHANGE_RATE           =
      FOREIGN_FACTOR          =
       LOCAL_AMOUNT            = LV_AMOUNT   =====> final amount which is tobe displayed
      LOCAL_FACTOR            =
      EXCHANGE_RATEX          =
      FIXED_RATE              =
      DERIVED_RATE_TYPE       =
    EXCEPTIONS
      NO_RATE_FOUND           = 1
      OVERFLOW                = 2
      NO_FACTORS_FOUND        = 3
      NO_SPREAD_FOUND         = 4
      DERIVED_2_TIMES         = 5
      OTHERS                  = 6
    IF sy-subrc = 0.
      WRITE: LV_AMOUNT.
    ENDIF.
    revert for further clarification
    Thanks and Regards'
    Srikanth.P

  • Post to GL but no impact to sales net value

    Dear SD Gurus,
    I have a condition type which calculates the value from net value (says, 10% from gross value, for instance) that needs to post to GL (not statistical) and it will not impact the total sales net value.
    Any idea how to set it up?
    Thanks,
    Soo

    Hi
    check the settings once again plz
    Goto Basic function-Account determinationRevenue account determination-Define and assign account keys-select assign account keys-here u hv to select right pricing procedure-condition type----Account keys....
    Hope it ll work properly.
    Regards
    JAGA

  • Contract net value problem

    Hi,
      I created a  material PO for net value 100 eur for a contract
    of target VALUE 1000 eur.Now i create a GR for
    that PO for 50 EUR.Now i set the delivery completed
    indicator,then i can set contract net value gets updated to 50 EUR.
    Now i created a service contract and service PO with
    same target value and net value
    But in the case of service po,i create a service entry sheet for 50 EUR,then contract net value is not getting updated to 50 EUR.
    Why it behaves differently for material and service POs?

    I have Simulated your issue..
    I have Created a Service Contract with Line Item 'D" for 1000 INR.
    Later I have raised release Order for 200 INR..
    as soon as the Release Order was approved , the Net Value in Contract updated to " 200 INR"..
    Still SES is pending for that...
    If you want I can send you screen shot...

  • Net value ( Basicprice-discounts) / Report sales value/purchase value

    Hi all
    I want to do report reg sales order value vs purchase value.  I am taking  VPRS condition type for  purchase order value and which field i have to take for net value in billing.
    regards
    Ramachandra

    hi,
    u can both this data in vbrp table. for net value use the field vbrp_netwr and for the vbrp i suggest u put it in some unique subtotal field that can be caputured in vbrp table. if this not the case then u will have to create a join between vbrp and konv table to fetch this data. u  can use abap queries in both the cases.
    saurabh
    Message was edited by:
            saurabh diwakar

  • Contract net value for Header Statistics is not correct

    There is issue with value contract. The net value for Header Statistics is not showing correctly for some contracts. Especially, when we delete the PO line items or reverse all entries (GR and IR) for PO line item.
    Contract has one line with account category ‘U’. The target value is 300,000.00 and total quantity released to date is 160,000. The net value for Header Statistics should be 140,000 but it is showing 600,000 which is over (double) the target value and user cannot release any further PO reference to this contract.
    Earlier I defined net price for line item 300,000 and I changed net price to zero and execute report RM06ENP0 but it doesn’t work.
    Please share your experience and thoughts.
    Thanks,
    Shah.

    Hi Jurgen,
    There are few Purchace orders with multiple line items and each line item for Purchase orders referencing the same line and same contract.
    There is only one Purchase order has two deleted lines against this contract.
    Theses deleted line's net price has changed to zero and there is no PO history.
    Contract released order value is correct as there is only one line, but net price is wrong. and user is getting error for target value is excedeed by $nnn when trying to create purchase order.
    Thanks,
    Shah.

  • Net Value in Sales order is not picking up for manual conditions.

    Dear Gurus,
    I created a new pricing procedure for a sales document, where 2 manual conditions will given in sales order.
    But after giving manual conditions, the system is only taking one condition value as net value.
    I given Base value description and the step numbers of two manual conditions for Addition.
    Please help me I want total of two manual conditions into Net value.

    Hi Mahendar ,
    Could you please share the solution if your issue has been resolved . Even we are facing the same issue . It would be of a great help
    thanks and regards
    Kish

  • Total Net Value is picking automatically into one G/l a/c in posting time

    Hi to all,
    i have one critical issuse ,
    here i am doing  new pricing procedure in that i put 4 condition types
    80          ZLLU     Actual user price                                        ERL
    850                       Sub Total                      80         849
    860          ZTCS     Tax collection              850                                   ZTS
    872          ZOT1     Other charges 1                                        ZPK
    880                        Grand Total              850     879
    946          ZGPS     Price+ Tax + other      880                                   ZTS
    955                       Total                       945     954
    PR00       ERL
    ZTCS      ZTS
    ZOT1      ZPK
    ZGPS      ERL for this 4 account keys i have assigned different G/L A/C's but while posting into account's. Total net value of billing is hitting into one G/l A/c (that is ERL). it is not hitting into different G/l A/c's
    how it is possible can any clear by issuse ASAP
    REgards
    Murali

    Hi,
    Check Price procedure which key's assign to each condition.
    Check/Carry out configuration in t-code VKOA.
    ELSE,
    Go to VF02, put invoice number
    Environment >>> Account determination analysis >>> Revenue account,
    Here u will get detailed analysis, which condition is hitting proper G/L.
    Kapil

  • Display REJECTED Item NET value Negative for Sales Order

    Hi,
    If I am Rejecting an ITEM with Rejection reason then for that ITEM I want the NET value should be in Negative.
    If i do the configuration OVAG and set the flag as Y/N then for that REJECTED ITEM the total will not be calculated at HEADER this is OK. but in ITEM NET value I want to display it as -ve. So is there any configuration for this?
    Regards,
    Hemant

    Hi,
    I do not think such config setting exists.

  • Variance between total value and net value

    Dear all
    In the service entry sheet, the net value including tax field is 110 but the total value field is 100. Actually both should be Rs.100 only.
    What may be the reason?

    hi
    Thanks for the reply.
    Input tax
    In my service entry sheet, NAVM-Non deductible tax is getting added with the base price. Gross value of unit is 10, but net value incl tax is Rs 10.14. How can i make the system to calculate Gross value is equal to Net value incl of tax? I dont want the system to add Non deductible tax. Kindly help
    Regards

  • Static Credit Limit Check for Sales Orders - Net Value vs Credit Value

    We are testing order credit check and we have run into a problem with the Static Credit Limit Check.  The Static Credit Limit Check is set to use both Order and Delivery Values.  SAP uses the values in S066 and S067 to determine what values it uses to check against the credit limit.  Standard SAP uses the confirmed quantity times the credit price to get the order values - this is the credit value. 
    So the problem is, once an order is released it is set up so it does not go back on credit hold, so anything which is not confirmed (but could be) it a potential credit value which is unaccounted for in the credit exposure and the customer can go over the credit limit.
    Additionally, we run AFS and have items which are rejected with a J0 rejection code (unconfirmed) which have the potential of being confirmed and shipped and we want to include these items in the value of the order which is being checked against the credit limit (along with the deliveries, invoices and receivables).
    Here is a quick example.
    Customer has a credit limit of $100 (no deliveries, invoices or receivables - to keep it simple)
    Order 1 is placed with a credit value of $50.00 but a potential value of $100 (the other half is J0) - this passes the credit check since $50.00 is less than the limit.
    Order 2 is placed for $50.00 and has a credit value of $50.  This also gets approved.
    At this point, the credit limit used is 100% (based on standard SAP)
    Then Order1 backorder is confirmed and the new credit value is now $100.  This order now puts the customer over their limit and if the order had been released would not go back on credit hold and therefore the customer is not over their credit limit by 50%.
    What I want is for Order1 to be credit checked for the $100 not the $50 so the exposure is correct.
    Does anyone have any suggestions as to how we could use the Net Value of the order to perform the static credit check?  And any thoughts on how to determine the correct credit exposure (open order value plus items which are J0, plus deliveries, plus invoices, plus receivables)?
    I am thinking about a Z table to track the adjusted values on the orders and then use one of the customer checks to do a static credit check with the adjusted value.  And for the exposure, use the adjusted value to recalculate the values in F.35 to show a more accurate view of the credit exposure.
    Does anyone have an easier way to do this?  Any advice is appreciated.
    Thanks,
    Suzanne

    Hi Suzzane,
    In the scenario that you have provided, in the first order items worth 50$ are rejected. Hence standard SAP will not take this into account as this item is rejected.Two solutions can be provided here:
    1) The line item can have a delivery block instead of  a reason for rejection.This way the 50$ will get accounted.However, if this is against customer norms as this will appear in the order acknowledgment, this cannot be used.
    2) User exit can be used where a credit check can be triggered once the document value changes, even though the document has a released status.
    Hope this helps.
    Thanks,
    Vinu

  • How to find the original net value for a cancelled sales order

    Hi experts,
    From VA03 or table VBAP, net value for those cancelled items is always zero. Where to find those cancelled items' original net value?
    Thanks a lot.
    Yu

    Thanks Seshu,
    I just tried it as per your suggestion but I found for non-cancelled items konv-kbert is not equal to the net value taken from vbap-netwr.  So I wonder if knov-kbert is the right original net value for those cancelled items.
    Yu

Maybe you are looking for

  • What is the OPTIMAL version of the OS for a 2010 Mac mini?

    Searching for expert opinions on which is the optimal (not necessarily the latest) version of OS X to run on a 2.4GHz Mac mini 4,1 2010 model, built in Feb of 2011?  It's currently on Snow Leopard 10.6.8.  This is my wife's machine. Additionaly, if i

  • Check number - not printed / issued (not updated in PAYR Table)

    Hi , Automatic payment program has run successfully, Clearing Document is generated for the particular vendor . Cheque is not issued to the particular vendor. however for other vendors the cheque number is printed. FCHN cheque Register shows cheque i

  • System Preferences problem

    having new iMac 27 with Mavericks I can not open several system preferences, message "You can't open Sharing preferences because it doesn't work on an Intel-based Mac."

  • Create material using LSMW

    Hello LSMW experts, I want to upload material master from flat file with some Plant and Sales Organization views in single load. But I am not sure how to map the header data (basic data), sales organization and plant data to the tool. Do I need to ha

  • Receiving "Error truncating change log: null" after redeploying application

    Hi, I am running Weblogic 8.1 SP5 on Windows 2003. We are running into a problem where we redeploy an EAR on the server and it's causing an error "Error truncating change log: null" in the admin server. Here are the basic steps: 1) We have an applica