Skip to content

Commit 9571ada

Browse files
authored
Update README.md
1 parent e52c5f5 commit 9571ada

File tree

1 file changed

+2
-52
lines changed

1 file changed

+2
-52
lines changed

README.md

+2-52
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,3 @@
1-
## abap2UI5 - RFC Connector
1+
## RFC Connector
22

3-
_Running into problems or found a bug? Create an issue [**here**](https://github.com/abap2UI5/abap2UI5/issues)_
4-
5-
### Approach
6-
Remotely call abap2UI5 apps via RFC:
7-
<img width="1420" alt="image" src="https://github.com/abap2UI5/abap2UI5-connector_rfc/assets/102328295/5787755c-f4f1-48d8-a9da-50b4f04db9ed">
8-
<br>
9-
[Link](https://excalidraw.com/#json=Z27bQMS9ZH-3xgMDxLZ1R,WfuSCgOsHoJr8e339WSgjA)
10-
11-
### Installation
12-
Install this repository with [abapGit](https://abapgit.org) ![abapGit](https://docs.abapgit.org/img/favicon.png) on the system with your abap2UI5 apps. Install this handler on client system.
13-
Handler:
14-
```abap
15-
CLASS z2ui5_cl_rfc_connector_handler DEFINITION
16-
PUBLIC
17-
FINAL
18-
CREATE PUBLIC .
19-
20-
PUBLIC SECTION.
21-
INTERFACES if_http_extension.
22-
23-
PROTECTED SECTION.
24-
PRIVATE SECTION.
25-
ENDCLASS.
26-
27-
28-
29-
CLASS z2ui5_cl_rfc_connector_handler IMPLEMENTATION.
30-
31-
METHOD if_http_extension~handle_request.
32-
33-
DATA(lv_resp) = ``.
34-
CALL FUNCTION 'Z2UI5_FM_RFC_CONECTOR'
35-
DESTINATION 'NONE' "setup your destination here
36-
EXPORTING
37-
iv_method = server->request->get_method( )
38-
iv_request = server->request->get_cdata( )
39-
IMPORTING
40-
rv_response = lv_resp.
41-
42-
server->response->set_header_field( name = `cache-control` value = `no-cache` ).
43-
server->response->set_cdata( lv_resp ).
44-
server->response->set_status( code = 200 reason = `success` ).
45-
46-
ENDMETHOD.
47-
48-
ENDCLASS.
49-
```
50-
Setup destinations in SM50 that both systems can call each other and create an ICF Endpoint to call your abap2UI5 apps.
51-
52-
### More
53-
Check out this [blog post](https://www.linkedin.com/pulse/calling-abap2ui5-apps-remotely-via-rfc-abap2ui5-btoue/?trackingId=BJWSE77kp0aJRwpREQpVrQ%3D%3D) on LinkedIn to learn more.
3+
🚀 [Getting Started](https://abap2ui5.github.io/docs/)

0 commit comments

Comments
 (0)