cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice item pricing

luscruz
Participant
0 Kudos

Hi all,

How can i get an invoice item pricing, having the vbeln and posnr?

I was looking on the following function modules, but seems i don't have all data necessary.

PRICING_GET_CONDITIONS

RV_INVOICE_PRICE

Thanks,

Luis Cruz

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

U need to get the condition number in the header table (VBRK) and then select the condition form KONV:

SELECT * FROM VBRK WHERE VBELN = P_VBELN.
    SELECT * FROM VBRP WHERE VBELN = VBRK-VBELN.
         SELECT * FROM KONV WHERE KNUMV = VBRK-KNUMV
                              AND KPOSN = VBRP-POSNR.

Max

Answers (0)