Skip to Content
0
Former Member
Dec 03, 2010 at 06:01 PM

Sales Order Line item category not getting Re detemining Correctly

839 Views

Dear all,

I need help regarding the Sales order item category redetermination.

we are having two item categories YNAE and YNAG and it contains schedule line categories CP and CB ( i.e for item category YNAE schedule line category is CP and for item category YNAG schedule line category is CB),

for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.

For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.

Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and it is working fine .

But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule line on SAVE and its delivary dates are also not getting determined properly. If i press the option ATP check at the schedule line level than very things will getting corrected.

I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .

Regards,

Vaddepally Manoj