on 08-04-2011 12:41 PM
Hi Experts,
I am having a view having 3 tabs. I need to do mandatory input field check for a specific Payment tab of
the view. While i am using cl_wd_dynamic_tool=>check_mandatory_attr_on_view the program checks for all
mandatory input of the view. But i want to restrict the program to do mandatory input field check for th ePayment tab.
Please help.
Thanks in advance.
Nikita
Hi Nikitha,
Try by checking for that input field as mandatory and check it will go to that tab or not.
You can do like this also, you use REPORT_ATTRIBUTE_ERROR_MESSAGE for that input field
and raise error message it is initial and check. might it helps.
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
use the same concept for another input field also,
use multiple if condition, if you want to check in multiple action means create the logic inside of method then reuse the method.
e.g
create a method inside of view / component controller method tab->create a method copy and paste the same logic inside of this
call the method where you want there.
if attribute is not initial.
Report_attribute error.
endform.
n times you want.
Regards,
Srini.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.