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

ParameterTypeDescriptionRequired
ORDERIDBAPI2075_2-ORDEROrder numberYes
LANGUAGEBAPI0003_3-LANGULanguage for texts—

Exporting parameters

ParameterTypeDescription
MASTER_DATABAPI2075_2Order master data
RETURNBAPIRETURNReturn message

Tables parameters

ParameterTypeDescriptionRequired
SYSTEM_STATUSBAPI2075_3System statuses—
USER_STATUSBAPI2075_4User statuses—
ALLOWED_BUS_TRACTBAPI2075_5Allowed 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.

Request a custom report