Thanks Tarun and Prasad for knowledge sharing.
My problem is when i am redefining MPC->DEFINE method i am getting error:Assign Model First To Service.
Why this error?? Weather it a OData problem ?? so i contact to basis team.
Or i am doing some mistake in OData creation.
Please Check My Steps.
Step1). Created A package zgw_gc1
Step2). Righe click on DataModel and import RFC/BOR Interface
Step3).
Step4).
Step5).
Step6). check entity type as media type
Step7). Now gegerate runtime objects
Step8). Go to service implementation and right click on GetEntity and select map to data source.
Step9). go to runtime artifacts, select MPC_EXT and go to abap bench and redifine MPC_EXT->DEFINE method.
Step10.). redefine DPC_EXT-> Create_Stream and get_stream methods. inside create_stream i am calling ZFM .
Step11). go to /iwfnd/maint_service and add service . in this step i am getting errorAssign Model To service as mention above.
-------------------------------------------------------------------------------------------------------------------------------------------------
Please send me sample code at my mail id satyadwivedi1@gmail.com
Thanks,
Satya