on 11-23-2009 10:01 AM
Hi Experts,
I need help in ABAP Web Dynpro Table. I have a table where multiple line item rows are there.
In each row there is a input text field to enter the quantity. Usually the the user would not click the lead selection and enter the field value. The user would enter the value in any of the rows, but the lead selection will not change accordingly. therefore the validation will not work properly.
Kindly guide me the way.
Regards,
Nitin.
HI,
Have you got any buttons in teh view...yes you are right..One thing you do..do all the validations in the button handler...
Or else..
There is a context change log right....In teh modufyview...try to usethis change log method and throw the error....
But this would be tedious...
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have any button in the view,suppose like save or before leaving that particular view ypu can do the validations.
if you have a button.
What you can do is ,on action handler of button
Read the table and loop through it and do the validations.
CALL METHOD lo_nd_sap_prj_experience->get_static_attributes_table
IMPORTING
table = lt_sap_prj_experience.
LOOP AT lt_sap_prj_experience INTO ls_sap_prj_experience .
If ls_sap_prj_experience-data is ''. "write your condition here.
CALL METHOD lo_message_manager->report_error_message
EXPORTING
message_text = mesg.
Endif.
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.