Skip to Content

Block Sales Order if Line Item Value is Zero

Hello,

We have Quantity Based Scale Pricing (e.g. if for a given Line Item in Sales Order if the Line Item Quantity is below 100 ,the Line Item Net value becomes Zero ).

How can we Block Sales Order ,if due to Qty Scales ,Price of any Line Item becomes Zero.

We have one option of using sale order User exit in the program MV45AFZZ - USEREXIT_PRICING_PREPARE_TKOMK to achieve this requirement.

Is there any other better Option/Standard Option to achieve this .......

Thanks,

Vikas

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Sep 21, 2013 at 08:20 AM

    Have you tried with incompletion log for VBAP-NETWR with status 04 before posting here ? This should work

    G. Lakshmipathi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2013 at 10:16 AM

    Vikas,

    There are several points in your post -

    1. In the sales order, at line item level, if quantity is below 100, then the net price = 0. And you don't want the price to be zero.

    Does that mean that you want the order to have more than 100 qty (at line item level)?

    2. Incompletion -

    G Lakshmipathi has already given the solution, which can be achieved with standard SAP.

    Adding few points to his post -

    a - Read about status group. Co-relate it with your process (does the process have delivery etc. etc.)

    b - When you say - block the sales order. What transaction you want not to be created (delivery or billing or....)

    c - The incompletion procedure is assigned to the item category. So if you have multiple item categories, then you need to assign the procedure to multiple item categories.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2013 at 02:54 PM

    Dear,

    Line Item in Sales Order if the Line Item Quantity is below 100 ,the Line Item Net value becomes Zero

    I hope ,it is not possible by standard .You can consult ABAPer on this requirement .If you write any code on this requirement then you have to be maintain above 100 quantity to every line item .If not then you may not be save your sales order .I think ,this requirement will effect on your business process if the quantity ( 100 ) is not available in time .

    Tell me one thing ,why you want this kind of requirement and what is the business process.

    Kindly ,let me know if you want further help on this.

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

    • Vikas,

      Tried Incompletion Rule :-for VBAP-NETWR with status 04 (Can not use as there are some orders with Zero Value (Due to 100% Discount condition)

      When 100% discount is given, is it not a different item category, in the sales order?

      If it is a different item category, then you can assign the incompletion procedure (with VBAP-NETWR) to the standard item categories (and not to the item category where 100% discount is given).

      If the item category is the same for standard sale and for 100% discount, then please explain how user is giving 100% discount.

      In an Order ,if Quantity is below Scales (e.g. Below 100 ),PR00 should not become Zero ,it should give some error so that subsequent Documents should not be created with wrong Value.

      In RVAA01 pricing procedure, PR00 is required (or mandatory). When the value of PR00 is zero, then user can not save that sales order.

      The system would give an error.

      In your pricing procedure, t-code V/08 is PR00 activated as required? if not do so and then test.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2013 at 08:29 AM

    Vikas,

    As Lakshmipathi mentioned rightly, you can include net value field in incompleteness procedure for sales item in OVA2. Assign status 04 so that order is blocked if net value is zero.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 11, 2014 at 07:47 AM

    """"Minimum Order Quantity of Material Master also did not worked."""

    change the message number from warning to error and try.

    Phanikumar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.