cancel
Showing results for 
Search instead for 
Did you mean: 

Item category determination with ref to price conditions in contract

Former Member
0 Kudos

Hi Gurus,

I have the following requirement from my client.

They need the item category ZNSM populated when creating the sales order ZOR8 with reference to quantity contract ZCQ1 when the pricing condition type is ZPG6 or ZPFL.For this they are asking to change in copy control.The pricing condition is on the contract.Since the sales order is created with reference to the contract you should be able to use the pricing condition to change the item category.

Please let me know whether this requirement can be met by making the changes to copy control.

Regards,

Hari Challa.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hari,

In your problem you have multiple conditions and checks. Anyways for this you have to do some enhancements either create a custom routine and put it in copy control or the better way as per me is Use User exit and put a check there, that will be easy option.

Thanks,

Raja

Former Member
0 Kudos

Hi Sagar/Raja,

Thanks for your inputs. So this can be fulfilled by assigning new routine in copy control and for this routine we need to write a code in the way to check the pricing conditions.

Please let me know is there any userexits are available related to this requirement.

Regards,

Hari Challa.

Former Member
0 Kudos

Yes Hari,

You can use sales order user exit MV45AFZZ, the best you to look for user exit is to debug the program and check which user exit is getting triggered as per your requirement. as per me you can use SAVE_DOCUMENT_PREPARE

Thanks,

raja

Former Member
0 Kudos

Hi,

If you want to populate particular item category for particular sales order, then go ot VOV4 item category determination and enter the value for

Sales Doc. type + Item category group + Higher levl item cate. (if any) + Usage (if any)

But if you want to populate this item category when condition type is ZPG6 / ZPFL in the contract, then i think you need to write some program with the help of ABAPer for routine in copying control

Hope it helps you

regards,

Sagar