Skip to Content
0
Jun 25, 2018 at 07:01 PM

SAP Pricing question for contract

270 Views

Hi All,

I am working on Adobe form requirement for SAP contract. in that I wanted to display gross price, Discount and Net price for contract.

for this, I am using the logic as explained below.

I am getting all line item conditions in KOMV table and considering all positive values as gross price and negative values as a discount and excluding tax conditions and statistical box check lines.

and net price is total of gross price and discount which should match the net price at line item level.

I am using below logic for this.

As all condition values will be on monthly basis in KOMV table. I am reading all billing plan details and using the function module.

PRICING_DETERMINE_DATES to get the no of months and multiplying gross price and discount with no of months.

most of the times it's working fine but it's failing in few scenarios. It's not matching with an actual net price.

So I would like to know If there is any better way to implement this.

or is there any function module available which will return the price if we pass condition value and the bill plan dates to be accurate like standard.

I appreciate your help on this.

Thanks,

Sarala.