Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

no info in header - /iwbep/if_message_container

$
0
0

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


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>