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.