How to disallow zero net value partial billing??

Hi everyone,
I've been trying to figure this out for a while to prevent billing document with zero net value to be created.
This just happened when users made a mistake while  they were invoicing partially.
One out of two partial invoices of 1 sales order,  has only a free goods item , so net value of this invoice is zero. F/A people concern about this.
Please advise how to customise the system to prevent this undesireable circumstance.
Thank you.
Tikum.

ํThank you for your advice. 
Yes i realize that all items in sales order should be in billing.
My purpose is to give users an alert that they're doing something wrong with billing cuz it should not be zero net value invoice, so they will find out what happens and correct it.
I did maintain output determination , routine LV61B062 , to return SY-SUBRC = 4  if net value = 0
And I did testing by invoicing with zero net value , debugging this routine, it gave '4' after pass this condition but the zero net value invoice still came out normally in the end. So i didn't work then....
please do me a favor If you have any alternative idea...
Thank you.
Regards,
Tikum.

Similar Messages

  • Not able to get net value in billing document vf01.

    Hello Sir,
    I am trying to create an invoice for  milestone billing plan. I have maintained copy controls  at item level as follows
    coplying req.  002
    vbrk/vbrp        001
    pricingtype     D
    billing qntty     A
    while i save contract and trying to create billing document  system is not able to show net value in billing document. 
    Please guide me to get the net value in the billing document.
    looking forward to reply.

    Sir, May I know what is the process to confirm milestone billing. as per my knowledge we release billing block and then billing document is processed.
    In my case even if i release billing block billing document succesfully created and saved but net value seems zero.
    I am not aware of complete proces.
    reply would be appreciated.
    thanks

  • Credit memo request with zero net value

    Hello all,
    when we create a credit memo request (VA01, doc type CR) and put a material quantity into the credit memo request that falls below the scale in VK13, the net value for the material will be zero.
    We do not want to allow to save the credit memo request with a zero net value, but SAP will just allow us do that.
    I was wondering if there is a way to pop up a warning or even an error message that avoids saving the document in case of a zero net value?
    Thanks
    Anne

    Hi,
    You can make the condition type (for which $0.00 is not allowed) as mandatory condition type in the pricing procedure. By this way the system will give error and wont allow to proceed any further unless the data is complete. (make sure this is not affecting your regular sales order cycle).
    Or if you just want to give a pop-up message then you can use user exit USEREXIT_SAVE_DOCUMENT_PREPARE in include MV45AFZZ
    Regards,

  • Net value in billing doc not matching as in sales order

    Hi,
    I have a scenario wherein the net value in billing document does not match as in the sales order for 2 item categories maintained in the sales order. The net value in sales order has one line item category as 10 and the other as 20 but the same is not picked in billing document.
    Any pointers?

    1. Check the copy control setting at item level for Pricing type.
    2. Check the pricing procedure in sales order type & Billing type. Is it same or different.
    3. Possibily the condition valuemay have been changed manually in Sales order or Billing Document type.
    4. Check Document Pricing procedure in sales order type & Billing type. is it same or Different. If it is blank in Billing type, then it will consider the one maintained in sales order type.
    The above are the possibilities,
    Regards,
    Rajesh Banka
    Hope it help to resolve your issue.

  • How to get the Net value in SD Bex query

    Dear All,
    We have a  key figure called Net Value in SD query 0SD_C03_.  But in validating data with ERP system to this bex the value is not matching.
    In this Query we are maintain sales doc category -C and Item category.
    Because the  Net value is depends on all the above mentioned condition.Please let me know the solution to validated the data with ERP to above Bex query.
    Please let me know the possible t codes in ERP to validate  the  above query.
    Thanks
    Regards,
    Sai 

    I dont think you can capture the offset applied value in a exit as the value is dependent on the variable itself and nothing to capture the result after the offset has been applied.
    why dont you capture the variable value itself and apply the logic to do an offset in the customer exit?

  • How to add zero into value prefix??

    I have one reuqirement about adding zero prefix into value of Infoobject AAAA. Infoobject AAAA is the attribute of Infoobject BBBB. I need to write a ABAP code in the transfer rule of infoobject BBBB.
    The length of infoobject BBBB is 10. That means system will automatically add zero if the length of the value is less than 10 after data loading.
    Any body know how to write it

    Hi Dreshof,
    Try this:-
    CONSTANTS: c_zeros(10) TYPE c VALUE '0000000000'.
    SHIFT TRANS_STRUCTURE-aaaa RIGHT DELETING TRAILING SPACE.
    OVERLAY TRANS_STRUCTURE-aaaa WITH c_zeros.
    RESULT = TRANS_STRUCTURE-aaaa.
    The correct code is as shown below. Please ignore the code above this.
    Hi Again,
    Try this:-
    CONSTANTS: c_zeros(10) TYPE c VALUE '0000000000'.
    DATA: wa_aaaa LIKE TRANS_STRUCTURE-aaaa,
    SHIFT wa_aaaa RIGHT DELETING TRAILING SPACE.
    OVERLAY wa_aaaa WITH c_zeros.
    RESULT = wa_aaaa.
    This will work.
    Now do a syntax check. If all is ok. Save.
    Hope it helps ,
    Best regards,
    Sunmit.
    Edited by: sunmit bhandari on Jun 27, 2009 12:40 AM
    Message was editted after your post below

  • How to calculate the Net value in below scenario in Webi

    Hi, I need help in creating a formula variable for below scenario.
    Say Date is as below:
        Date-Instrment-  Value--- Transacton Type
    10-Feb-09-             Stock-                                  150---                 Buy
    18-Feb-09     -
         Stock        -                         120-                      Sell
    Report Format should be as:
    Date        ---                      Instrument  ---     NetValue     
    18-Feb-09            ---     Stock     ---                     30     
    Here for Netvalue = (Value on first date - Value on latest date)
    Please advice how to create this variable. Thanks to all in advance.

    Hi,
    Is this PI has also been included in the block as one of the dimension? On which dimension you want to identify the minimum and maximum date. Can you check if this variables is returning the correct result:
    = Min([Date]) In([Istm Id];[Pl])
    Else you can try with:
    Min([Date]) ForEach (Istm Id;Pl)
    Also can you give the exact structure of the required block?
    Regards,
    Rohit

  • How to display Zero(0) values in cross tab format in Webi???

    Hi All,
    Is there a way to display the zero(0) or null values in cross tab format in
    webi. I can able to display in Regular tabular format in Webi as u got an option
    in Properties --> Display --> Show all rows/columns, but it is not working when
    i am using Cross Tab format for the same data.
    Regards
    Ram

    Hi Sunil,
    Happy to see your solution. My requirement is that if you have a data like
    SBU,                   Cadre,                Value
    Chemical Buss,     Manger,                  45
    Crop Buss,            Workmen,               63
    Agri Buss,              Executive,              70
    Chemical Buss,     Executive,              84
    Agri Buss,              Workmen,              -      
    Crop Buss,                 -,                        -
    So now we need to get the rows or columns that are having blank values. Say like if Crop Buss is not having any values so it wont be displayed, but actually it has to be displayed.
    Regrads
    Ram

  • How to calculate po net value

    I create a PO,and input qty 1056, the standard price of material is 2180.33/1000 PC.
    I calculate total value is 2180.33 / 1000 *1056 = 2302.42848 , remain decimal 2 is 2302.43.
    But T-code me21n display condition value is 2302.40.
    I don't know why. Please help me, thanks!

    there is a ROUND UP functionality in customization., which sets the rounding upto 2 or 3 or 1 decimal places as u have specified.
    else u will have to call a FM in a user-exit. So just chek customization first.

  • Custom field - Local Net Value Billing

    Hello,
    Could you please help me to understand how calculate correctly, in a query, the net value of billing in the system currency?
    I've created the custom field Local-Net Value = VBRP-NETWR * VBRK-KURRF.
    But, when i executed the query i had the following situations:
    - The correct value when the exchange rate is from EUR to another currency.
    - The value incorrectly when the exchange rate is from another currency to EUR, (the exchange rate, VBRK-KURRF, is expressed as a dividend).
    Thank you in advance.
    Best regards.
    Antonio

    Hi Antonio ,
    DATA: V_LA  type vbrk-netwr,
          V_FA type vbrk-netwr,
          rate type vbrk-kurrf.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
      EXPORTING
      CLIENT                         = SY-MANDT
        date                         = SY-DATUM
        foreign_amount               = V_FA              " Foreign Amount
        foreign_currency             = 'USD'             " Foreign Currency Key
        local_currency               = 'EUR'             " Local Currency Key
        RATE                         = Rate              " Exchange Rate
    IMPORTING
       LOCAL_AMOUNT                  = V_LA              " Local Amount
    IF sy-subrc = 0.
    *Map this V_LA  value to your final field .
    ENDIF.
    Regards,
    Maruthi
    Edited by: maruthi kona on Oct 25, 2011 10:27 PM
    Edited by: maruthi kona on Oct 25, 2011 10:28 PM

  • In Price determination process,how to correct Net values ?

    In me23n, how can I correct Net value inclusive of tax & final price ?
    Netvalue inclusive of tax = basic + NAVD(deductible) + NAVS(non deductible)
    When I go to me23n screen, when I click on invoice tab the screen contains basic price ,deductible tax and non deductibe tax.
    Invoice tab
    JSTD A/P Service tax ded        12.000 %         5,148.00            
    JSTE     A/P Ed Cess ST ded        2.000 %         102.96            
    JSTH     A/P SEd Cess ST ded   1.000 %          51.48          
    Total deductible tax(NAVD) is 5302.44
    but when I go to condition tab
    NAVD     Deductible Tax       6,266.49      INR     
    because NAVD calculated incorrectly,hence netvalue inclusive of tax is calculating wrong values.
    How can I correct NAVD?
    Regards,
    Rachel
    Edited by: Rachel on Oct 14, 2008 8:41 AM

    Hi,
    You can check in the Pricing Calculation Schema.The addition and subtractions steps are done there. check the step numbers given are correct.
    For that, in Vendor AMster Purchasing view check the schema assigned and go to  Customisation for MMPurchasing-Conditions----Define calculation Procedure. assignment of Calculation schema to schema....
    Hope this will help.
    Regards,
    Smitha

  • Billing Plan items invoicing full Net Value

    Milestone Bill Plan with 3 different billing dates and amounts (totalling the full net value)
    Example info:
    Sales Order Total Net Value = $100
    Bill Plan dates / Amounts
    07/11/2007    $20
    08/11/2007    $50
    09/11/2007    $30
    When I run VF04 and look at any of the individual Billing documents, each one of them is for the full $100 amount. Each one should be for the respective amount ($20, $50, $30 respectively)
    Any ideas what config I am missing here ?
    Points and praise awarded to the correct answer
    Thanks in advance
    Bill

    hi,
    go to transaction code VOV7 and check whether billing plan type is milestone billing or not.
    reward points if the answer is helpful
    Regards,
    Murali

  • 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

  • Diff is adding to Net Value

    Dear All,
    In the Sales order Pricing the diff amont is adding to net value and updating in the vbrp table.we are using z-report for the sales
    register.In the report the net value is taking from the table vbrp field NETWR. After Saving the sales order the diff amonth is calculating and adding to the net value so it is mismathing the values in between the invoice and the sales register.Please suggest me how to get the net value without adding the Diff amout to it.
    Regards
    Khajahussain

    Dear Chandu and all,
    I dont have any problem with invoice value , Problem is with taxable value. For Better understanding i have
    given below one scenario 
    Below is the Problem i am faceing
    1----
         First Line Item   Second Line Item          Total
    2 Taxable Value--     10,031.20--10,031.20--
    20,062.40
    3 Tax Vat     5%--501.56501.56--
    1,003.12
    4 Invoice Value -
         10,532.76----10,532.76--
    21,065.52
    5 Diff----
    0.48
    6 Diff to each item--0.24--
    0.24      
    7 Final Invoice Value--10,533.00--10,533.00--
    21,066.00
    8 Taxable Value in-- 10031.44--10031.44--
    21066.88   
    VBRP-NETWR        
    Taxable Value fraction portion is 0.40(1) and 5% tax Fraction Portion is 0.12(2) , adding these fracions 0.40+0.12=0.52.
    Diff(5) is coming as diff=1-0.52=0.48. Rounding is set as100 to the currency INR.This diff value 0.48 is Dividing to both the items
    Diff to each item(6) = 0.48/2.Final invoice value coming correct, But when the System saves the document ( Billing Document)
    The taxable value(2) 10,031.20 is changing to 10,031.44 By adding the this diff amont 0.24 and updating in the VBRP-NETWR field. Please let me know how to update this field with actual taxable value 10,031.20 without adding the diff amont.
    Regards
    Khajahussain
    Edited by: khajahussain on Sep 9, 2011 10:29 AM

  • Net Value in sales order item

    Hi All,
    Any one know how the system set net value in sales order item? (VBAP-NETWR)
    I mean, what kind of condition type will be considered in net value calculation.
    Thank you

    Hi,
    In Sales Order net value (NETWR) is always value before tax, it means the condition type determined before tax condition will be considered in sales order Net Value.
    In other words if conditon type have a category defined as D-Tax and Cond. class as D- Taxes, the value of this condition type will not be considered in Net value.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Jan 7, 2010 2:00 PM

Maybe you are looking for