Hi SCN,
I am looking for some help with a requirement and any direction would be much appreciated. I am on MDG7.0 SP03. (apologies for the long post)
Requirement:I would like hide all address relatedUIBBs when a user views Business Partner records which have a certain BP role IF the current user does not have display access for a specificauth object.
Example Scenario:
BP record #200001 contains the BP role XYZ.
User A has display access forauthobject A100.
User B does not have display access forauthobject A100.
User A opens the BP record via theMDGBP search screen and is able to see allUIBBs.
User B opens the BP record via theMDGBP search screen and is unable to see the address relatedUIBBs.
Any ideas how to do this or if it is possible? Is there a class and method that is re-definable which can control the visibility of displayed UIBBs?
I have been able to hide individual fields withinUIBBsvia redefining theUIBBfeeder class method ‘IF_FPM_GUIBB_FORM~GET_DATA’, however was hoping there is a better way.
Initially, I was thinking this could be achieved with a new dimension to the schema BP_ADAPTS in theCBAdimension table FPM_V_ADAPT_DIM. I added a dimension ‘Role’ with Data Element‘AGR_NAME’ and set the index to ‘50’ (meaning it should take priority), but theCBAwas always triggered – it did not matter if the user had the role or not. Also, this would not take into account if the BP record contains BP role XYZ.
Example ofUIBBsI would like to hide.
BS_BP_ADDRESS_STD
BS_BP_ADDRESSES
BS_BP_ADDRESS_USAGES
BS_BP_ADDRESS
I’velooked at the BADIUSMD_UI_EVENT2, however as far as I am aware, this does not work inMDG7.0.
Any ideas or thoughts would be appreciated.
Thank you,
PeterMelouney