Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

No furthur action if "check_mandatory_attr_on_view" returns error message

Hi All,

I am using this code to check the mandatory fields in my view.

DATA:lo_view_controller type ref to if_wd_view_controller,

msg_tab type cl_wd_dynamic_tool=>t_check_result_message_tab.

lo_view_controller = wd_this->wd_get_api( ).

cl_wd_dynamic_tool=>check_mandatory_attr_on_view(

Exporting

view_controller = lo_view_controller

Importing

messages = msg_tab ).

Now i want to check if mandatory fields are not filled it should not do any furthur action. Please tell how can i achieve this.

Thanks in advance.

Regards Pranav

Former Member
Not what you were looking for? View more on this topic or Ask a question