cancel
Showing results for 
Search instead for 
Did you mean: 

required field (set by field property BADI) check if not entered

Former Member
0 Kudos

Hi, all.

I'm Derby Lim.

Set in field property BADI ( USMD_ACC_FLD_PROP_CUST_DEP_SET ) lots fields as required.

When I press check button, some(= only MATERIAL entity) fields are checked if not entered like showing following messages.

  • Material $573: Enter a value for attribute Industry sector
  • Material $573: Enter a value for attribute Material Group
  • Material $573: Enter a value for attribute EAN/UPC

Other entities' fields are not checked if not entered.

I found that It works on entities have a self key. eg. MATERIAL, CARR.

How to fix it? to works on all entities?

Would l rather add custom required field check logic in rule badi for entities that don't have a self key?

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

d024348
Employee
Employee
0 Kudos

Maybe note 2066992 helps? Not sure whether it's already translated to english, though, but the correction instructions are automatic.


Former Member
0 Kudos

Hi Derby,

you have to mark "Check Mandatory" for each UIBB to include the contained fields in the check.

Former Member
0 Kudos

If you want the UI layer to enforce the mandatory check, then, yes. You need to set this flag for every single UIBB.

However, many times, the enforcement is done in the feeder or model layer so you might not need to do it in the UIBB layer.