Skip to Content

How to create custom ODATA services for POST method in S/4 Hana Cloud

Hi All,

In S/4 Hana Cloud (version 1705) , how can we create a custom OData Service for POST operation .

We know that there is provision to create CDS views and OData services on top of CDS views but that is restricted to GET operation. Even in Get Operation , there might be some complex scenarios where it might be required to do some coding in ODATA service . But in S/4 Hana Cloud version , how can we do that??

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 16, 2017 at 06:09 PM

    Is it allowed to create POST /Delete Operation on OData service in S/4 Hana Cloud

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 20, 2017 at 09:52 AM

    Hi Amber,

    Yes, it is allowed to create Post/Delete operation for the OData service created using ABAP CDS view introducing BOPF concept with it.

    Refer: Developing Transactional Apps from Scratch

    Thanks,

    Tushar Sharma

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks for your answer Tushar.

      Actually the link i think talks about S/4 Hana on Premise since its talking of SAP Netweaver in the pre-requisite. However in S/4 Hana Cloud , there is no SAP GUI or ABAP Tcodes to be accessed. I am using S/4 Hana Cloud which is very much different from S/4 Hana on Premise.

  • avatar image
    Former Member
    Dec 14, 2017 at 03:29 PM

    Amber . Did u find any answer for this? I have also a similar requirement, in which we have to create a custom API in s/4 cloud. If you found any solutions please help.

    Add comment
    10|10000 characters needed characters exceeded