* https://blogs.sap.com/2019/10/20/how-to-call-a-remote-odata-service-from-the-trial-version-of-sap-cl... platform-abap-environment/
http_client->get_http_request( )->set_authorization_basic(
i_username = 'ES5 username'
i_password = 'ES5 password'
).
io_request->get_requested_elements( ).
io_request->get_sort_elements( ).
METHOD if_rap_query_request~get_sort_elements.
ms_interface_methods_called-get_sort_elements = abap_true.
rt_sort_elements = mt_sort_elements.
ENDMETHOD.
METHOD ensure_relevant_methods_called.
TRY.
IF ms_requested-fill_data = abap_true AND ms_interface_methods_called-get_sort_elements = abap_false AND mt_sort_elements IS NOT INITIAL.
RAISE EXCEPTION cx_rap_query_not_fully_implmtd=>as_indicated_by_missing_call( co_interface_methods-get_sort_elements ).
ENDIF.
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
10 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |