-
In the Project Explorer, right-click on the ZPRA_PSE_SALES_ORDER package and choose New > Other ABAP Repository Object.
-
Search for Data Definition, select it, and choose Next.
-
Enter the following data:
-
Name:
ZPRA_PSE_ASSIGN_PSE_TO_SO -
Description:
Assigning Poetry Slam Event to Sales Order
Choose Next.
-
-
Select a transport request and choose Finish.
-
On the Templates screen, choose Define Abstract Entity with Parameters and choose Finish.
-
Replace the generated code with the following ABAP code:
@EndUserText.label: 'Assigning Poetry Slam to Sales Order' @Search.searchable: false define abstract entity ZPRA_PSE_ASSIGN_PSE_TO_SO { @Consumption.valueHelpDefinition: [{ entity : { name : 'ZPRA_PSE_PS_ID_VH', element : 'zzpra_pse_ps_id_sdh' } }] @EndUserText.label: 'Poetry Slam Number' PoetrySlamId : zpra_pse_ps_id; }
-
Save and activate your changes.
