Ansicht
Dokumentation
APO_PPT_BADI_SELECT - Restrict Selection
General Data in Customer Master SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
With this BADI it is possible to expand or restrict the selection of products and resources for the product planning table. This can be done using the field extended selection on the initial screen. The selection rules stored within this field are defined within Customizing for the product planning table, found under maintain extended selection. The Extended Selection option is addressed by the BAdI for any customer-specific profiles and for the standard profile SAP004.
The function module /SAPAPO/RRP_PT_ENTRY_GET_SEL reads the entries on the initial screen. The field SELID from the output structure 'ES_SEL contains the value of the field Extended Selection.
Furthermore you can influence the presentation of selected objects in the navigation tree.
The BADIs interface contains the tables CT_RESOURCES and CT_MATERIALS. These tables contain the products and resources selected on the initial screen. You can also delete products and resources from the tables as well as adding new ones.
You can define the presentation of the objects in the navigation tree using the fields PTMARK and ACTIVE. When you set the field PTMARK to 'X', the corresponding resources or products in the navigation tree will appear highlighted in yellow. These objects are selected for planning.
When you set the field ACTIVE to 'X', the corresponding resources or products in the navigation tree will appear highlighted in green. These objects are then selected. Only one resource or product can be active at once.
The coding given as an example, displays how products from the selection can be deleted. The default selection rules are used at this point:
SAP001 - only products with receipts
SAP002 - only products with requirements
SAP003 - only products with MRP elements
Addresses (Business Address Services) CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2115 Date: 20240523 Time: 224842 sap01-206 ( 47 ms )