Ansicht
Dokumentation
SIMG_PBS_PTSP_111 - BAdI: Sorting of Requirements Assignments
BAL Application Log Documentation Addresses (Business Address Services)This documentation is copyright by SAP AG.
You can use this Business Add-In (BAdI) to change prioritization requirements for those times when, while generating automatic proposals, the system generates multiple requirements of equal value for assignment.
- Note
- For more information, see the IMG activity Sorting of Requirements Assignments.
In the function module RH_SUGGESTION_MATCHUP (Proposal for Covering Requirements), this BAdI is called
once right before the use of the generated assignment strategy. At this time, the requirements with the same value generated by the system are entered into internal table REQ_ASSIGN.
You can use this BAdI to assign a priority to the requirements found in internal table REQ_ASSIGN. Afterwards,
the system sorts the REQ_ASSIGN table by date and then by the priority you assigned in the BAdI.
You
assign priority with the method SORT_REQ_ASSIGN_PRIORITY in the interface IF_EX_PT_SP_REQ_ASSIGN. The method has the following import parameters:
- IM_BEGIN_DATE
- IM_END_DATE
- IM_ACT_STRATEGIE
Internal table CH_REQ_ASSIGN_PRIO is available to you as a changing parameter. It is a copy of table REQ_ASSIGN with the added field PRIOX. In this field, you can enter the generated priority as a result of your implementation.
- Caution
- It is technically possible for you to delete items in table CH_REQ_ASSIGN_PRIO. However, deletion from this table leads to those items’ also being deleted from table REQ_ASSIGN, thus rendering them unavailable. We therefore urge you not to do this. If you would like to temporarily delete items to keep certain requirements from being used, use the BAdI BADI_PTSP_REQ_ITERATION_SORT (Change Table REQ_ASSIGN for Each Assignment Step)>.
In the standard system, there is no unique rule used for assigning requirements generated as having equal values.
BAL_S_LOG - Application Log: Log header data General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 2260 Date: 20240523 Time: 162227 sap01-206 ( 50 ms )