Ansicht
Dokumentation

/ISDFPS/PRPL_BACKGR - BAdI: Control the Program Logic for Prioritized Materials Planning

/ISDFPS/PRPL_BACKGR - BAdI: Control the Program Logic for Prioritized Materials Planning

BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In (BAdI) to control how prioritized materials planning is processed.

The relevant methods are listed below together with a description of how they are used.

ADJUST_SELECTION_PRQ

Controls the selection of purchase requisitions. You can delete purchase requisitions that have already been selected and add further purchase requisitions. The method can be called up online (transaction /ISDFPS/PRPLD) or in the background (transaction /ISDFPS/PRPLB).

ADJUST_SELECTION_ORD

Controls the selection of purchase orders. You can delete purchase orders that have already been selected and add further purchase orders. The method is called up online (transaction /ISDFPS/PRPLD).

ADJUST_SELECTION_RES

Controls the selection of reservations. You can delete reservations that have already been selected and add further reservations. The method is called up online (transaction /ISDFPS/PRPLD).

ADJUST_CUSTOMIZING_READ

You can use this method to override the Customizing settings in table /ISDFPS/PRPLCNTL. You can set the PRPL_AUT, PRPL_MES, PRPL_PART, PRPL_DLIV, PRPL_FOLW, and PRPL_FFFC fields in the table. For the possible field values, see the relevant domains. This enables you to make settings dependent on criteria that are not contained in the table key.

Caution: If you are not using table /ISDFPS/PRPLCNTL for control purposes, at least one entry must be made to ensure that processing is not terminated.

ADJUST_CHECK_EBAN

You can use this method to override or enhance the standard checks for the purchase requisition. The standard checks are contained in function module /ISDFPS/PRPL_CHECK_EBAN. If you set the return parameter E_NO_STANDARD in the BAdI method, the system no longer performs the standard checks.

You can use the reference object for the processing class to carry out the standard error handling procedures (for examples, see method /ISDFPS/CL_FDP_STOCK_LIST=>DO_PRIO_PLAN).

If you want to exclude an item from processing, you have to fill the NO_PRPL field in the CHANGING parameter structure (see also function module /ISDFPS/PRPL_CHECK_EBAN as an example).

STOP_FOLLOW_ACTION

You can use this method to prevent a purchase requisition from being forwarded. This enables you to respond to customer-specific material exchange concepts.

In the Customizing table, the PRPL_FFFC field must be maintained before this method can be called up.

If you want to prevent an item from being forwarded, you have to trigger the EXCLUDE exception.

You can use the reference object for the processing class to carry out the standard error handling procedures (for examples, see method /ISDFPS/CL_FDP_STOCK_LIST=>DO_PRIO_PLAN).

INDIVIDUAL_FOLLOW_ACTION

You can use this method to define individual follow-up actions for prioritized materials planning for purchase requisitions. Use the IT_EBAN_CUST_SORTED import structure to retrieve the Customizing data. Use the CHANGING parameter ,, to retrieve the table of worklists.

CT_LIST_TO_ORDER

If you have processed an item in table CT_LIST_TO_ORDER separately, you have to delete the item from this table. Otherwise, the item will be taken into consideration during standard processing.

GET_MRP_CONTR

You can use this method to override the MPR controller setting for a combination of plant, storage location, and material. Plant, storage location, and material number are imported to the method. On the basis of this data, you can then determine the MRP controller. If you do not want to execute the standard logic for determining the MRP controller after this method is called, export parameter ev_no_core must be filled, otherwise the MRP controller you determined will be overridden by the standard logic.






Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4094 Date: 20240420 Time: 000538     sap01-206 ( 90 ms )