Show TOC Start of Content Area

Function documentation Configuration of PPF Action Scheduling  Locate the document in its SAP Library structure

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.com under SAP NetWeaver SAP NetWeaver Library SAP NetWeaver by Key Capability Application Platform by Key Capability Business Services Business Communication Services Generic Business Tools for Application Developers (BC-SRV-GBT) Post Processing Framework (BC-SRV-GBT).

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

...

                            a.      Create field catalog

                            b.      Create condition tables

                            c.      Create access sequences

                            d.      Create condition types

                            e.      Maintain determination procedure

                              f.      Assign determination procedure

                            g.      Create condition maintenance group

                            h.      Register condition maintenance group

For more information, see the Implementation Guide (IMG) for EWM under Cross-Process Settings Delivery Processing Actions Configure Action Scheduling.

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

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.

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 Cross-Process Settings Delivery Processing Actions Configure Action Scheduling.

      If you want to view or edit schedule conditions for PPF actions, in the IMG for EWM, choose Cross-Process Settings Delivery Processing Actions Change Actions and Conditions Define Conditions.

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

      If you want to view and edit PPF actions, on the SAP Easy Access screen, choose Extended Warehouse Management Delivery Processing Actions Process and Display PPF Actions.

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 Content Area