Skip to Content
avatar image
Former Member

Orders already invoiced status can still change the amount/qty order

HI Experts,

How to configure the amount/quantity of Sales Order should not be able to change the amount once the invoice is created?

Thanks a lot!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 12, 2010 at 11:26 AM

    Hi,

    When you will change the quantity in sales order which is fully invoiced you will receive the warning message, then system still allows to change the quantity, if you will change that warning message to error message then system will restrict you to modify the already invoiced sales order.

    please confirm me if above solution works or not.

    Br / Prashant

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I already changed the Warning Message to Error message using transaction code OVAH. But it will only work if the current value is less than the last value. It will not display an Error message if the value is greater then last value.

      Thanks a lot!

  • avatar image
    Former Member
    Nov 12, 2010 at 09:38 AM

    Dear Cecilio,

    this is possible with the user exit modification stating that

    if VA02 then make the order quantity and amount fields disable.

    user exit : FORM USEREXIT_FIELD_MODIFICATION

    PROGRAM : MV45AFZZ.

    IF sy-tcode EQ 'VA02'.

    IF vbak-vkorg EQ 'YOUR SALES ORGNS'.

    screen-input = 0.

    Regards,

    balajia

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 12, 2010 at 09:40 AM

    Hi

    You can user the user exit to restrict the change of quantity in the order after invoice happened . the user exit is USEREXIT_FIELD_MODIFICATION in the progran MV45FAA.with the help of ABAPER you can achieve this.

    For Price you can maintain the condition type as not modifiable at v/06.

    Please let me if you need further clarification.

    Thanks and Regards

    Praveen S

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 12, 2010 at 11:41 AM

    You can also check the use of status profile in the sales document type for the controlling the change status of such Sales orders.

    Regards

    Dany

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 11, 2011 at 09:21 AM

    Used User-Exit MV45FZZ to disable the field with the condition to check Subsequent Documents (Invoice) is available.

    Add comment
    10|10000 characters needed characters exceeded