cancel
Showing results for 
Search instead for 
Did you mean: 

sales order line items rejected yet the delivery and PGI processed

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

HI Jitendra,

Thanks for your time .

Yes , i agree with you that it is not possible in Std process . I do have replicated the same scenario in sandbox and it doesn't allow me to deliver the line item that is rejected SO - item level .

I have replicated the same in my client DEV system and it works fine and looks like something is wrong in PRD system .

The item category is copied from std and renamed as ZTAN and we use the same std data trnasfer copy control routines (101) .

Based on your experience , i would like to understand few points here ,

The possible reasons for the system to process delivery and PGI inspite of rejection .?

Quantity Confirmed at schedule line will get reversed to '0' ?

Thanks

Former Member
0 Kudos

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

Lakshmipathi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

  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