Show TOC

 Configuration of PPF Action Scheduling

Use

You can configure the scheduling of Post Processing Framework actions (PPF actions) in the PPF application /SCDL/DELIVERY. To do this, you define schedule conditions that use the condition technique. The condition technique works with condition records that control the scheduling of the PPF actions Creating Condition Records ).

Prerequisites

  • You have defined a schedule condition for the PPF action that contains the call of method /SCWM/CL_DLV_PPF_CONF=>EVALUATE. For more information, see the method documentation. For more information about the PPF, see the SAP Help Portal help.sap.comunder Start of the navigation path SAP NetWeaver Next navigation step SAP NetWeaver Library Next navigation step SAP NetWeaver by Key Capability Next navigation step Application Platform by Key Capability Next navigation step Business Services Next navigation step Business Communication Services Next navigation step Generic Business Tools for Application Developers (BC-SRV-GBT) Next navigation step Post Processing Framework (BC-SRV-GBT) End of the navigation path .

  • You have made the following settings for the condition technique in Customizing for Extended Warehouse Management (EWM):

    1. Create field catalog

    2. Create condition tables

    3. Create access sequences

    4. Create condition types

    5. Maintain determination procedure

    6. Assign determination procedure

    7. Create condition maintenance group

    8. Register condition maintenance group

      For more information, see the Implementation Guide (IMG) for EWM under Start of the navigation path Cross-Process Settings Next navigation step Delivery Processing Next navigation step Actions Next navigation step Configure Action Scheduling. End of the navigation path

Features

Within the PPF application /SCWM/DELIVERY, you can schedule the PPF action with the Business Add-In (BAdI) EVAL_SCHEDCOND_PPF PPF: Configure Exit for Evaluating Schedule Condition. In this action, you can define conditions that use certain delivery data. For example, you can define that EWM is only to schedule a PPF action if warehouse 001 or partner ABC is affected or if the delivery status has the value Finished . When PPF checks the PPF action to be scheduled, the system uses this configuration.

You call method /SCWM/CL_DLV_PPF_CONF=>EVALUATE in your BAdI implementation for the schedule condition for the PPF action. The method returns the return code RV_RC to the schedule condition. The value zero means that a result was found. Other values indicate various error messages. The schedule condition also returns a return code to the PPF. The value zero means that the schedule condition is fulfilled and that the PPF has scheduled the PPF action.

Condition record determination in delivery processing only returns the result of whether a condition record was found or not. You cannot specify any values that condition record determination then returns as a results record together with the condition record.

SAP provides a default field catalog that contains fields from the delivery document header only and that defines delivery data that you can use in the schedule condition. An exception is the Door field. EWM aggregates this field on header level. If the value in this field is the same for all items, EWM copies the value to the header level too. If the value in this field differs for at least one item, the value for the header field remains empty. You can either use the fields from the default field catalog or you can add your own fields to the field catalog. To fill these additional fields at runtime, you can use BAdI /SCWM/EX_DLV_PPF_CONF BAdI: Determine Delivery Data for Customer-Defined Condition Record Fields. You can also add item fields to the default field catalog. For more information about special fields in the field catalog for the application DPP, see the corresponding field help, for example, for the field /SCWM/DE_DPP_ITEM_REL.

Note Note

Due to performance reasons, you cannot use placeholders for the values in the condition records. If you want to define a schedule condition for a status value that has not yet been defined in the system, you must define a condition record for each possible combination of status change, for example, Not Started -> In Process .

End of the note.

Activities

  • If you want to define the configuration of scheduling of PPF actions, perform the IMG activities in the sequence specified under Prerequisites in the Implementation Guide (IMG) for EWM under Start of the navigation path Cross-Process Settings Next navigation step Delivery Processing Next navigation step Actions Next navigation step Configure Action Scheduling. End of the navigation path

  • If you want to view or edit schedule conditions for PPF actions, in the IMG for EWM, choose Start of the navigation path Cross-Process Settings Next navigation step Delivery Processing Next navigation step Actions Next navigation step Change Actions and Conditions Next navigation step Define Conditions. End of the navigation path

  • If you want to edit condition records for the schedule condition of a PPF action, on the SAP Easy Access screen, choose Start of the navigation path Extended Warehouse Management Next navigation step Delivery Processing Next navigation step Actions Next navigation step Maintain Condition Records for PPF Schedule Conditions. End of the navigation path

  • If you want to view and edit PPF actions, on the SAP Easy Access screen, choose Start of the navigation path Extended Warehouse Management Next navigation step Delivery Processing Next navigation step Actions Next navigation step Process and Display PPF Actions. End of the navigation path

    Note Note

    SAP delivers PPF actions whose schedule condition already contains the call of the configuration. The system therefore behaves as follows:

    If you do not assign a determination procedure in Customizing for SAP EM, the system behaves as in SAP SCM 5.0 with regard to these actions.

    If you assign a determination procedure that matches a delivery, you must also perform all the Customizing settings described under Prerequisites and you must create a suitable condition record. Only if you do this are the schedule conditions fulfilled for the actions for this delivery.

    End of the note.