Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Active status of a sales document.

Former Member
0 Kudos
375

Hi,

I need to get the active status of a sales document. Normally it is availabe in RV45A-ASTTX, but when a document is created through BDOCS, this structure RV45A is not populated, and hence i am unable to get the document status.

Is there a method by which the document status can be read from some other table?

Thanks!

2 REPLIES 2

Former Member
0 Kudos
89

sales document status values are in tables VBUK (header) and VBUP (line items).

I there there is a function module for this as well.

Go to txn SE37 and look at RV_DOCUMENT_STATUS. There are several; some have text and some are just values.

Like...

RV_DOCUMENT_STATUS

Former Member
0 Kudos
89

Hi,

Check this BAPI...

<b>BAPI_SALESORDER_GETSTATUS</b>

Regards,

Vara