Extending the Behavior Definition of Projection View C_SALESORDERMANAGE to Include the Poetry Slam Action
To extend the behavior definition of the C_SALESORDERMANAGE projection view, follow these steps:
-
In the ADT menu bar, choose Open ABAP Development Object.
-
Search for C_SALESORDERMANAGE.
-
Select the C_SALESORDERMANAGE behavior definition and choose OK.
-
In the Project Explorer view, choose Link with Editor, so that the object is visible in the Project Explorer.
-
Right-click the C_SALESORDERMANAGE behavior definition and choose New Behavior Extension.
-
Enter the following data:
-
Package:
ZPRA_PSE_SALES_ORDER -
Name:
ZPRA_PSE_C_SOMANAGE_BEXT -
Description:
Sales Order Behavior Extension for pse
-
-
Choose Next.
-
Select a transport request and choose Finish.
-
Replace the generated code with the following ABAP code:
extension for projection; extend behavior for SalesOrder { use action zzpra_pse_assign_ps ; } extend behavior for SalesOrderItem { }
-
Save and activate your changes.