Field "&1" must be included together with "&2" in the selection list

Message type: E = Error

Message class: SDDL_PARSER_MSG - Message Class for DDL Parser

Message number: 054

Message text: Field "&1" must be included together with "&2" in the selection list



What causes this issue?

You want to include the association &V2& in the selection list. The
field &V1& is used in the definition of the association in the ON
condition. For this reason, it must also be included in the selection
list.
The field &V1& is not contained in the selection list.
This error is also reported if the field is part of the selection list
but its data type was changed by CAST without the addition PRESERVING
TYPE.


System Response

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



How to fix this error?

Include the field &V1& in the selection list.


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.