Skip to Content
Former Member
Oct 15, 2015 at 07:11 PM

Enhancement for Pricing in rebate credit memo


Dear Experts,

I have a simple question, I tried searching the forums but could not get a solid answer for my query.

I am using rebate agreements (Sales & distribution) to provide discounts to customers, I have successfully configured the rebates part but there is one scenario which requires abap development.

I want that when the settlement for a rebate master is run, system should check if the rebate recipient is a part of a hierarchy, and if so then it will check the volume of the hierarchy nodes and change the condition rate (material based rebate) based on the quantity bought by all the hierarchy nodes.

I have found that user exit USEREXIT_PRICING_PREPARE_TKOMP is the option where i have to write my code, the problem is that I cant really find out which table to modify in order to change the condition rate field (KBETR). I see that there are pricing tables such as KONV, KONH, KONP, KOMV, KOMK, KOMP etc. but which one do i modify to reflect the change in item level pricing in my rebate credit memo.

Any ideas?