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

BAPI_PRODORD_RELEASE Release Production Orders

Releases one or more production orders passed in the ORDERS table, which sets the REL status and allows confirmations and goods movements. Typical uses are scheduled jobs that release orders by date and interfaces that release orders after a material availability check. Check DETAIL_RETURN for the result of each order and commit with BAPI_TRANSACTION_COMMIT.

Function group
2005_BAPI
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
RELEASE_CONTROLBAPI_ORDER_FUNC_CNTRL-RELEASE_CNTRLRelease controlYes
WORK_PROCESS_GROUPBAPI_ORDER_CNTRL_PARAM-WORK_PROC_GROUPServer group for parallel processing—
WORK_PROCESS_MAXBAPI_ORDER_CNTRL_PARAM-WORK_PROC_MAXMaximum number of work processes—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRET2Return messages

Tables parameters

ParameterTypeDescriptionRequired
ORDERSBAPI_ORDER_KEYProduction order numbersYes
DETAIL_RETURNBAPI_ORDER_RETURNDetailed return messages per object—
APPLICATION_LOGBAPI_ORDER_APPLICATION_LOGApplication log handle—

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_PRODORD_RELEASE'
  EXPORTING
    release_control = lv_release_control
  IMPORTING
    return = lv_return
  TABLES
    orders = lt_orders
    detail_return = lt_detail_return
    application_log = lt_application_log.

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