Hello Radhesh,
If your FM is able to do both Read and Create, then you can use that FM to get data when Read Service is called and use the same to Create data when POST is fired.
You ca also have a single Entity by setting appropriate property as KEY(s) in your GW model to achieve the above.
Just for an Example ->
Say you have Entity ' Employee' in the GW model and have properties ' EmployeeID ' and ' FirstName ' and ' Last Name '.
You can Make ' EmployeeID ' as Key in the GW model.
1. During POST FirstName and LastName is passed to the FM and it returns EmployeeID on successful create operation.
2. Now for Read, pass the above EmployeeID to get the newly created data.
For straight forward cases like above, you can use SEGW and FM to perform the mapping to implement Create and Read operations, Generate Objects.
On successful Create, Read is fired displaying the newly created data the Response
Regards,
Ashwin