on 2012 Oct 05 9:11 AM
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
Hi Ajayram,
Did you pass the final XML to the CTMLB Tag as below?
<chtmlb:config xml = "<%= lv_xml %>"
mode = "RUNTIME" />
As per him the XML is encoded and needs to be decoded. Check the block of code at the end.
http://scn.sap.com/docs/DOC-29342
Regards
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
33 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.