on 06-27-2022 4:12 PM
Hi Experts!
I hope you can help me with the problem I’m having with ErrorArchive entity in MDK. The SAP system installed is EHP8 FOR SAP ERP 6.0.
When the user want to update an object that it's been used by another user in SAP GUI, the backend will response HTTP code 500 and I need to save the request in Error Archive Entity, but it's always empty.
I followed all steps in these two tutorials:
https://developers.sap.com/tutorials/cp-mobile-dev-kit-error-archive.html
https://blogs.sap.com/2020/02/26/error-handling-with-offline-odata/
The MDK configuration its the same that tutorial’s:
and this is the RAISE EXCEPTION code in Odata Backend:
DATA:
lo_msg TYPE REF TO /iwbep/if_message_container.
CALL METHOD me->/iwbep/if_mgw_conv_srv_runtime~get_message_container
RECEIVING
ro_message_container
RECEIVING
ro_message_container = lo_msg.
RAISE EXCEPTION TYPE /iwbep/cx_mgw_busi_exception
EXPORTING
textid = /iwbep/cx_mgw_busi_exception=>business_error
http_status_code
http_status_code = 500
message_container = lo_msg.
Here is the Page code : errorlist.txt
Thank you for advance,
Regards.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.