Ansicht
Dokumentation
SIMG_CFMENUOPP1BADI - Business Add-Ins for Requirements Planning
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
In requirements planning, Business Add-Ins (BAdIs) are available for the following functions:
BAdIs Used in Classic MRP
Note
This activity is only relevant if you plan some of your materials using classic MRP. If you plan all your materials using MRP live, see below.
- General requirements planning
- Subcontracting logic- BAdI MD_SUBCONT_LOGIC
- Importing MRP data - BAdI MD_CHANGE_MRP_DATA
- Requirements scheduling of stock transfers - BAdI MD_STOCK_TRANSFER
- User-defined MRP elements in MRP/LTP - BAdI MD_ADD_ELEMENTS
- Flexible planned independent requirement consumption/reduction - BAdI MD_PIR_FLEX_CONS
- Change to planning parameters - BAdI MD_MRP_PARAMETERS
- Changing calendar for the days' supply calculation - BAdI MD_CHANGE_CALENDAR
- Requirements planning planning evaluation (PP-MRP-BD)
- Updating MRP list - BAdI MD_MRP_LIST
- Changing display in MD04/MD05 - BAdI MD_DISPLAY_ELEMENT
- Planning monitor - BAdI MD_PLANNING_RESULT
- Additional columns in the material overview - BAdI MD_ADD_COL_OVERVIEW
- Additional columns in the evaluation of requirements planning - BAdI MD_ADD_COL_EZPS
- Export of order tree - BAdI MD_EXPORT_TREE (enhancement spot MD_ORDER REPORT)
- Determining customer-specific grouping - BAdI MD_CREATE_GROUPING
- Selection tab page additional selection on initial screen of collective displays - BAdI MD_EXCLUDE_MATERIAL
- Material-specific range-of-coverage limit values for traffic light status- BAdI MD_SET_TRAFFIC_LIGHTS_DS
- Extraction of planning data - BAdI MD_SR_LIST_EXTRACT
- Requirements planning procurement proposal (PP-MRP-PP)
- Changing purchase requisitions - BAdI MD_PURREQ_CHANGE
- Updating purchase requisitions - BAdI MD_PURREQ_POST
- Changing planned orders - BAdI MD_PLDORD_CHANGE
- Updating planned orders - BAdI MD_PLDORD_POST
- Source determination in MRP - BAdI MD_MODIFY_SOURCE
- Determining the production version in MRP - BAdI MD_MODIFY_PRODVERS
- Reacting to time stamp problems - BAdI MD_PLDORD_TIME_STAMP
- Scheduling planned orders - BAdI MD_PLDORD_SCHEDULING
- Deactivating release strategy for MRP PReqs - BAdI MD_PURREQ_REL_STRAT
- Deactivating compulsory BOM explosion in CIF - BAdI MD_PLDORD_BOMEX_CIF
- Requirements planning planning execution (PP-MRP-PR)
- Packet size in parallel planning runs in requirements planning - BAdI MD_MRP_RUN_PARALLEL
- Deactivation of changeability of MRP elements - BAdI MD_INTERACT_PLANNING
- Planning File Entries (MRP Records) (PP-MRP-PR)
- Where-used Propagation in BOMs for MRP Records - BAdI BOM_USE_PROPAGATION_SWITCHES
- Long-term planning / simulation (PP-MP-LTP)
- Additional parameters in the planning scenario - BAdI MD_PLANNING_SCENARIO
- Order report (PP-MRP-PE)
- Export Order Tree - BAdI MD_EXPORT_TREE (Enhancement spot MD_ORDER_REPORT)
BAdIs Used in MRP Live
- Enhancement Spot ES_PPH_MRP_BADI
Method READ_MAT_MRP_CTRL_PARAMS: This method is called after MRP Live on Hana has computed the MRP relevant master data for all the materials provided to some MRP Live step. The set of materials of materials for this step is provided in parameter IT_SEL. You can change the MRP parameters for the materials by changing the table CT_CTRL. You can also remove entries for CT_CTRL so that a particular material/plant/MRP area combination is not planned at all.
- PPH_MRP_NETTING_BADI
Method NET_REQ_CALC: This method is called before the actual netting takes place. You can use it to implement your own way of creating receipts for the provided requirements. For a correct integration into the SAP standard coding you must: Provide the result of your calculation in parameters CT_RECEIPTS and CT_NET_REQS; Remove the materials for which you have done the netting from parameter CT_MAT_CTRL. This way the standard netting routine will no longer consider the materials already worked on.
- PPH_MRP_LOTSIZING_BADI
Method LOT_SIZE_CALC: This method is called before the actual lot sizing takes place. You can use it to implement your own way of creating lots for the provided receipts. For a correct integration into the SAP standard coding you must: Provide the result of your lot sizing in parameter CT_RESULT; Remove the materials for which you have done the lot sizing from parameter CT_MATB_CTRL. This way the standard lot sizing will no longer consider the materials already worked on.
- PPH_MRP_POSTPROCESSING_BADI
Method CHANGE_PURREQ: This method is called during post processing of the purchase requisitions created by MRP Live on Hana. It can be used to fill custom fields present in table EBAN or EBKN, or even to change any field of these tables. The method is called for each purchase requisition after the SAP code has computed all fields of EBAN and EBKN.
- PPH_MRP_REUSE_BADI
Method REUSE_CHECK: This method is called after MRP Live on Hana has done a reuse check (for planning mode 1 only). The only use case of the method is to clear the flag CT_THE_INDEX_NEW-REUSE and CT_THE_INDEX_OLD-REUSE in those cases where reuse would be possible but shall not be done for some special reason.
- PPH_MRP_RUN_BADI
Method MDPS_ADJUST: This method is called after MRP Live on Hana has computed the list of MRP elements to be considered during planning for the materials in IT_CTRL. You can change the MRP elements in table CT_MDPS. The logical key of this table is field THE_INDEX. It is extremely important that this field is unique! So, in case you want to add rows, make sure that in the end THE_INDEX is still unique.
Method PURREQ_BEFORE_UPDATE_ADJUST: This method is called when MRP Live on Hana has computed the list of purchase requisitions to be created (eventually including provided components for subcontracting) and deleted. You can change the entries in the result tables. The logical key of the tables is field THE_INDEX. It is extremely important that this field is unique! So, in case you want to add rows, make sure that in the end THE_INDEX is still unique.
Method PLANORD_BEFORE_UPDATE_ADJUST: This method is called when MRP Live on Hana has computed the list of planned orders to be created and updated. You can change the entries in the result tables. The logical key of the tables is field THE_INDEX. It is extremely important that this field is unique! So, in case you want to add rows, make sure that in the end THE_INDEX is still unique.
Method PLAN_FILE_ADJUST: This method can be used to change plan file entries before MRP Live on Hana writes them to the database. In parameter CT_PLAN_FILE entries can be added if a material is to be planned a second time for example. In this case add a line with the respective key and set GSAEN = ‘X’ and KZKUP = ‘Y’.
- PPH_MRP_SOURCING_BADI
Method SOS_DET_ADJUST: This method can be used to change the sourcing result. For example, you can switch from external procurement to inhouse production or vice versa by changing the contents of the tables CT_NEWLOT_SOS_F (external) and CT_NEWLOT_SOS_E (inhouse) respectively. The logical key of the tables is field THE_INDEX. It is extremely important that this field is unique! So, in case you want to add rows, make sure that in the end THE_INDEX is still unique for each table.
- PPH_MRP_UPDATE_BADI
Method PURREQ_UPDATE: This method contains all purchase requisitions created or updated or deleted. The ones to be deleted are still in the database table, the new or updates ones are already changed on the database. This method can be used to change additional custom tables for purchase requisitions.
- Enhancement Spot ES_PPH_MRP_DISPATCHER_BADI
BAdIs Used in both Classic MRP and MRP Live,,
- Creating purchase requisitions and converting planned orders - BAdI PPH_MRP_PURREQ_CFL
- BAdI: Modification of Supply and Demand List - BAdI PPH_SUPPLY_DEMAND_LIST
rdisp/max_wprun_time - Maximum work process run time PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 13258 Date: 20240523 Time: 211818 sap01-206 ( 174 ms )