Professional Documents
Culture Documents
Click on create. Now give the fields as below. Give the first field as cust_no. Give the data element as zkunnr_ch and press enter.
Whenever we are creating the domain, click on the value range tab. Specify the value table as ZKNA1_CH.
Save it, activate it and comeback. Define the second field as below. Field name cust_name Data element zname1.
Give the fields as below Fields cust_no, city Data element zkunnr_ch, zcity.
Save and activate. Creating foreign key relation using value table: Go to the foreign key table ZKNA1_FK1. Click on change. Select the field cust_no. and click on foreign key button.
Click on copy button. A foreign key will be created for zknna1_fk1-cust_no. Save, activate and test it. If you give the cust_no. other than the cust_no. in the check table, it will throw an error as below.