I did what you suggested and now I am getting no errors. Thanks for that.
But still my data is not uploaded into the backend table.
I think I am missing out something from the NetWeaver side also.
To summarize:
My backend table contains four fields: say A,B,C & D
I have created two FMs.
- One with SELECT statement and mapped it to Entity Set(Read) with input field "A" and Entity Set(Query)
- Another with INSERT statement and mapped it to Entity Set(Create)
with proper mapping to datasource.