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

Function Module RV_INVOICE_DOCUMENT_READ

Former Member
0 Likes
2,240

Hi all,

Good day. I am trying to retrieve the invoice header and item levels, price, and document status. I do this by using FM RV_INVOICE_DOCUMENT_READ. However, the system returns me the following message when executing the above function module:

<b>Billing document 00192233 does not exist.</b>

However, I have discovered that these particular billing documents cannot be manipulated because of its SD Document Type (VBTYP) of '3', whereas the rest with SD Document Type of 'M', 'N', '0', etc can be run without giving me error message.

Can someone please advise me on this?

Many thanks,

Patrick

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,599

The particular FM only reads invoice with the following types.

vbtyp_fakt(8) value 'MNOPSU56'

Regards

Anurag

2 REPLIES 2
Read only

Former Member
0 Likes
1,600

The particular FM only reads invoice with the following types.

vbtyp_fakt(8) value 'MNOPSU56'

Regards

Anurag

Read only

0 Likes
1,599

Hi Aurag,

It also reads VBTYP '0'(zero) as well, but how come value '3' cannot be manipulated?

Please advise.

Many thanks,

Patrick