Skip to Content

Odata V4 service creation issue

Hi Experts,

My S/4 environment detail is as shown below :

s4-details.jpg

i am creating and odata v4 project as below

project.jpg

and the services has been also generated as Register Service along with methods

methods.jpg

in sicf tcode when i see odatav4 in the tree structure i couldn't see any thing under odatav4 node.

sicf.jpg

i was tried executing gw client but it is not working

service.jpg

URL : /sap/opu/odata4/SAP/ZTESTING/?$format=json

Please let me know am i doing correct? the system enviroment am i using is correct?

Please let me know how to execute this.

Thanks,

Gowtham

s4-details.jpg (95.9 kB)
project.jpg (31.3 kB)
methods.jpg (34.5 kB)
sicf.jpg (84.4 kB)
service.jpg (74.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 13 at 03:16 PM

    Hi Gowtham,

    as described in my blog

    https://blogs.sap.com/2017/12/12/odata-v4-code-based-implementation-i-basic-interface-read-access/

    The service group that your service is using has to be registered in the backend and published in the hub. (you probably use the service group IWBEP_ALL

    1. Register a service group using transaction /iwbep/v4_admin
    2. Publish the service group using transaction /iwfnd/v4_admin
    3. Register the service in the service group

    For more details see the SAP Online Help.

    Please note that we do not recommend to use the Service Builder since the V4 project type will not be developed any further.

    Add comment
    10|10000 characters needed characters exceeded