Post
Processing Framework functionality is a flexible tool that generates and
executes follow-up actions based on predefined conditions, such as printing
labels, sending email notifications, or creating warehouse tasks after a
warehouse document is completed or confirmed.
In this
document we will describe how to create a custom PPF action.
Go to the
TCODE
SPPFCADM - PPF: Administration

Select the
corresponding application, it will depend on the type of document from which
the action needs to be created.
Click on
“Wizard for Defining and Scheduling an Action” button.
Click on
continue.
Input the
action profile where is going to assign the new action. Then click on continue.
Input the new Action
Defintion and description. Then click on continue.
Choose when
it is required to process the action. Then click on continue.
Unmark
option Parner-Dependent. Then click on continue.
Choose the
processing type required for the action. Then click on continue.
Previously
you have to create the custom method, click on match code .
Select the
corresponding method.
Click on
continue.
Input the
description of your action. Then click on continue.
Select your corresponding condition type. Then click on continue.
Choose your
scheduling condition if required. Then click on continue.
Select the
start condition if required. Then click on continue.
To
finalize, click on complete.
Select your
Customizing Request and click on check mark.
Technical Adjustments needed
Go to transaction SE19, choose Classic Badi and Implementation: “ZONIM_PPF_01”, then click Change.
Make sure the Implementation is inactive, so the system will allow you to make changes. To do that, click on inactive button.
Go to Properties tab and then look for Filter values.
Add a new row and input your filter name (you can create your own filter, use a descriptive nomenclature). Then, click on Save button.
Go to SM30 transaction and input ZONTA_OC_EVENTS table. Then, click on Edit button.
Click on New Entries button.
Change Doc Object = Take from the entity definition (excel of EWM entities), take column “Action Definition”.
Object Type = Take corresponding value you created in previous step (Filter for BADI).
Description = Input a description for the combination
Once you are done with new entries, click on Save button, if a transport is requested, you can select/create a new one.
Final step, go to ZONT_ONECM transaction and modify required Entity. On Change doc object, search for the entries you saved on ZONTA_OC_EVENTS table.
Click Save Customizing button to save your entries.
After this step, the system will know which entity belongs to an specific PPF action.