Our customer (on EHP minus 1) decided on a multi country implementation of MSS Add-on 1.0 with a unique requirement that a single portal role has to be assigned to Managers (irrespective of country) and a single role for employees across the globe

.

In this scenario, we try to set visibility of fields available in MSS Short Profile based on parameters defined by the customer. For eg: Job Code of Blue collar workers should be not visible to managers in Nordics.

Standard Code hides fields with no values in it, we decided to leverage the existing functionality. First Step would be in enabling the Hide checkbox for the fields you require visibility control in V_T77TMCDRCNFFLD_GRP

/wp-content/uploads/2015/06/1_725330.png



In WD Component: HRTMC_SHORT_PROFILE, View: V_MAIN and Method: WDDOMODIFYVIEW, enhancements needs to done to standard source.

/wp-content/uploads/2015/06/2_725331.png



Placing a break as shown:

/wp-content/uploads/2015/06/3_725332.png



For any field, for eg: SAP_PA_BIRTHDATE, clear the value of the field from LS_FIELD_VALUE.

/wp-content/uploads/2015/06/5_725339.png



Field is hidden as shown in HRTMC_SHORT_PROFILE.

/wp-content/uploads/2015/06/7_725341.png



To report this post you need to login first.