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
Install this repository with [abapGit](https://abapgit.org) 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` ).
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.
0 commit comments