Skip to content

Commit 03ced9d

Browse files
committed
update
1 parent 4933f65 commit 03ced9d

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/z2ui5_cl_rfc_connector_handler.clas.abap

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff 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 ).

0 commit comments

Comments
 (0)