星期三, 二月 13, 2008

SAP - WebDynpro - How to Check Mandatory Fields

1. Create Label , InputField , Button Component
2. Refer Label to the InputField
3. InputField selected properties status to required
4. Create Event for the Button , and copy the below code :
DATA l_view_controller TYPE REF TO if_wd_view_controller.
l_view_controller = wd_this->wd_get_api( ). cl_wd_dynamic_tool=>check_mandatory_attr_on_view( view_controller = l_view_controller ).
Reference : Note 948753

没有评论: