¡Caminando hacia el éxito!

Aprende en Comunidad

Avalados por :

Exposing S/4 HANA On-Premise Custom OData Services to SAP Build with SAP BTP ABAP RAP

  • Creado 01/03/2024
  • Modificado 01/03/2024
  • 260 Vistas
0
Cargando...
Hi SAP Experts,

There are multiple ways to consume actions not available in the store in the SAP Build Process Automation.

S/4 HANA On-Premise or ECC based Custom Odata services can be accessed by the below two ways with the Core Clean principle using the Side-by-Side Extension scenarios.

I have explored the different possibilities to expose the S/4 HANA On-Premise Custom OData services to the SAP Build platform since there are challenges exposing the Odata directly from S/4 HANA On-Premise to SAP build.

How to create actions on the SAP build?

SAP BTP ABAP RAP ( RESTful ABAP Programming Model )using the side-by-side extension scenario:

  • Create a Custom Entity and call either the backend RFC function modules or API classes from SAP S/4 HANA to perform the functionality.

  • Create the Service binding as shown below.

  • Copy the URL and get the metadata for the same.

  • Create a Odata Open API using the open source https://convert.odata-openapi.net/ by pasting the Metadata.

  • There are also other open API converters in GitHub for the On-Premise system; however, they are more specific to the SICF nodes and do not work for the BTP ABAP-based Odata services. https://blogs.sap.com/2019/07/09/how-to-create-an-openapi-rest-service-from-an-odata-v4-rest-service...

  • Copy the same and save in a file with Extension .json


  • Once you click on the create button, the below screen appears to select the required actions:


How to Test the Actions:

  • First, Create a destination for the Odata service using the BTP Destinations and add the parameters as shown below.

    • sap.applicationdevelopment.actions.enabled: true

    • sap.processautomation.enabled: true



  • Add the destination in the BTP Build


...
Please let me know in case of any feedback
Pedro Pascal
Se unió el 07/03/2018
Pinterest
Telegram
Linkedin
Whatsapp

Sin respuestas

No hay respuestas para mostrar No hay respuestas para mostrar Se el primero en responder

contacto@primeinstitute.com

(+51) 1641 9379
(+57) 1489 6964

© 2024 Copyright. Todos los derechos reservados.

Desarrollado por Prime Institute

¡Hola! Soy Diana, asesora académica de Prime Institute, indícame en que curso estas interesado, saludos!
Hola ¿Puedo ayudarte?