RoleAsgnBCP.xml

The roles assigned to a user are stored in the RoleAsgnBCP.xml file.

Element name Data type Length Mandatory Key Notes
RoleName String 255 Yes Foreign Role Name and Role Type present in the RoleBCP.xml file.
UserName String 180 Yes Foreign User Name present in the PrincipalBCP.xml file.
ValidFromTS DateTime Yes Default to 1900-01-01T00:00:00
ValidToTS DateTime Yes Default to 1900-01-01T00:00:00
DirectIndirectFlag String 1 Yes
  • D = Direct assignment
  • I = Indirect assignment

By default, non-SAP applications must set value to direct assignment if they don’t have role hierarchy (roles within roles).

The User-Role assignment is important for IRC to establish the relationship between the user and the assigned roles.

This example shows how to generate the RoleAsgnBCP.xml for the non-SAP applications.

RoleAsgnBCP.xml