on 12-02-2013 7:24 AM
Hi Forum,
How to enable disable all fields under a tab at SC item. For some condition we require to disable the entire tab.
Suppose there are 2 items in SC, in item overview first item is selected , some condition is checked and all tabs at item level should be disabled, again if user select second item some condition is checked and based on it all item level tabs in Item Detail area should be enabled.
I tried to achieve this in following SPRO path
Cross-Application Basic Settings-->Extensions and Field Control (Personalization)-->Configure Field Control-->Configure Control for Fields of Substructures-->Metadata for Fields of Substructures and Table-Like Enhancements
add entry as shown in attachment...
But this works only for Account Assignment tab(Set Type 31), it does not works for item data tab(set type 06) and others.
How to achieve this?
Thanks,
Anubhav
Hi Anubhav
I think you can achieve it implementing BAdI WD_BADI_DOMODIFYVIEW
Use method CHANGE_STD_FIELDS, get the view and set attributes.
Kind regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Thanks, I tried that but it works same as post exit of WDDOMODIFYVIEW metho. The issue is once the item tab fields are deactivated these are not set to active even if the condition to deactivate is not met. I can not set the fields to active by checking for some conditions as there can be multiple conditions for item fields to be active where as only one for fields to be disabled.
Issue is why the set type meta data concept fails tabs other than Account Assignment?
Thanks,
Anubhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.