cancel
Showing results for 
Search instead for 
Did you mean: 

How to pull out the base discount amount from the condition structure KOMV in the invoice?

Former Member
0 Kudos

Hi All,

I have a requirement to pull out the base discount amount from the structure KOMV in the invoice.

I need the below highlighted value $20.00- to be pulled out in a SAP query.

I am getting the actual discount i.e. $5.00 here from KOMP-KZWI2 but the base discount is not stored any where.

Below is the pricing procedure ,

Any pointers will help.

Thanks,

Jyotshna

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Have you checked in VBAP / VBRP tables where the field KZWI2 is there

G. Lakshmipathi

Former Member
0 Kudos

Hi Lakshmipathi,

Thank tou for the reply.

I am able to pull the KZWI2 value but the issue is with KOMV-KBETR value from the invoice.

I need this value in a Query.

Is there any FM that we can use in the query?

Thanks,

Jyotshna

former_member212707
Active Participant
0 Kudos

Jyothsna,

Have you tried with the FM - PRICING_GET_CONDITIONS?

And out of curiosity, Doesn't pulling the KZWI2 field value not suffice your requirement?


Thanks,