cancel
Showing results for 
Search instead for 
Did you mean: 

User roles in SAP Inventory Manager 4.3

0 Kudos

Hi Experts,

We are implementing SAP IM 4.3. We want to hide/show few screens based on the logged in user's role. In SAP IM 4.3 there is no CTUser complex table (like what we have in Work Manager) to download the user roles to application. I have created a complex table CTUser in IM which is similar to CTUser in WM.

I have created CTUser and CTUserStepHandler Java classes

There are few below declarations (sections) in CTUserStepHandler of WorkManagerworkmanager-6.4.1.0.jar

  • public static String HR_SECTION_NAME = "HR.USER";
  • public static String SYSTEM_COMPONENT_SECTION_NAME = "SYS.COMPONENT";
  • public static String SYS_SECTION_NAME = "SYS.USER";
  • public static String MAM_SECTION_NAME = "PM.MAM";
  • public static String ISU_SECTION_NAME = "ISU.USER";
  • public static String AGENTRY_SECTION_NAME = "AGENTRY";
  • public static String AGENTRY_PROPERTY_NAME = "PLATFORM";
  • public static String COMPONENT_SECTION_NAME = "COMPONENT";
  • protected static String COMPONENT_VERSION_NAME = "VERSION";
  • protected static String USER_PARAMETER_GROUP = "USER_PARAMETER";
  • protected static String BUSINESS_PARTNER_GROUP = "BP.CENTRAL"; protected static String GUID_GROUP = "GUID";
  • protected static String USER_GUID_NAME = "USER_GUID";

After publishing these changes I can see only below values in CTUser of IM.

In WM i can see USER_ROLE (group SYS.USER) roles in CTUser.

How can I get USER_ROLE roles downloaded to IM application ?

Regards,

Shyam

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Shyam,

In MDO SIM43_CORE_USER_PROFILE, ResultSet Field Selection, table /SYCLO/CORE_USERINFOR1OPT_STR, activate USER_ROLE.

Thanks

Resmi

0 Kudos

Hi Resmi,

I have activated USER_ROLE in ResultSet Field selection, even though user roles are not getting download to IM.

I have created CTUserStepHandler Java class for IM (copy of Work Manager's one). In debug I found below line CTUserStepHandler (of IM) is returning null list and hence user roles (other properties) are not getting downloaded into CTUser of IM.

List<SAPObject> objList = getConfigProperties(section, ctObjList.size() + 1);

Do I need to make any other configurations in IM ?

Regards,

Shyam

0 Kudos

Hi Shyam,

User profile fetch BAPI (/SYCLO/CORE_USER_PROFILE_GET) should returns all user defaults, please verify the user configuration details are retrieving correctly.

Thanks

Resmi