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

BAPI_PLANNEDORDER_DELETE Delete Planned Order

Deletes a single planned order. It is used by clean-up programs and planning interfaces that remove orders no longer needed. When deleting many orders in a loop, use USE_COLL_UPDATE and set LAST_ORDER on the final call so planning file entries are updated once, then commit.

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

Importing parameters

ParameterTypeDescriptionRequired
PLANNEDORDERBAPI_PLDORD-PLDORD_NUMPlanned order numberYes
LAST_ORDERBAPIPLAF_I1-LAST_ORDERLast order of a collective update—
USE_COLL_UPDATEBAPIPLAF_I1-USE_COLL_UPDCollective update of planning file entries—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

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_PLANNEDORDER_DELETE'
  EXPORTING
    plannedorder = lv_plannedorder
  IMPORTING
    return = lv_return.

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