SD BAPI RFC Used the same way in S/4HANA

BAPI_SALESORDER_GETSTATUS Display Sales Order Status

Reads the processing status of a sales order per item, such as delivery and billing status and quantities. Developers call it from portals or interfaces that report order progress back to a customer system. It is read-only, so no commit is needed; check RETURN for errors such as an unknown document number.

Function group
2032
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
SALESDOCUMENTBAPIVBELN-VBELNSales document numberYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURNReturn messages

Tables parameters

ParameterTypeDescriptionRequired
STATUSINFOBAPISDSTATStatus information per item—

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'
  EXPORTING
    salesdocument = lv_salesdocument
  IMPORTING
    return = lv_return
  TABLES
    statusinfo = lt_statusinfo.

Related tables

Solutions using this function

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report