Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in CDS View

In my program I am fetching a certain type of inbound IDOC which in 53 status and updating my custom table, for which I have written a select query which executes perfectly but gives me an error while executing as a DDL source.

Select Query in Program: -

DDL Source: -

Error:- Preceding INT2 field cannot be a key field.

Even though I haven't declare INT2 field as a key field, the view which is being created (after commenting field sdata) is considering that. Please help me fix this issue.

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question