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

BAPI_PRODORD_GET_LIST Get Production Order List

Returns production order header data for selection ranges such as order number, material, plant, order type, MRP controller or sales order. It suits selection steps in custom reports and interfaces that collect orders before reading details. Fill the range tables in the usual SIGN/OPTION/LOW/HIGH form and keep the selection narrow for performance.

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

Importing parameters

ParameterTypeDescriptionRequired
COLLECTIVE_ORDERBAPI_ORDER_FUNC_CNTRL-COLLECTIVE_ORDERInclude the whole collective order—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRET2Return messages

Tables parameters

ParameterTypeDescriptionRequired
ORDER_NUMBER_RANGEBAPI_PP_ORDERRANGEOrder number range—
MATERIAL_RANGEBAPI_ORDER_MATERIAL_RANGEHeader material range—
PRODPLANT_RANGEBAPI_ORDER_PRODPLANT_RANGEProduction plant range—
PLANPLANT_RANGEBAPI_ORDER_PLANPLANT_RANGEPlanning plant range—
ORDER_TYPE_RANGEBAPI_ORDER_ORDER_TYPE_RANGEOrder type range—
MRP_CNTRL_RANGEBAPI_ORDER_MRP_CNTRL_RANGEMRP controller range—
PROD_SCHED_RANGEBAPI_ORDER_PROD_SCHED_RANGEProduction scheduler range—
SALES_ORD_RANGEBAPI_ORDER_SALES_ORD_RANGESales order range—
WBS_ELEMENT_RANGEBAPI_ORDER_WBS_ELEMENT_RANGEWBS element range—
ORDER_HEADERBAPI_ORDER_HEADER1Selected order headers—

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_GET_LIST'
  IMPORTING
    return = lv_return
  TABLES
    order_number_range = lt_order_number_range
    material_range = lt_material_range
    prodplant_range = lt_prodplant_range
    planplant_range = lt_planplant_range
    order_type_range = lt_order_type_range
    mrp_cntrl_range = lt_mrp_cntrl_range
    prod_sched_range = lt_prod_sched_range
    sales_ord_range = lt_sales_ord_range
    wbs_element_range = lt_wbs_element_range
    order_header = lt_order_header.

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