cancel
Showing results for 
Search instead for 
Did you mean: 

no info in header - /iwbep/if_message_container

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

kammaje_cis
Active Contributor
0 Kudos

Check Ralf's reply here.

http://scn.sap.com/thread/3470565

Remember that it is only from SP8

Former Member
0 Kudos

Hi Krishna,

SP 8 concern GW_CORE ?

I have GW_CORE release 190 sp3. It could be an answer.

Lucas

kammaje_cis
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hello Krishna

In my test system i have :

SAP_GWFND7400007SAPK-74007INSAPGWFNDSAP Gateway Foundation 7.40

It looks like not working without raising exceptions.

The reason is that SAP_GWFND SP-level is 7 ?

Update to 8 will resolve issue ?

Lucas