Skip to Content

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

Required Fiedls Problem

Hi all,

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 ).

Former Member
Former Member replied

Implement note 1228965.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question