Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 11, 2007 at 03:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Nadarajah,

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

      Rob