cancel
Showing results for 
Search instead for 
Did you mean: 

how to deactivate a condition type

Former Member
0 Kudos

hi

we are having some condition type zm01-manual condition type entered in a sales order...So this condition type is entered in a sales order and invoce is done..

Then we copy this sales order to a credit memo order type--Then this zm01 conditon type also is getting copied while creating a sales order with reference to previous sales order.

Can you tell us what user exit we need to use to delete this conditon type in new sales order or deactivate this condition type

regards

swetha

Accepted Solutions (0)

Answers (1)

Answers (1)

Shiva_Ram
Active Contributor
0 Kudos

In the copy control settings (T.code VTAA), maintain value B-carry out new pricing at item level ->pricing type field. Then create new documents and test.

Regards,

Former Member
0 Kudos

hi

i did that config.the problem is i don't want other selling prices to get removed.Still the manual condition type is not getting removed as per your advise

just condition type alone should become deactivated based on item category or based on order type

regards

sudha

Shiva_Ram
Active Contributor
0 Kudos

Then write a requirement routine in T.code VOFM, with logic, if order type = XXXX or item category =XXXX then sy-subrc = 0 and then assign it in the requirement column of the pricing procedure against the condition type.

Regards,