I'm using BAPISDORDER_GETDETAILEDLIST to obtain sales order status in header and items. However status BILLSTATUS, FSAK type, in structure ORDER_STATUSHEADERS_OUT has a blank and quering VBUK table, too; when I use transaction VA03 ---> Status overview, I see Billing Status : Fully invoiced.
Quering table TVBST, with TBNAME = VBUK, FDNAME = FSAK, I see the following values:
' ' = Not relev for bill
A = Not invoiced
B = Partially invoiced
C = Fully invoiced
Obviously, BAPI return Not relev for bill (space).
What's wrong In BAPI EXECUTION? Can anybody help me?
Edited by: Jairo Cortes on Apr 28, 2010 9:27 PM
Edited by: Jairo Cortes on Apr 28, 2010 9:30 PM