Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM Invoice

Former Member
0 Likes
1,310

How Do Everyone!

Does anybody know of an appropiate FM to query details

from an invoice. If there are say 10 lines on an invoice

I just want to be able to do one read to give me the

total amount, net amount, VAT and no. of lines etc.

Cheers everyone

Andy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,013

Hi,

Please check out the Function module RV_INVOICE_DOCUMENT_READ.

Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount.

Lakshminarayanan

Please mark all helpful answers for points

Hi,

Please check out the Function module RV_INVOICE_DOCUMENT_READ.

Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount.

Lakshminarayanan

Please mark all helpful answers for points

4 REPLIES 4
Read only

Former Member
0 Likes
1,013

Andy,

I belive FM /SAPHT/INVOICE_READ can give you details regarding Invoice. Header level structure will give you net amt, total amt.. etc...

Cheers,

Thomas.

Read only

0 Likes
1,013

Thomas,

Thanks for the reply but I can't seem to find

'/SAPHT/INVOICE_READ' in SE37. Am I doing something

wrong??

Read only

0 Likes
1,013

JUST CHECK FM...

<b>

MRM_INVOICE_READ</b>

Read only

Former Member
0 Likes
1,014

Hi,

Please check out the Function module RV_INVOICE_DOCUMENT_READ.

Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount.

Lakshminarayanan

Please mark all helpful answers for points