cancel
Showing results for 
Search instead for 
Did you mean: 

How to display the messages in the Web Dyn Pro

Former Member
0 Kudos

Hi.

I want display the Message in Web Dyn Pro Application.

If suppose when i entered some data in the Input fields. When i press the INSERT Button. Then Records are saved in to the data base. But i want display some Message like "Records Are Inserted".

Otherwise display some message like "Records are not Inserted" in the web Dyn Pro Appilcation.

How it is possible.

Explain about this with an Screen Shorts if possible?

Thank You.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

Do the following :

After the select/insert statement use the following statement.

if sy-subrc = 0

Go to Code Wizard - > Message Mangr -> Now you can select the Information method .

else .

REPORT_ERROR_MESSAGE

endif.

Thanx.

Sm1tje
Active Contributor
0 Kudos

Have a look at demo WD4A component DEMO_MESSAGES with two demo applications. This should have everything you need to display messages.

Former Member
0 Kudos

Use this method

CALL METHOD l_message_manager->report_t100_message
EXPORTING
msgid = ls_errores-id
msgno = ls_errores-number
msgty = ls_errores-type
p1 = ls_errores-message_v1
p2 = ls_errores-message_v2
p3 = ls_errores-message_v3
p4 = ls_errores-message_v4
view = 'ID_BODY'.

Former Member
0 Kudos

Hi Krishna,

U can use UIElement 'Message_area' on the view to display the messages.

Check the example : WDR_TEST_MESSAGE_AREA

Ranganathan.