Skip to Content
author's profile photo Former Member
Former Member

Help with BAPISDORDER_GETDETAILEDLIST

Hi friends,

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?

Jairo Cortés

Edited by: Jairo Cortes on Apr 28, 2010 9:27 PM

Edited by: Jairo Cortes on Apr 28, 2010 9:30 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Apr 29, 2010 at 05:02 AM

    Hi,

    If billing is not created with reference to Order, (ie, bill created with reference to Delivery), Billing status field in VBUP will be always not relevant. Check the function module RV_DOCUMENT_HEAD_STATUS_TEXTS for extracting Header status information.

    Regards

    Vinod

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.