cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Pricing Type during billing

Former Member
0 Kudos

We are facing an issue with the rebate conditions which needs to be resolved asap..

User has created a credit memo request in VA01.

Credit memo request is created for the change in the Price.

(Note: Order reason for such specific credit memo requests is ZXX (e.g.))

Due to price change rebate accruals value is also reduced in proportion to the reduced price.

The rebate accruals should not be reduced in this case, since there is no material return and rebate condition is quantity based.

As a solution to this u2013

We created a new routine AAA and assigned to the rebate condition types in Pricing procedure.

This routine will function when order reason entered in the Credit memo request is ZXX.

Therefore all the rebate condition types (assigned with routine AAA in Pricing) will get deactivated in Order Conditions tab.

This is working correctly in creating credit memo (VA01).

The issue is u2013

When the credit memo is created in VF01, these rebate condition types are again activated and accruals are posted.

This should not happen. Pricing from the CM request (VA01) should get copied in Credit memo (VF01) completely. The same issue

with VF02..

Please suggest a user exit in which the pricing type can be changed during billing..Tried coding in the form

USEREXIT_PRICING_PREPARE_TKOMP in RV60AFZZ by changing the Pricing Type KNPRS..But didnt work out..

Is there any way to meet this requirement. I have checked the user exit RV61AFZA having two forms:

FORM USEREXIT_PRICING_RULE &

FORM USEREXIT_PRICING_COPY.

I would be interested to know how this can be coded to meet the requirement. Coding displayed will be of great help to

implement.

Any pointers / solutions to the issue will be highly appreciated..

Moderator message - Please do not offer points or rewards

Edited by: Rob Burbank on Jul 29, 2010 12:34 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Sean

1) Firstly I don't think the Credit Memo for this case or any case in your situation should be relevant to rebate. That's becasue your rebate is tied to quantity. So you should deactivate rebate processing for that Billing Doc type. T Code OVB0. That should close the issue.

2) Pricing type 'D' in copy control from sales to Billing documents should ensure that Pricing from the CM request (VA01) gets copied in Credit memo (VF01) completely. Why do you need user exits for that? T code VTFA.

3) If you need to change pricing type selectively for some conditions, then you should configure the condition type with condition category X,Y or Z ( Customer Reserve) and then use USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA to ensure that those conditions are copied (or otherwise) from source. But I don't think you need this.

Former Member
0 Kudos

Hi Sean

Two options you could consider:

1 - Create a requirement which takes account of the document type or

2 - Use a different pricing procedure for debit and credit memo requests. Copy the existing pricing procedure and remove the conditions which you wish to exclude.

James