Required Fiedls Problem
There is a problem with required fields. We have two systems which one's patch level is 13 and second system's patch level is 15. In test system which has patch is 13 there is no problem about required fields. But the other test system which has patch level is 15 it says always "Please complete all required fields" error. But the field is not mandatory. I change fields mandatory status dynamically. When it is mandatory I change fields attiribute to 01. And here is complete code:
DATA: l_view_controller TYPE REF TO if_wd_view_controller, l_messages TYPE STANDARD TABLE OF t_check_result_message. l_view_controller = wd_this->wd_get_api( ). cl_wd_dynamic_tool=>check_mandatory_attr_on_view( EXPORTING view_controller = l_view_controller IMPORTING messages = l_messages ).
Implement note 1228965.