cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing condition with input for reason

Former Member
0 Kudos

Hi,

Is it possible to configurate prices in such a way that a mandatory reason must given when they use a certain discount?

Now we have diferent conditiontypes, like;

-show discount

- clearance discount

- Other dicount

- Marketing dicision

etc

We want to create 1 conditiontype which they can change manualy in the order, but there must be a possibility to get clear why this discount is given to the customer, so we want to create reasons ( like Show discount etc etc) which the must use in the sales order.

The business want to make a rapport on the given discounts.

Kind regards

Debby

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

You can do this way, at the time creation of Condition type. You maintain Manual entries " C - manual entry has priority". So end user can change the prices manually. you maintain the reason for condition in texts or if you are having no problem, you can maintain the reason for discount in Order reason.

REgards

Reddi

Answers (3)

Answers (3)

former_member183879
Active Contributor
0 Kudos

Hi Debby,

There is a funtionality called "Text Determination" and it is relevant for condition types. YOu can create a text type for this and assign this to the condition type. I think you can also maintain this text as a mandatory text. So whenever the condition type is available in condition screen in sales order, it will not allow you to save the order, unless the text for this condition type is entered with some value. You can enter the text at that time, and at later point of time, the same text can be pulled out for printing it in forms for output types.

You can check the tcode VOTXN for enabling this functionality. We did this and is working fine for us.

Former Member
0 Kudos

Hi Navaneetha

Thank you very much for your help.

I gone try this, i will let you know the result

Kind regards,

Debby

Former Member
0 Kudos

Hi

Is it possible to create this condition type so that they must gif a order reason?

Kind regards,

Debby

0 Kudos

Hi: This is not a functionality in standard SAP. One option is use additional data fields in additional tab in sales order where you can give some values for reason and in pricing have a requirement routine to check if this reason has been provided in the sales order.

Former Member
0 Kudos

Hi Debby,

You can use user exit function to check if XYZ condition type s present in the order, if so then see if the order reason field has some value, if not issue an error message. On the other hand if the condition type is not present then process further.

USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_READ_DOCUMENT which ever is appropriate:

Check if

XKOMV-KSCHL = XYZ if so then

check if

VBAK-AUGRU is initial

if SY-SUBRC = 0

then issue the error message.

Regards

Raj