Skip to Content
avatar image
Former Member

sales order line items rejected yet the delivery and PGI processed

I have a very strange situation here with sales order rejections . As per the client specific FORM USER EXIT included in the std program MV45AFZZ the sales order line items are rejected with some custom table validations while the sales order is saved .

points to be considered

item category - TAN

Schedule line - CS

No Manual changes in the order for rejections or quantity confirmations before or after delivery .

I have the following issues with reasons for rejections .

1> Quantity confirmed at schedule lines are not changed to 'o' quantity after the reason for rejection applied .

2> Delivery , PGI and Invoice processed inspite of rejection.

My understanding is that , when ever there is a rejection reason is set for the line item ( the item with confirmed quantity) it is more or less treated as VOID and shouldn't allow to process further .

However , today when i created a STD order in sandbox , i could see the line item quantity remains unchanged although the line item is rejected . But it doesn't allow me to deliver with error message " No delivery relevant items found in sales order "

Please direct me to right threads if this is already discussed . I've done some research but couldn't find the exact solution on this issue .

Thanks in advance for your time and help .

Regards,

kalyan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Oct 25, 2013 at 01:46 PM

    In normal cases, once we assign reason for rejection, system will not allow to generate subsequent document. In your case, since you had indicated that the user exit is in place, may be you need to revisit the coding part which has affected. Also please share what settings you have in OVAG for the one which is assigned to sale order.

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI Lakshmipathi,

      Thanks for looking into this.

      So for the rejected line items, does the system will stop subsequent document generation only when confirmed quantity as ‘0’ or also when quantity confirmation other than 0?

      To best of my knowledge the USER EXIT that is involved here just validating certain data from custom tables and will set the specific type of rejection reason applicable to the scenario.

      The Functionality works as expected in client DEV system but not in PRD system. However I will get my developer to review the code again.

      In OVAG , there is no flag activated for any of the options ( printing , Open item and billing)

      Can you also please clarify, if the Quantity confirmed at the schedule line would get reversed once the line item is rejected?.

      we use the copy of sc category "CP" and Availability check "02"

      I have a provision to make this change to set thequantity confirmation to '0' when the item is rejected and attempted to save but just want to be sure about the std design.

      When I replicated the same scenario in sandbox (IDES) , the rejected line item doesn't allow to deliver but the Quantityconfirmation remain unchanged.

      Thanks

  • avatar image
    Former Member
    Oct 26, 2013 at 11:21 AM

    Dear Kalyan,

    In standard process it not possible. so, Please check copy control routine in the system u did not written any 'Z' program to by pass reason of rejection for sales order to delivery document.

    Thanks

    Jitendra

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Dear Kalyan,

      Please check sales order status after assigning reason of rejection . if it is in process or open then u can deliver sales order, then check ur reason of rejection code in OVAG t code . if is completed or rejected then u can not deliver that sales order

      thanks

      jitendra