Invoice item pricing
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.
max bianchi replied
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.