I_USER

CDS View

User

I_USER is a CDS View in S/4HANA. User. It contains 6 fields. 123 CDS views read from this table.

CDS Views using this table (123)

ViewTypeJoinVDMDescription
/DCO/I_TechnicalUserVH view_entity from COMPOSITE Technical Users
/DCO/I_UserContactCard view_entity from BASIC Contact Card
/IWBEP/CDS_I_User_Email view_entity from Email address of a user
/ltb/aifm_i_user view_entity from AI Mapping User Description
/LTB/I_MC_ACTIVITY_DETAIL_LIST view left_outer The activity details of MC
/ltb/i_mc_pe_ana_user view_entity from User Information
/ltb/i_mc_pe_ana_user view_entity union User Information
/LTB/I_MC_PROJ_USER view left_outer Project User
/VSCEW/I_LogUser view_entity from Log User
A_WorkPersonDetail view from CONSUMPTION Fetch work person info for Guided Buying
APS_IAM_DPP view left_outer Display Publishing Processes
APS_OM_PrintClientUser view from Print Client User
C_BdgtDocWrkFlwRcpntGrantStdVH view inner CONSUMPTION Bdgt Doc WF Grant Recipt Val Assistance
C_BillgDocDueListCreatedByVH view from CONSUMPTION Billing Document Due List Created By Value Help
C_BillgProcDocWrkFlwRcpntVH view inner CONSUMPTION Billg Proc. Doc. WF Recipient Value Help
C_BillingDocumentUserVH view from CONSUMPTION Billing Document User Value Help
C_BudgetDocWrkFlwRcpntStdVH view inner CONSUMPTION Budget Doc WF Recipient Val Assistance
C_BusEvtLogUserCntctCardVH view from CONSUMPTION Business Event Log User
C_ChgRecdWorkflowRecipientVH view inner CONSUMPTION People Picker for Change Record task processor
C_CmplncDisclUserVH view_entity from CONSUMPTION Create or Change User
C_CostAndRevenueReassgmtUserVH view_entity from CONSUMPTION Created By
C_CustomerReturnUserVH view from CONSUMPTION Customer Return User
C_DrctActivityAllocationUserVH view_entity from CONSUMPTION Created By
C_EHSSystemUserValueHelp view_entity from CONSUMPTION System user in EHS
C_EmrkdFndsWrkFlwRcpntValHelp view inner CONSUMPTION EF WorkFlow Recipient Value Assistance
C_EngagementProjectUserVH view from CONSUMPTION Engagement Project user value help
C_GrantWrkFlwRecipientVH view inner CONSUMPTION Grant WorkFlow Rcpnt Value Assistance
C_JITOutbCallCreatedByUserVH view inner CONSUMPTION Value Help for JIT Call Created by User
C_ManageJournalEntryUserVH view_entity from CONSUMPTION Manage Journal Entry User
C_MfgBusinessPartnerVH view inner CONSUMPTION Mfg Business Partner Value Help
C_MfgOperatorDetail view inner CONSUMPTION Production Operator details
C_MngJrnlEntryHistoryUserVH view_entity from CONSUMPTION Manage Journal Entry History User
C_PurchaseOrderWorkflowEmail view left_outer CONSUMPTION Purchase Order Details for Workflow Deadline Email
C_PurOrdCreatedByValHelp view from CONSUMPTION Value Help for Created By User
C_RepostCostAcctgCrtedByUserVH view_entity from CONSUMPTION Created By
C_ResvnDocumentCreatedByVH view_entity from CONSUMPTION Reservation User Filter
C_ReturnsRefDocUserValueHelp view from CONSUMPTION Returns Order Reference Document User
C_SalesDocumentUserVH view from CONSUMPTION Sales Document User
C_SalesOrderRequestUserVH view from CONSUMPTION Sales Order Request User Value Help
C_SalesPlanUserVH view from CONSUMPTION Sales Plan User Value Help
C_SituationDefinitionUserName view from CONSUMPTION Consumption view to fetch the User name
C_SlsDocWrkFlwRecipientVH view inner CONSUMPTION Sales Document Work Flow Recipient VH
C_SlsPriceWorkflowRecipientVH view inner CONSUMPTION Sales Price Workflow Recipient
C_SupplierActivityOVP view left_outer CONSUMPTION Supplier Activity Overview Page
C_UnivAllocCycVersCreatedByVH view_entity from CONSUMPTION Created By
CBC_STA_SRC_CR view left_outer BC Staging Source Customizing Requests
DHAMB_AUTH_GROUP_user view_entity from All users with auth. group assignment
F2_Mmim_User_Vh view_entity from Help-View for Users
FSCM_UsernameVH view from Suche nach Benutzernamen
GEN_RESULT_SET_W_O_MEM_COUNT view_entity left_outer Query Result Sets by Elements
GSEG_CDS_BUILDING_BLOCK_COLD view_entity left_outer Search Cold Building Blocks
GSEG_CDS_SEG_MODEL_COLD view_entity left_outer Search Cold Segmentation Models
I_APJ_USERS view from All users (OnPrem and Business Users)
I_BusEvtLogUserContactCard view_entity from COMPOSITE Business Event Log User Contact Card
I_CACorrespncHistoryUserVH view_entity from BASIC Display Correspondence User
I_CAScrtyDepRequestProcess view_entity left_outer COMPOSITE Document Process of a Specific Request
I_CAWriteOffHistoryUserVH view_entity from BASIC WriteOff History user value help
I_ContractAccountUserVH view_entity from BASIC Technical User for Contract Accounts
I_CustomCDSViewUser view from Custom CDS View User
I_DocumentInfoRecordUserVH view left_outer COMPOSITE Document Info Record User
I_DraftAdministrativeUserVH view_entity inner Draft User
I_EntProjectTeamMemberUser view_entity inner COMPOSITE EntProject Team Members and their users
I_EntProjUsrIsInRole view_entity inner COMPOSITE Ent proj where the logged in user is assigned project role
I_ExternalTaxUserIDVH view_entity from BASIC External Tax User Id
I_FinSGLRunIDUserNameVH view_entity from BASIC Search Help for Run ID users
I_InternalOrderUserVH view_entity from COMPOSITE Internal order user
I_IPUTSScpDurationUsrVH view_entity from BASIC IPUTS Scope Duration User
I_LglTransWrkflwEmlDeadLine view left_outer COMPOSITE Email Template for Workflow Deadline
I_MaterialSampleDetails view left_outer COMPOSITE CDS View for Material Sample Details
I_MatlDocUserVH view_entity from BASIC Invtry Management postings on user
I_MfgStdTxtVersCreatedByVH view from BASIC Standard Text Version Created By Value Help
I_PaymentRunPlanUserVH view_entity from TRANSACTIONAL Payment run plan user
I_PPM_TeamMemberIsInRole view inner COMPOSITE returns X, when the user is in the given ProjectRoleCateg.
I_PPM_User view from BASIC User information in table HRP1001
I_ProcmtEmployeeUserDetails view from COMPOSITE CDS view for Procurement Employee Details
I_ProcurementBusinessUser view inner BASIC Businessuser in procurement
I_ProdCmplncCntntUser view from COMPOSITE User Names for Admin Data
I_ProjectMgrOrgDet view left_outer COMPOSITE Retrieve project details for the session user
I_PurCtrUserDetails view inner BASIC User details for contract
I_RequestOwners view_entity inner Request Owners
I_SalesPlanChangeLog view left_outer COMPOSITE Sales Plan Change Log
I_SCBO2_CreatedByUser view_entity from Created By User
I_SCBO2_LastChangedByUser view_entity from Last Changed By User
I_SerialNumberHistoryUserVH view_entity from BASIC Serial Number History User
I_SLCQnaireParty view left_outer BASIC Party Referenced in Questionnaire
I_SrvcEntrShtRespUsrValueHelp view inner COMPOSITE SES Responsible User Value Help
I_SrvcMgmtCreatedByUserVH view_entity from COMPOSITE Created by User of Srvc Mgmt Value Help
I_SuplrInvcCreatedByValHelp view from COMPOSITE Supplier Invoice List Created By Value Help
I_SupplierEvalTemplateParty view left_outer BASIC Party Referenced by Evaluation Template
I_TaskOwners view_entity inner Task Owners
I_TDAUserNameDetail view_entity from BASIC User Detail
I_TrdgContrUserVH view_entity from BASIC Created By
I_UserCurrency_F2200 view from COMPOSITE User currency
I_Userdetails view from COMPOSITE Basic CDS for User Details
I_UserSettingsForDeprArea view from BASIC Depreciation Area User Default Value
I_WorkflowUser view from COMPOSITE Workflow User
P_EntProjAccCtrlListCompare view_entity inner COMPOSITE Compare old and new ACL
P_EntProjSDM2522 view_entity inner COMPOSITE SDM: Private CDS View
P_InvoiceWorkFlowRecipient view inner COMPOSITE People Picker for Manage Workflow for Supplier Invoices
P_MaterialShortageProfileUser view_entity from CONSUMPTION ShortageProfile assigned to the User
P_MfgOpActyTeamUserAssgmt view inner COMPOSITE Activities assignned to team user
P_PartyIDForMySystemUser view from COMPOSITE Determin party IDs for my user
P_PartyIDForMyUser view from COMPOSITE Determin party IDs for my user
P_PurOrdItemChgScoreHistory view left_outer CONSUMPTION Pur Ord Item Changed Score History
P_QltyBPWithUser view inner BASIC Business Partner with User
P_RetailStoreAssignableUser view inner BASIC Assignable Users per Store in Retail Store Apps
P_RSHAppUserSettingsInclDflt view from COMPOSITE App User Setting with Default values
p_sclt_user view from CLT: User info
P_StorePickingReqAuthzdUser view inner COMPOSITE Authrized users for picking app
P_UserFullName view_entity from COMPOSITE User Full Name
P_Usersetgetparamforctrlgarea view from BASIC User Set Get Parameter for Controlling Area
P_UserSettingsForCompanyCode view from BASIC P_UserSettingsForCompanyCode
P_UserSettingsForDeprArea view from BASIC P_UserSettingsForDeprArea
R_ConditionDocumentUserVH view_entity from COMPOSITE Condition Document User
R_Sitn2InstceUserName view from BASIC User Name for Situation Instance
R_Sitn2UserName view from TRANSACTIONAL Consumption view to fetch the User name
S_EPM_WF_USER view inner BASIC EPM Demo: User/Employee
s_sclt_trace_user view union Trace user
SATC_CI_CF_USER view_entity from User
SATC_CI_EXEMPTION_USER_TEXT view_entity from User Text
sycm_aps_i_user view from User information
V_Mmim_Ddl_Om_Or_Email view left_outer Output Management E-Mail
V_Mmim_Ddl_Om_Or_GR4PO_EMAIL view left_outer Output Management E-Mail GR4PO

Fields (6)

KeyField CDS FieldsUsed in Views
KEY UserID ContactCardID,TransportRequestOwner,TransportRequestTaskOwner,user_id,UserID,UserName 48
AddressID AddressID 1
AddressPersonID Person,PersonNumber 2
BusinessPartnerUUID BusinessPartnerUUID 3
IsTechnicalUser IsTechnicalUser 2
UserDescription Description,Fullname,LastChangedByUserFullName,PartyName,ResponsiblePersonFullName,UserDescription,username 29
@EndUserText.label: 'User'
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'IUSER'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl: { authorizationCheck: #PRIVILEGED_ONLY 
                , privilegedAssociations: [ '_UserAddress'
                                          , '_AddrCurDefaultEmailAddress'
                                          ]
                , personalData.blocking: #BLOCKED_DATA_EXCLUDED
                }
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.representativeKey: 'UserID'
// 1. Background information:

// Users represent either persons or technical entities.

// Cloud      Environment: Users created for persons, communication and printing are owned by the customer.

//                        All other users are owned by SAP.

// On Premise Environment: All users are owned by the customer.

//

// 2. Restrictions:

// Because any kind of user can create or change data in the system,

// fields like "CreatedByUser" or "LastChangedByUser" must refer to this entity by a "[0..1]" association

// to obtain a descriptive text of the user. 

// -> Do not assume that the target of the association exists.

// -> Do not assume that such a user always corresponds to a business partner of type person ('BP person').

//

// This view must not be exposed to end users directly, because it exposes person relevant information.

// Only use this view in the definition of context-specific consumption views as a target for the "CreatedByUser"

// and "LastChangedByUser" associations. That's why, the view definition intentionally does not contain the

// "@ObjectModel.representativeKey", "@ObjectModel.text.element" or "@Analytics..." annotations.

//

// 3. Hints/Remarks:

// For users connected to a BP person, the UserDescrition contains what was formerly known as 'Person Fullname'.

// For users having classical address (on premise only) the UserDescrition is defined by the customer.

//                In this case, it rarely contains 'Person Fullname'.

// For users without address data we differentiate between cloud and on premise environment:

// -> Cloud:      Preset  by SAP.

// -> On Premise: Defined by the customer.

//                Also here, it's quite unusual that UserDescription contains 'Person Fullname', because usually

//                there is no individual person behind it. Usually it contains a description of the purpose of

//                the technical entity.


define view I_User
  as select from usr21

  association [0..1] to I_AddrCurDefaultEmailAddress as _AddrCurDefaultEmailAddress 
                     on  usr21.persnumber = _AddrCurDefaultEmailAddress.AddressPersonID
                     and usr21.addrnumber = _AddrCurDefaultEmailAddress.AddressID   

  association [0..1] to I_UserAddress                as _UserAddress
                     on usr21.bname       = _UserAddress.UserID
{
      @ObjectModel.text.element:['UserDescription']
  key cast( usr21.bname    as vdm_userid          preserving type ) as UserID,
      @Semantics.text: true
      cast( usr21.techdesc as vdm_userdescription preserving type ) as UserDescription,
      case usr21.idadtype
        when '00' then ' '  //users having classical address (NO connection to Business Partner)

        when '02' then ' '  //users connected to a BP person

        when '03' then ' '  //users connected to a BP person with a relation to a BP Organization

        when '04' then ' '  //users connected to a BP person and have a BP workplace address

        else           'X'  //users without address data (intended for technical purposes only)

      end                                                           as IsTechnicalUser,
      _AddrCurDefaultEmailAddress,
      @Consumption.hidden:true
      @Analytics.hidden:true
      usr21.persnumber                                              as AddressPersonID,
      @Consumption.hidden:true
      @Analytics.hidden:true
      usr21.addrnumber                                              as AddressID,
      _UserAddress       
}