Reading context on upper case
I have done a Web Dynpro ABAP which access to a table of the database to retrieve some entries. This access is made by a field introduced on the main view.
The data on the table are sensitive to capital and small letters.
I use the method if_wd_context_element->get_static_attributes to get the value of the field on the main window, but this method retrieve the value on capital letters, being this a problem, because doesn´t find any value on the table.
Somebody knows if this problem has solution??
Thankfull answers will be rewarded.
Thanks and regards,
Yashpal Gupta replied
check the domain of the context attribute ( se11 ) using which u r running the query ... in the defination tab lower case must be ticked . otherwise the runtime environment will convert the entered data in capital. so solution is create ur own domain and in the defination tab mark it as lower case and then use it ..
hope it will solve ur problem..