on 10-30-2014 3:54 PM
Hello,
I am not sure what is the problem,
i am coding like this:
lo_container->add_message(
exporting
iv_msg_type ='S'
iv_msg_text = 'YYYY'
iv_msg_id = '1'
iv_msg_number = '0'
iv_add_to_response_header = ABAP_TRUE
).
it works of course when i add code of raising exception like this:
RAISE EXCEPTION TYPE /iwbep/cx_mgw_busi_exception
EXPORTING
message_container = lo_container.
But i dont want http status 400. I want only to add info to header. Is it possible without raising exception ?
Lucas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is SAP Gateway SP8.
http://service.sap.com/sap/support/notes/1942072
Check this note to understand what "SP8" means. Each component has a version corresponding to "SAP Gateway SP8".
You can anyway try that code and if it works you have SAP Gateway >= SP8.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.