Hide portal custom field from a particular subtype
I need to hide a custom field on the portal side for specific subtypes but have it show for others on IT0006
What I have done:
I have tried using table V_T588MFPROPC but did not work
I have also tried to set the attribute value from BADI HRPAD00INFTYUI but did not work.
I cannot use the personalization option because the field will be hidden in all the subtypes
I have written webdynpro code as below which executes successfully with no exception or error but does not work.
IWDTransparentContainer container = (IWDTransparentContainer)view.getElement("RootUIElementContainer");
IWDAttributeInfo attrInfo = (IWDAttributeInfo)wdContext.currentSelectedInfotypeElement().getAttributePointer
What could be the problem with my code? Your assistance will be highly appreciated.