Ansicht
Dokumentation
BAPI_MATERIAL_PLANNING - Material - Single-Item Planning Single/Multilevel
CL_GUI_FRONTEND_SERVICES - Frontend Services TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Functionality
You can use this method to perform a requirements planning for a material.
Depending on the properties of the material and the control parameters of the method, the following planning functions are supported:
- Single- and multi-level single-item planning for requirements planning materials
- Single- and multi-level single-item planning for master schedule items
- Single- and multi-level single-item planning for materials in the long-term planning
The method executes the respective planning function in the system and returns a list of all the planned materials. The list contains the fundamental basic planning parameters (exception messages, ranges of coverage, and so on) for each planned material.
Example
Notes
Authorization check
- Requirements and master schedule item planning: authorization object M_MTDI_ORG
- Activity tyes of the requirements planning (MDAKT field)
M- Requirements planning: Single-level single line item planning
E- Requirements planning: Multi-level single line item planning
Y- Master schedule line-item planning: Single-level single line item planning
Z- Master schedule line-item planning: Multi-level single line item planning
- Plant
- MRP
- Long-term planning: Authorization object M_LFPL_ORG
- Activity types of the long-term planning (MDATL field)
L2- Long-term planning: Multi-level single line item planning
L3- Long-term planning: Single-level single line item planning
- Planning scenario
- Plant
COMMIT control
For the single- and multi-level planning, the planning results are posted by materials. The COMMIT WORK command is executed after every planned material.
Parameter dependencies
- In systems with inactive MRP areas, you must specify the plant parameter as well as the material parameter.
- In systems with active MRP areas, you can specify the plant and MRP_Area parameters as you choose.
- If only the Plant parameter is filled, then the material is planned in the plant MRP area. If only the MRP_Area is transferred, then the planning is carried out in the specified MRP area. If both parameters are filled, then a compatibility test is performed, which can lead to a corresponding error message.
Additional methods
To select the detailed planning results of the planned materials, you can use the following methods:
Customer enhancements
The BAPI customer enhancement concept allows customers to include additional data that is not anticipated by the interface.
The ExtensionOut parameter is a data container, in which the additional values are sent during export.
Further information
For more information, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> BAPI Programming Guide.
For more information on the BAPI customer enhancement concept, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> Enhancements, Modifications, ... -> Customer Enhancement and Modification of BAPIs. This documentation describes the customer enhancement options and the procedure for the customer.
Parameters
EXTENSIONOUTMATERIAL
MATERIAL_EVG
MATERIAL_LONG
MRP_AREA
MRP_LISTS
MRP_PLAN_PARAM
MRP_STATISTIC
PLANT
PLAN_SCENARIO
RETURN
Exceptions
Function Group
MRP1001General Material Data PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 6299 Date: 20240523 Time: 181952 sap01-206 ( 75 ms )