File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,22 @@ CLASS z2ui5_cl_rfc_connector_handler IMPLEMENTATION.
19
19
"copy this class to the rfc connector client system
20
20
21
21
DATA (lv_resp ) = `` .
22
+
23
+ "setup the destination here
22
24
CALL FUNCTION 'Z2UI5_FM_RFC_CONECTOR'
23
- DESTINATION 'NONE' "setup your destination here
25
+ DESTINATION 'NONE'
24
26
EXPORTING
25
- iv_method = server->request->get_method( )
26
- iv_request = server->request->get_cdata( )
27
+ iv_method = server->request->get_method( )
28
+ iv_request = server->request->get_cdata( )
27
29
IMPORTING
28
- rv_response = lv_resp.
30
+ rv_response = lv_resp
31
+ EXCEPTIONS
32
+ system_failure = 1
33
+ communication_failure = 2
34
+ resource_failure = 3 .
35
+ IF sy -subrc <> 0 .
36
+ ASSERT 1 = 0 .
37
+ ENDIF .
29
38
30
39
server->response->set_header_field( name = `cache-control` value = `no-cache` ).
31
40
server->response->set_cdata( lv_resp ).
You can’t perform that action at this time.
0 commit comments