Start of Content Area

Background documentation ABAP Class /SAPAPO/CL_RRP_CTP  Locate the document in its SAP Library structure

This standard class controls system behavior in the CTP check. Use this class if you want to use fixed pegging in the CTP process.

With this ABAP class, the system carries out an availability check against receipt/stock elements that are still freely available, i.e. for which no pegging relationship has yet been created. During the CTP check, the system determines all receipt/stock elements for which there is neither a fixed nor a dynamic pegging relationship. The system assigns these receipt/stock elements to the customer requirement that is to be checked. If this is not possible, the system generates a new receipt element for the requirement. After the sales order has been saved, the system automatically creates a fixed pegging relationship between the checked sales order item and the assigned receipt element. In each new check, also in the case of an already confirmed sales order, the system deletes the existing pegging relationships and makes a renewed assignment of the requirement to a receipt element. This new assignment is then fixed through the creation of a fixed pegging relationship.

If you change a confirmed sales order (by changing the desired date/time, for example) and carry out a new check, the system will delete the fixed pegging relationship. The system then searches for a more suitable receipt element in terms of date/time. The system confirms the sales order and creates a new fixed pegging relationship.

If there are several schedule lines for a sales order item (due to partial delivery, for example), the system creates the fixed pegging relationships for the assignments according to FIFO logic.

 

End of Content Area