I have implemented a Create_Deep_entity method in Net-weaver gateway and it is working fine, but it is not returning the created value in return parameters.
After Post method frame work is automatically calling Get_Entity Method, but to that method key value is going as null value ...
Using the below FM to return the values in Create_deep_entity method,
COPY_DATA_TO_REF( EXPORTING IS_DATA = ls_proj CHANGING CR_DATA = er_deep_entity ).
In the Status of Response Header:
XXXXXXSERVER NAME:PORT:sap/opu/odata/_GW_SERVICES_SRV/Project_Headerset(' ').
Thanks,
Punnarao.A
.