cancel
Showing results for 
Search instead for 
Did you mean: 

Function module which return the Billing documents

Former Member
0 Kudos

Hi Friends,

Can any one help me to find a function module which returns the Billing Document numbers from Sales Document

numbers

I know the procedure to get those from VBFA table, but

is there any Function module or BAPI to serve this purpose

thanks in advance

Narendra Veeramachaneni

Accepted Solutions (0)

Answers (1)

Answers (1)

LeonardoAraujo
Active Contributor
0 Kudos

I think BAPI_BILLINGDOC_GETLIST should do it for you.

1. Required entries :

REF_DOC_RANGE From-to selection of preceding documents

Good luck!

Leonardo De Araujo

Former Member
0 Kudos

hi leonardo

The BAPI ur suggested is very good, but what is my requirement is, i want the documents of type

M INVOICE

O CREDIT MEMO

N INVOICE CANCEL

P DEBIT MEMO

But ur bapi returns only billing documents ( M, O), so what i have to do, is there any other bapi or function module to get all these INFO.

I know the RV_ORDER_FLOW_CONFIRMATION, AND RV_FLOW

but using these two function modules takes hell lot of time to return the result might be in production it may gives dump also

thanks in advance

Narendra

LeonardoAraujo
Active Contributor
0 Kudos

I am not sure you will find one specifically like that.

What you could do is write your own Function Module, very simple, that does exactly what you need and RFC enable it if you need.

Good luck,

Leonardo De Araujo