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
| Parameter | Type | Description | Required |
|---|---|---|---|
| SELECTIONCRITERIA | BAPIPLAF_I3 | Selection criteria | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| DETAILEDLIST | BAPIPLAF_E1 | Planned orders with header data | Yes |
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.