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.
1919 "copy this class to the rfc connector client system
2020
2121 DATA (lv_resp ) = `` .
22+
23+ "setup the destination here
2224 CALL FUNCTION 'Z2UI5_FM_RFC_CONECTOR'
23- DESTINATION 'NONE' "setup your destination here
25+ DESTINATION 'NONE'
2426 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( )
2729 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 .
2938
3039 server->response->set_header_field( name = `cache-control` value = `no-cache` ).
3140 server->response->set_cdata( lv_resp ).
You can’t perform that action at this time.
0 commit comments