| <?xml version="1.0" encoding="utf-8" ?> | 
| <SAP> | 
|     <Functions> | 
|         <Function Definition = "USER GET" FunctionName="BAPI_USER_GET_DETAIL" OutStructure = "" Key ="USERNAME" X500 ="CN"> | 
|             <Mapping> | 
|                 <Data ParameterName = "USERNAME" PropertyName = "BNAME" /> | 
|             </Mapping> | 
|         </Function> | 
|         <Function Definition = "USER SET" FunctionName="BAPI_USER_CHANGE" OutStructure ="" Key ="USERNAME" X500 ="CN"> | 
|             <Mapping> | 
|                 <Data ParameterName = "USERNAME" PropertyName = "BNAME" /> | 
|             </Mapping> | 
|         </Function> | 
|         <Function Definition = "USER DEL" FunctionName="BAPI_USER_DELETE" OutStructure ="" Key ="USERNAME" X500 ="CN"> | 
|             <Mapping> | 
|                 <Data ParameterName = "USERNAME" PropertyName = "BNAME" /> | 
|             </Mapping> | 
|         </Function> | 
|         <Function Definition = "USER PROFILE SET" FunctionName="BAPI_USER_PROFILES_ASSIGN" OutStructure ="" Key ="USERNAME" X500 ="CN"> | 
|             <Mapping> | 
|                 <Data ParameterName = "USERNAME" PropertyName = "BNAME" /> | 
|                 <Data ParameterName = "BAPIPROF~BAPIPROF" PropertyName = "$Value$" /> | 
|             </Mapping> | 
|         </Function> | 
|         <Function Definition = "BWProfileAdd" FunctionName="/VIAENET/SAPHR_RSECUSERAUT_ADD" OutStructure ="" Key ="ZUSRNAME,ZHIER" X500 ="CN,OU"> | 
|             <Mapping> | 
|                 <Data ParameterName = "ZUSRNAME" PropertyName = "UNAME" /> | 
|                 <Data ParameterName = "ZHIER" PropertyName = "AUTH" /> | 
|             </Mapping> | 
|         </Function> | 
|         <Function Definition = "BWProfileDel" FunctionName="/VIAENET/SAPHR_RSECUSERAUT_DEL" OutStructure ="" Key ="ZUSRNAME,ZHIER" X500 ="CN,OU"> | 
|             <Mapping> | 
|                 <Data ParameterName = "ZUSRNAME" PropertyName = "UNAME" /> | 
|                 <Data ParameterName = "ZHIER" PropertyName = "AUTH" /> | 
|             </Mapping> | 
|         </Function> | 
|         <Function Definition = "BWProfileDelFkt" FunctionName="/VIAENET/SAPHR_RSECUSERAUT_DEL" OutStructure ="" Key ="ZUSRNAME,ZHIER" X500 ="CN,OU"> | 
|             <Mapping> | 
|                 <Data ParameterName = "ZUSRNAME" PropertyName = "BNAME" /> | 
|                 <Data ParameterName = "ZHIER" PropertyName = "$VALUE$" /> | 
|             </Mapping> | 
|         </Function> | 
|         <Function Definition = "BWProfileAddFkt" FunctionName="/VIAENET/SAPHR_RSECUSERAUT_ADD" OutStructure ="" Key ="ZUSRNAME,ZHIER" X500 ="CN,OU"> | 
|             <Mapping> | 
|                 <Data ParameterName = "ZUSRNAME" PropertyName = "BNAME" /> | 
|                 <Data ParameterName = "ZHIER" PropertyName = "$VALUE$" /> | 
|             </Mapping> | 
|         </Function> | 
|     </Functions> | 
|     <Tables> | 
|         <TABLE Definition = "TUZUS-Table" TableName="TUZUS" Key="SONDERVERS" X500="CN" SQL="LANGU = sy-langu" Load="SONDERVERS,TEXTSVERS" /> | 
|         <TABLE Definition = "USR05-Table" TableName="USR05" Key="BNAME,PARID" X500="CN,OU" SQL="MANDT = '$MANDT$'" Load="BNAME,PARID,PARVA"> | 
|             <Mapping> | 
|                 <Data ParameterName = "$BNAME$" PropertyName = "BNAME" /> | 
|                 <Data ParameterName = "$PARID$" PropertyName = "PARID" /> | 
|             </Mapping> | 
|         </TABLE> | 
|         <TABLE Definition = "USR04-Table" TableName="USR04" Key="BNAME,MANDT" X500="CN,OU" SQL="MANDT = sy-mandt" Load="" /> | 
|         <TABLE Definition = "RSECUSERAUTH-Table" TableName="RSECUSERAUTH" Key="UNAME,AUTH" X500="CN,OU" SQL="" Load="" /> | 
|         <TABLE Definition = "RSECUSERAUTH-SingleUser" TableName="RSECUSERAUTH" Key="AUTH" X500="CN" SQL="UNAME = '$BNAME$'" Load=""> | 
|             <Mapping> | 
|                 <Data ParameterName = "$BNAME$" PropertyName = "BNAME" /> | 
|             </Mapping> | 
|         </TABLE> | 
|     </Tables> | 
|     <SAPExtendedSchematypes> | 
|         <SAPExtendedSchematype Bem = "M:N, add/del - funktion" Name = "BWUserInBWP" DisplayPattern="%UNAME% - %AUTH%" ListObjectsDefinition = "RSECUSERAUTH-Table" ReadObjectDefinition = "RSECUSERAUTH-Table" InsertObjectDefinition = "BWProfileAdd" DeleteObjectDefinition = "BWProfileDel" /> | 
|         <SAPExtendedSchematype Bem = "simple read only table" Name = "LicenceExtension" DisplayPattern="%SONDERVERS%" ListObjectsDefinition = "TUZUS-Table" ReadObjectDefinition ="TUZUS-Table" InsertObjectDefinition = "" WriteObjectDefinition = "" DeleteObjectDefinition = "" ParentType = "SAPSYSTEM" /> | 
|         <SAPExtendedSchematype Bem = "Test" Name = "USERFunctionTable" DisplayPattern="%BNAME% (%MANDT%)" ListObjectsDefinition = "USR05-Tabelle" ReadObjectDefinition ="USER GET" WriteObjectDefinition = "USER SET" DeleteObjectDefinition = "USER DEL" > | 
|             <Properties> | 
|                 <Property Name = "SAPBWP" Description="all the user's BW profiles" ListFunction="RSECUSERAUTH-SingleUser" AddFunction="BWProfileAddFkt" DelFunction="BWProfileDelFkt" ReplaceFunction="" IsMultivalued = "true" /> | 
|                 <Property Name = "USERPROFILE" Description="all the user's profiles" ListFunction="USR04-Table" AddFunction="" DelFunction="" ReplaceFunction="USER PROFILE SET" IsMultivalued = "true" /> | 
|             </Properties> | 
|         </SAPExtendedSchematype> | 
|     </SAPExtendedSchematypes> | 
| </SAP> |