Skip to content

Commit a81bbd5

Browse files
Merge pull request #2598 from julieplummer20:main
Feedbk fr github
2 parents f6cd05c + fc27137 commit a81bbd5

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

tutorials/abap-env-rfc/abap-env-rfc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ For readability and reuse, you will create these in an interface.
260260

261261
2. Enter the following and choose **Next**.
262262

263-
- Name: **`IF_TYPES_FOR_SYSTEM_INFO`**
263+
- Name: **`ZIF_TYPES_FOR_SYSTEM_INFO`**
264264
- Description: **`Types for RFC_GET_SYSTEM_INFO`**
265265

266266
3. Choose the transport request, then choose **Finish**.
@@ -348,7 +348,7 @@ In the class implementation, in the method **`if_oo_adt_classrun~main`**, add th
348348
349349
DATA(lv_destination) = lo_destination->get_destination_name( ).
350350
351-
DATA lv_result type IF_TYPES_FOR_SYSTEM_INFO=>rfcsi.
351+
DATA lv_result type ZIF_TYPES_FOR_SYSTEM_INFO=>rfcsi.
352352
DATA msg TYPE c LENGTH 255.
353353
354354
```
@@ -451,13 +451,13 @@ CLASS ZCL_SYSTEM_INFO_RFC_### IMPLEMENTATION.
451451
452452
comm_scenario = 'Z_OUTBOUND_RFC_###_CSCEN' " Communication scenario
453453
service_id = 'Z_OUTBOUND_RFC_###_SRFC' " Outbound service
454-
comm_system_id = 'Z_OUTBOUND_RFC_CSYS' " Communication system
454+
comm_system_id = 'Z_OUTBOUND_RFC_CSYS_###' " Communication system
455455
456456
).
457457
458458
DATA(lv_destination) = lo_destination->get_destination_name( ).
459459
460-
DATA lv_result TYPE if_types_for_system_info=>RFCSI.
460+
DATA lv_result TYPE ZIF_TYPES_FOR_SYSTEM_INFO=>RFCSI.
461461
DATA msg TYPE c LENGTH 255.
462462
463463
CALL FUNCTION 'RFC_GET_SYSTEM_INFO'

tutorials/abap-environment-create-http-service/abap-environment-create-http-service.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ author_profile: https://github.com/julieplummer20
2525
- How to return system data using a (whitelisted) ABAP utility class
2626
- How to expose the service for external consumption, by defining the necessary inbound communication artifacts
2727

28+
Important: This tutorial is not suitable for SAP S/4HANA Cloud, private edition. If you would like to enable HTTP consumption from S/4HANA Cloud, private edition, see:
29+
30+
- [Developing External Service Consumption - Outbound Communication](https://help.sap.com/docs/ABAP_PLATFORM_NEW/b5670aaaa2364a29935f40b16499972d/f871712b816943b0ab5e04b60799e518.html)
31+
- [Enable HTTP Communication in Your ABAP Code](https://help.sap.com/docs/ABAP_PLATFORM_NEW/b5670aaaa2364a29935f40b16499972d/cef1ada754154d11b5701ab60e6ab412.html?version=202310.002)
32+
33+
2834
Throughout this tutorial, replace `XXX` or `000` with your initials or group number.
2935

3036
---
@@ -109,13 +115,12 @@ In the ABAP environment, you can only use whitelisted APIs. Therefore, for examp
109115
110116
```ABAP
111117
112-
DATA(user_formatted_name) = cl_abap_context_info=>get_user_formatted_name( ).
113118
DATA(system_date) = cl_abap_context_info=>get_system_date( ).
114119
115120
ui_html = |<html> \n| &&
116121
|<body> \n| &&
117122
|<title>General Information</title> \n| &&
118-
|<p style="color:DodgerBlue;"> Hello there, { user_formatted_name } </p> \n | &&
123+
|<p style="color:DodgerBlue;"> Hello there </p> \n | &&
119124
|<p> Today, the date is: { system_date }| &&
120125
|<p> | &&
121126
|</body> \n| &&
@@ -174,13 +179,12 @@ CLASS Z_GET_DATE_HTTP_000 IMPLEMENTATION.
174179
175180
METHOD get_html.
176181
177-
DATA(user_formatted_name) = cl_abap_context_info=>get_user_formatted_name( ).
178182
DATA(system_date) = cl_abap_context_info=>get_system_date( ).
179183
180184
ui_html = |<html> \n| &&
181185
|<body> \n| &&
182186
|<title>General Information</title> \n| &&
183-
|<p style="color:DodgerBlue;"> Hello there, { user_formatted_name } </p> \n | &&
187+
|<p style="color:DodgerBlue;"> Hello there.</p> \n | &&
184188
|<p> Today, the date is: { system_date }| &&
185189
|<p> | &&
186190
|</body> \n| &&
1.06 KB
Loading

0 commit comments

Comments
 (0)