on 08-17-2014 7:42 PM
Hi all,
I am using method
CALL METHOD lo_message_manager->REPORT_ELEMENT_ERROR_MESSAGE
EXPORTING
MESSAGE_TEXT = 'No flights for &carrid &2 connid'
ELEMENT = lo_el_connection
PARAMS = itab
Before this method i am writing code as follows:
wa-name = 'carrid'. * wa is work area
wa-value = 'connid'.
APPEND wa to itab. *itab is internal table
wa-name = ls_connection-carrid. *ls_connection has data which we are entering in the webdynpro view.
wa-value = ls_connection-connid.
APPEND wa to itab.
when i enter wrong data No flights for &carrid &2 connid' is displaying in place of carrid and connid i need to get the values.
Please suggest me where i went wrong.
Thanks & regards,
Narsireddy
Hello Narsireddy,
It should be:
"name is for the placeholder name and value is the value
wa-name = 'carrid'.
wa-value = ls_connection-carrid.
APPEND wa TO itab.
wa-name = 'connid'.
wa-value = ls_connection-connid.
APPEND wa TO itab.
Hope it helps. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi NarsiReddy,
As suggested, you need to populate the parameters table entries properly i.e. NAME should have the parameter name & VALUE should contain the screen field value.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.