You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Create an HTTP Service in SAP BTP ABAP Environment
13
13
<!-- description --> Create an HTTP service in SAP BTP ABAP environment that can be called from the browser.
14
14
15
-
##Prerequisites
15
+
## Prerequisites
16
+
16
17
-**IMPORTANT**: This tutorial cannot be completed on a trial account
17
18
- You have set up SAP Business Technology Platform (BTP), ABAP Environment, for example by using the relevant booster: [Using a Booster to Automate the Setup of the ABAP Environment](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/cd7e7e6108c24b5384b7d218c74e80b9.html)
18
19
-**Tutorial**: [Create Your First Console Application](abap-environment-trial-onboarding), for a licensed user, steps 1-2
19
20
- You have installed [ABAP Development Tools](https://tools.hana.ondemand.com/#abap), latest version
20
21
21
22
22
-
23
23
## You will learn
24
24
- How to create an HTTP service that can be accessed from a browser
25
25
- How to return system data using a (whitelisted) ABAP utility class
26
26
- How to expose the service for external consumption, by defining the necessary inbound communication artifacts
27
27
28
-
29
-
This tutorial was written for SAP BTP ABAP Environment. However, you should also be able to use it in SAP S/4HANA Cloud Environment in the same way.
30
-
31
28
Throughout this tutorial, replace `XXX` or `000` with your initials or group number.
- You have a license for SAP S/4HANA Cloud and have a developer user in it
18
-
- You have installed the latest [Eclipse with ADT](abap-install-adt).
19
-
- You need to have following business role assigned for your business user `SAP_BR_DEVELOPER` and `SAP_BR_BPC_EXPERT`.
20
-
- You need to have business catalog `SAP_CORE_BC_UI_FLD` assigned for the usage of manage launchpad space.
21
-
- You need to have business catalog `SAP_CORE_BC_UI` assigned for the usage of manage launchpad settings.
22
-
- You need to have business catalog `SAP_CORE_BC_BCT_TRN_MNG_PC` and `SAP_CORE_BC_BCT_TRN_REL_PC` assigned to your user to see the app.
23
-
- You need to [enable spaces layout](https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/64a5e1675ce7413791a654d2228a90be.html?locale=en-US&state=TEST&version=2208.502) in SAP Fiori launchpad to see the app tiles, that are added to spaces or pages.
18
+
- You have installed the latest version of [ABAP in Eclipse](https://tools.eu1.hana.ondemand.com/#abap), i.e. ADT
19
+
- You need to have following business role assigned for your business user `SAP_BR_DEVELOPER` and `SAP_BR_BPC_EXPERT`
20
+
- You need to have business catalog `SAP_CORE_BC_UI_FLD` assigned for the usage of manage launchpad space
21
+
- You need to have business catalog `SAP_CORE_BC_UI` assigned for the usage of manage launchpad settings
22
+
- You need to have business catalog `SAP_CORE_BC_BCT_TRN_MNG_PC` and `SAP_CORE_BC_BCT_TRN_REL_PC` assigned to your user to see the app
23
+
- You need to [enable spaces layout](https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/64a5e1675ce7413791a654d2228a90be.html?locale=en-US&state=TEST&version=2208.502) in SAP Fiori launchpad to see the app tiles, that are added to spaces or pages
- How to manage launchpad spaces and assign business role
30
31
- How to assign and manage launchpad spaces
31
32
33
+
32
34
## Intro
33
35
34
36
>**HINT**: The administrator receives an welcome e-mail after provisioning. This e-mail includes the system URL. By removing `/ui` you can log into the SAP S/4HANA Cloud ABAP Environment system. Further information can be found [here](https://help.sap.com/docs/SAP_S4HANA_CLOUD/6aa39f1ac05441e5a23f484f31e477e7/4b962c243a3342189f8af460cc444883.html?locale=en-US&state=DRAFT).
1. Open ADT, select your package `Z_PURCHASE_REQ_###` and open your IAM App `ZSHOPCART_IAM_###`. Add the UI5 application ID to your IAM app and activate it.
41
43
44
+
<!-- border -->
42
45

43
46
44
-
If you don't have any IAM App created yet. Please create an IAM App and add the UI5 application to it.
47
+
If you don't have an IAM App created yet. Please create an IAM App and add the UI5 application to it.
45
48
46
49
2.**Publish** your IAM App.
47
50
51
+
<!-- border -->
48
52

49
53
50
54
3. Make use of your business catalog `ZSHOPCART_BC_###`.
55
+
56
+
<!-- border -->
57
+

51
58
52
-

53
-
54
-
If you don't have created a business catalog yet, please create one and publish it locally.
59
+
If you have not yet created a business catalog, please create one and publish it locally.
55
60
56
61
### Create business role
57
62
58
63
1. Log in to your **S/4HANA Cloud ABAP environment customizing system**.
59
64
60
-

65
+
<!-- border -->
66
+

61
67
62
68
2. Select **Maintain Business Roles**.
63
69
64
-

70
+
<!-- border -->
71
+

65
72
66
73
3. Click **New**.
67
-
68
-

74
+
<!-- border -->
75
+

69
76
70
77
4. Create new business role:
71
78
- Business Role ID: `BR_Z_SHOPCART_###`
72
79
- Business Role Description: Business role for shopping cart
0 commit comments