Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Two BSP pages, and message class

Hello,

I have the following problem, actually I have two bsp pages with flow logic lets say A, and B. In bsp page B 's onInputprocessing eventhandler, I set one message like this...

page->messages->add_message_from_t100(

condition = 'request_saved_succ'

msgid = '/CBP/UA03_SARU'

msgno = '025'

msgty = 'I'

p1 = lv_msgv1 ).

navigation->goto_page( 'a.htm' ).

after setting the message, I want the message should be shown in a.htm.

Following code I have written in a.htm layouts:

<%

IF page->messages->ASSERT_MESSAGE( 'request_saved_succ' ) NE 0.

%>

<htmlb:image alt = "success"

src = "@01@" />

<htmlb:textView textColor = "positive"

design = "EMPHASIZED"

text = "<%= page->messages->assert_message( 'request_saved_succ' ) %>" />

<br>

<%

ENDIF.

%>

But unfortunatley it does not print me the specified message, do u think its becuase, PAGE object ?? becuase page object in a.bsp try to find the message set by a.bsp ???

Thanks in advance for your inputs...

Former Member
Not what you were looking for? View more on this topic or Ask a question