You will learn
- How to create a data element.
- How to use this data element to provide boolean logic to one of the columns in the table
Step 1: Change the field type (to a new data element)
Go back to your ABAP Dictionary structure zso_invoice_item
and change the type of field payment_status
to zso_invoice_payment_status
:
Since the data element zso_invoice_payment_status
does not exist, you get a syntax error, which you will fix using a quick fix below.
Step 2: Choose a Quick Fix
-
Select the data element and display all the available Quick Fixes by choosing
Ctrl+1
. -
Then choose Create data element
zso_invoice_payment_status
and choose Enter.
Step 3: Create a new data element
Enter a description for the new data element in the field Description