cancel
Showing results for 
Search instead for 
Did you mean: 

Can we make the pricing condition mandatory via Routine

Former Member
0 Kudos

The requirement is for Sales order to go in incompletion if certain pricing condition is missing.

Since the condition type is non-mandatory and it's a shared pricing procedure (so can't make the condition type mandatory), What are my options?

Is it possible to write a routine to make this condition type mandtory in specific scenario?

Appreciate the response.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You may write the logic with the help of an ABAPer in user exit MV45AFZZ, FORM SAVE_DOCUMENT_PREPARE, since you want to make it work like an incompletion log.

Logic would be check/read XKOMV, or TKOMV structures for the condition type and populate an error message if it is not entered.

Regards,

Amit

Lakshmipathi
Active Contributor
0 Kudos

Yes you can add this logic to your existing routine assigned in VTFL or try with User exits in the program MV45AFZZ - USEREXIT_PRICING_PREPARE_TKOMP

thanks

G. Lakshmipathi