This application reads the sales order ID from SAP BTP Event Mesh webhook and calls an exposed BTP ABAP Environment web API
- TBD
Clone or download this repository:
git clone https://github.com/mendesthi/ABAPProxy.gitFrom its root folder, open the terminal, login to your SCP account and push it.
cf push --random-routeSet the environment variables for the ABAP web API, the S4HC host and Base64 User:Password.
cf set-env ABAPProxy S4HCTENANT https://<yourS4HC>.s4hana.ondemand.com/sap/opu/odata/sap/API_SALES_ORDER_SRV
cf set-env ABAPProxy USERPW <your_b64_userpw>
cf set-env ABAPProxy ABAPTENANT https://<yourABAPTenant>.abap.eu10.hana.ondemand.com/sap/opu/odata/sap/ZAPI_CE_BONUS_CALC_SA
cf restage ABAPProxyFor details on how to deploy apps on SCP CF check this tutorial: Get Started with SAP Cloud Platform Trial
This repository is provided "as-is". No warranty or support is available. Feel free to open issues.
Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.