SAP Function BAPI_SALESORDER_GETSTATUS - Sales Order: Display Status

Parameter Reference Type Length Default Optional Text
SALESDOCUMENT BAPIVBELN-VBELN C 10 Sales and Distribution Document Number

Parameter Reference Type Length Text
RETURN BAPIRETURN u 452 Error Text

Parameter Reference Length Optional Text
STATUSINFO BAPISDSTAT 360 X Status Information

Functionality
You can use this method to find information for certain sales orderswith regard to availability, processing status (for example, deliverystatus) and prices.
Enter the relevant document number in the SALESDOCUMENT parameter. Thesystem then displays the detailed information in the STATUSINFOstructure.
Any errors that occur appear in the RETURN parameter.

Description
The return code of the function module is returned in this structure.
Structure
TYPE Message type: S Success, E Error, W Warning, I Information
CODE Message code
MESSAGE Message text
LOG_NO Application log: Log number
LOG_MSG_NO Application log: Sequential number of message

Default
If an error has not occurred, the return parameter is blank. Otherwisethe relevant error messages are issued with a short text.

Description
Number that uniquely identifies the sales document.

Description
The table contains status information about the document you haveselected.
You can find information about what the individual parameter fieldsmean in the relevant data element documentation in the ABAP dictionary.

1075141BAPIs valid for usage with AFS6.0
495964Check incorrect date in the BAPI