Skip to Content
0
Oct 05, 2012 at 08:11 AM

Disable the some fields in account in webUI

28 Views

Hi all,

I need to disable the some fields in Accounts. After search the account user select the account id , try to change the street /house Numnber,Postal code.

Now we need those fields Display mode if that account BP role is belong to some Z-BP ROLE.

here I am writing the logic below in View Html Page.

CL_BSP_DLC_CONFIG_UTIL=>ADV_CONF_META_TO_TABLE( exporting IR_VIEW_DESCR = lv_view_desc
IV_ADV_CONF_META_XML = lv_xml_inp
Importing ET_ADV_CONF = it_adv_conf ).

it_adv_conf This internal table contains the field DISPALY_ONLY , I modfied the internal with that field and passing to below method .

CL_BSP_DLC_CONFIG_UTIL=>ADV_CONF_TABLE_TO_META( exporting IT_ADV_CONF = it_adv_conf
IR_VIEW_DESCR = lv_view_desc
importing EV_ADV_CONF_META_XML = lv_xml ).

Even though those fields are not coming in Display mode. Do I need to add anything in XML or not.

Regards.,

Ajayram