cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the Mandatory fields as optional

former_member610985
Participant
0 Kudos

Hi Experts,

In the SC i want to make some of the standard mandatory fields as optional fields. These fields were not created in the metadata level or WD level, these were created dynamically. But in the code it was not mentioned as mandatory fields.

Please guide me how to suppress the error messages (validation) which are raised due to this mandatory fields.

Thank you,

Arun.

Accepted Solutions (0)

Answers (6)

Answers (6)

devrajsinghr
Active Participant
0 Kudos

write a exit in wdmodify method and change the attribute of UI element at run time.

Try using method set_attribute_props_for_node of that node.

Former Member
0 Kudos

Hi Arun,

You can suppress error messages using below steps:-

  1. go to SM31 and maintain an entry for that particular message in BBPV_PDMSG table.
  2. Go to SPRO and control behavior of that entry using message influence control.

Thanks

Siddarth

Former Member
0 Kudos

Hi Arun,

This can be done by the metadata views

Former Member
0 Kudos

Hi Arun,

1) Go to SPRO->SRM Server-> Cross appliaction basic settings-> Exension and field control-> Configer field control-> Display Standart metadata tables for......

2) copy the standard configuration for the field you want to change.

3) Go to "Configure Control for Fields on Header Level" and config the same field you've copied but without the mandatory flag.

Regards,

Ronen.

Former Member
0 Kudos

Hi Arun,

Correct me if I am wrong , there are some custom fields which you created dynamically and want to suppress the error message for these fields?

If so you can suppress them via BBP_DOC_CHECK_BADI , by clearing the message from ET_messages

Regards,

Naveen

preeti_negi
Explorer
0 Kudos

Hi Arun,

In the spro metadata configuration, can you please check if the validation is done through dynamic methods.

Regards,

Preeti