CO
BAPI
RFC
Used the same way in S/4HANA
BAPI_INTERNALORDER_GETDETAIL Internal Order Master Data, Status and Allowed Transactions
Returns the master data, system and user statuses and allowed business transactions of an internal order. Interfaces use it to check whether an order is open, closed or technically completed before posting to it. Pass the order number in its 12-digit internal format; RETURN uses the older BAPIRETURN type.
- Function group
- 2075
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| ORDERID | BAPI2075_2-ORDER | Order number | Yes |
| LANGUAGE | BAPI0003_3-LANGU | Language for texts | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| MASTER_DATA | BAPI2075_2 | Order master data |
| RETURN | BAPIRETURN | Return message |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| SYSTEM_STATUS | BAPI2075_3 | System statuses | — |
| USER_STATUS | BAPI2075_4 | User statuses | — |
| ALLOWED_BUS_TRACT | BAPI2075_5 | Allowed business transactions | — |
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_INTERNALORDER_GETDETAIL'
EXPORTING
orderid = lv_orderid
IMPORTING
master_data = lv_master_data
return = lv_return
TABLES
system_status = lt_system_status
user_status = lt_user_status
allowed_bus_tract = lt_allowed_bus_tract.Related tables
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.