Ansicht
Dokumentation

PPMRP_MAP_SUPPLIERMA - BAdI: Extensibility of Vendor-Specific Material List

PPMRP_MAP_SUPPLIERMA - BAdI: Extensibility of Vendor-Specific Material List

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Material Requirements Planning component (PP-MRP). You can use this BAdI to extend the material list on the Order Several Materials screen of the Create Optimal Orders for Shipment app.

You can use the following BAdI methods:

  • SUPPLIERMATERIAL_EXTENSION (Add Fields to the Vendor-Specific Material List)
You can use this BAdI method to add columns to the material list on the Order Several Materials screen, including data that is not part of the SupplierMaterial entity, and fill these columns with values. You can also use this method to add new toolbar objects (for example, ComboBox, TextField, or Button) to the toolbar.
  • ADD_MIN_MAX_QUANTITY_LIMIT (Define Limits for Proposed Quantity)
You can use this BAdI method to define a minimum or maximum limit for the proposed quantity on the Order Several Materials screen.
  • ADD_PURCHASE_REQ (Add Purchase Requisition to Order)
You can use this BAdI method to take over the purchase requisition number for the purchase order and, if required, a purchase requisition item number on the Order Several Materials screen.
  • ADD_STACKING_FACTOR (Define Stacking Factors for the Capacity Limit)
You can use this BAdI method to define the stacking factor that is used in the SupplierMaterial entity type on the Order Several Materials screen. The stacking factor indicates how many shipping units, such as pallets, can be stacked up on top of each other.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Create an implementation for the four methods of the BAdI PPMRP_MAP_SUPPLIERMATERIAL:

  • SUPPLIERMATERIAL_EXTENSION
To add data that is not part of the SupplierMaterial entity type, you have to insert an append structure to the include structure PPMRP_SUPPLIER_MATERIAL_INCL. You have to set up a new OData model and add the new fields to the property of the SupplierMaterial entity type.
  • ADD_MIN_MAX_QUANTITY_LIMIT
To keep the proposed quantity within minimum and maximum limits, you can define the limits in the MinProposedQuantity and MaxProposedQuantity properties of the SupplierMaterial entity type.
  • ADD_PURCHASE_REQ
To assign an existing purchase requisition number to a new purchase order or purchase requisition item numbers to purchase order items, you can set the PurchaseRequisition and PurchaseRequisitionItem properties in the SupplierMaterial entity type.
  • ADD_STACKING_FACTOR
To apply a stacking factor, you can change the StackingFactor property of the SupplierMaterial entity type.

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server-> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.






Vendor Master (General Section)   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 4924 Date: 20240523 Time: 204506     sap01-206 ( 87 ms )