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

BAPI_PLANNEDORDER_GET_DET_LIST Get Detailed Planned Order List

Returns header data of planned orders that match the selection criteria, such as material, plant or MRP controller. It is used in custom planning reports and in interfaces that export planned orders. Fill SELECTIONCRITERIA as narrowly as possible, because large plants can return many orders.

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

Importing parameters

ParameterTypeDescriptionRequired
SELECTIONCRITERIABAPIPLAF_I3Selection criteriaYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
DETAILEDLISTBAPIPLAF_E1Planned orders with header dataYes

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_GET_DET_LIST'
  EXPORTING
    selectioncriteria = lv_selectioncriteria
  IMPORTING
    return = lv_return
  TABLES
    detailedlist = lt_detailedlist.

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