Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

EhP5 WDA ESS: Not able to marke fields as mandatory

$
0
0

Hello Community,

 

currently I am customizing WDA ESS Scenarios on EhP5. I added some new fields in the method IF_FPM_GUIBB_FORM~GET_DEFINITION of the feeder class for the scenario.

 

The method has also an EXPORTING Parameter for the field descriptions (ET_FIELD_DESCRIPTION).

The table line is structure of FPMGB_T_FORMFIELD_DESCR and I did the following to mark some fields as 'mandatory':

 

   

READ TABLE et_field_description WITH KEY name = 'STRAS' ASSIGNING <fs_wa_mand_field>.  <fs_wa_mand_field>-MANDATORY = abap_true.  READ TABLE et_field_description WITH KEY name = 'PSTLZ' ASSIGNING <fs_wa_mand_field>.  <fs_wa_mand_field>-MANDATORY = abap_true.  READ TABLE et_field_description WITH KEY name = 'ORT01' ASSIGNING <fs_wa_mand_field>.  <fs_wa_mand_field>-MANDATORY = abap_true.  READ TABLE et_field_description WITH KEY name = 'ZZ_CITY_CODE' ASSIGNING <fs_wa_mand_field>.  <fs_wa_mand_field>-MANDATORY = abap_true.  READ TABLE et_field_description WITH KEY name = 'MELDEZETTEL' ASSIGNING <fs_wa_mand_field>.  <fs_wa_mand_field>-MANDATORY = abap_true.

 

Now I expect, that the fields on the ESS scenario would have a red asterisk. But I am also able to save the data with not entering all neccessary data.

 

What I have to do, to mark the fields as mandatory?

 

Thank you and best regards, Christian


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>