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