cancel
Showing results for 
Search instead for 
Did you mean: 

Indicator to show if lines on an order have been invoiced in VBAP

Former Member
0 Kudos

Hi,

I am using rfc to connect to R/3 and query sales order status using BAPI_SALESORDER_GETSTATUS, this can tell me if the lines are rejected, despatched etc but not if they were invoiced.

I used SE16 to explore VBAP but cannot see any indicator here that could help me, does anybody else knwo how I can do this?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Arun,

Maybe you can use table VBFA. Pass values to sales document, line number and subsequent document category fields and check if a record exist.

Regards

Nadarajah Pratheb

Former Member
0 Kudos

Hi Nadarajah,

That a great idea, does anybody have any advice on editing this BAPI to include this information ?

Rob