I_BusinessUserBasic
Business User Basic
I_BusinessUserBasic (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Cross Applications
I_BusinessUserBasic is a Basic CDS View that provides data about "Business User Basic" in SAP S/4HANA. It reads from 2 data sources (but000, usr21) and exposes 43 fields with key field BusinessPartner. It has 4 associations to related views.
SAP Help Documentation
| Category | CDS Views for Business User Management |
|---|
Purpose
This CDS view provides the business user related information. A business user is a natural person (as opposed to a technical user) who logs on to a system to interact with the software in the context of a business process, for example, as in the role of a purchaser. The business user is a special type of user, who is connected to a business partner. This CDS view provides the data to answer the following business questions: Who is a business user in my organization? How many business users exist in my organization? What is the basic information of a business user, such as e-mail address, person external ID or workplace address? What is the business partner ID of the business user? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: B_BUPA_GRP (Business Partner: Authorization Groups) B_BUPA_RLT (Business Partner: BP Roles)
Structure
Fields used for filtering The main optional filters are as follows: BusinessPartner used to filter for the business partner ID. LastName used to filter for the last name of a business user. FirstName used to filter for the first name of a business user. Further important fields Important fields in this view include the following: Field Name Description BusinessPartner Business partner ID (unique in one system). BusinessPartnerUUID Universally unique identifier of the business partner (unique in one system and automatically generated). LastName Last name of the business user. FirstName First name of the business user. PersonFullName For more information about the PersonFullName field, see How to Manage the Person Full Name Field for Business Users in SAP S/4HANA . UserID UserID (unique in one system). IsMarkedForArchiving Indicates that the business partner has been selected for archiving. BusinessPartnerIsBlocked Indicates that the business partner has been blocked. IsBusinessPurposeCompleted Indicates that the business purpose has been completed. AuthorizationGroup
Related Information
Simplification Item - Business User Management
This CDS view provides the business user related information. A business user is a natural person (as opposed to a technical user) who logs on to a system to interact with the software in the context of a business process, for example, as in the role of a purchaser. The business user is a special type of user, who is connected to a business partner. This CDS view provides the data to answer the following business questions: Who is a business user in my organization? How many business users exist in my organization? What is the basic information of a business user, such as e-mail address, person external ID or workplace address? What is the business partner ID of the business user? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: B_BUPA_GRP (Business Partner: Authorization Groups) B_BUPA_RLT (Business Partner: BP Roles)
Structure
Fields used for filtering The main optional filters are as follows: BusinessPartner used to filter for the business partner ID. LastName used to filter for the last name of a business user. FirstName used to filter for the first name of a business user. Further important fields Important fields in this view include the following: Field Name Description BusinessPartner Business partner ID (unique in one system). BusinessPartnerUUID Universally unique identifier of the business partner (unique in one system and automatically generated). LastName Last name of the business user. FirstName First name of the business user. PersonFullName For more information about the PersonFullName field, see How to Manage the Person Full Name Field for Business Users in SAP S/4HANA . UserID UserID (unique in one system). IsMarkedForArchiving Indicates that the business partner has been selected for archiving. BusinessPartnerIsBlocked Indicates that the business partner has been blocked. IsBusinessPurposeCompleted Indicates that the business purpose has been completed. AuthorizationGroup
Related Information
Simplification Item - Business User Management
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | BC-SRV-BUM |
| Capabilities | Association Target for Defining CDS Entities, Data Source for Defining CDS Entities |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides the business user related information. A business user is a natural person (as opposed to a technical user) who logs on to a system to interact with the software in the context of a business process, for example, as in the role of a purchaser. The business user is a special type of user, who is connected to a business partner.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Who is a business user in my organization?</p></li> <li><p>How many business users exist in my organization?</p></li> <li><p>What is the basic information of a business user, such as e-mail address, person external ID or workplace address? </p></li> <li><p>What is the business partner ID of the business user?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_User | _User | $projection.UserID = _User.UserID |
| [0..1] | I_WorkplaceAddress | _WorkplaceAddress | $projection.BusinessPartnerUUID = _WorkplaceAddress.BusinessPartnerUUID |
| [0..*] | I_BPUsrRole | _BusinessPartnerRole | $projection.BusinessPartner = _BusinessPartnerRole.BusinessPartner |
| [0..*] | I_BPUsrExternalID | _BusinessPartnerExternalID | $projection.BusinessPartner = _BusinessPartnerExternalID.BusinessPartner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Business User Basic | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | BusinessPartner | view | |
| AbapCatalog.entityBuffer.definitionAllowed | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | but000 | partner | Business Partner Number |
| BusinessPartnerUUID | but000 | partner_guid | Business Partner GUID | |
| LastName | but000 | name_last | Last Name of Business Partner (Person) | |
| FirstName | but000 | name_first | First Name of Business Partner (Person) | |
| PersonFullName | usr21 | techdesc | User Description | |
| FormOfAddress | but000 | title | Form-of-Address Key | |
| AcademicTitle | but000 | title_aca1 | Academic Title: Key | |
| AcademicSecondTitle | but000 | title_aca2 | Second academic title (key) | |
| CorrespondenceLanguage | but000 | langu_corr | Business Partner: Correspondence Language | |
| MiddleName | but000 | namemiddle | Middle name or second forename of a person | |
| AdditionalLastName | but000 | name_lst2 | Other Last Name of a Person | |
| BirthName | but000 | name_last2 | Name at birth of business partner | |
| NickName | but000 | nickname | Nickname of Business Partner (Person) | |
| Initials | but000 | initials | "Middle Initial" or personal initials | |
| LastNamePrefix | but000 | prefix1 | Name Prefix (Key) | |
| LastNameSecondPrefix | but000 | prefix2 | 2nd name prefix (key) | |
| NameSupplement | but000 | title_royl | Name supplement, e.g. noble title (key) | |
| UserID | User ID | |||
| IsMarkedForArchiving | but000 | xdele | Indicator: Production Run Data Deleted | |
| BusinessPartnerIsBlocked | but000 | xblck | Central Block for Business Partner | |
| CreatedByUser | but000 | crusr | User who created the object | |
| CreationDate | but000 | crdat | Date on which the object was created | |
| CreationTime | but000 | crtim | Time at which the object was created | |
| LastChangedByUser | but000 | chusr | Last user to change object | |
| LastChangeDate | but000 | chdat | Date when object was last changed | |
| LastChangeTime | but000 | chtim | Time at which object was last changed | |
| IsBusinessPurposeCompleted | but000 | xpcpt | Business Purpose Completed Flag | |
| AuthorizationGroup | but000 | augrp | Component of the Version Number | |
| DataControllerSet | but000 | xdcset | BP: Data Controller Set Flag | |
| DataController1 | but000 | data_ctrlr1 | BP: Data Controller (Internal Use Only) | |
| DataController2 | but000 | data_ctrlr2 | BP: Data Controller (Internal Use Only) | |
| DataController3 | but000 | data_ctrlr3 | BP: Data Controller (Internal Use Only) | |
| DataController4 | but000 | data_ctrlr4 | BP: Data Controller (Internal Use Only) | |
| DataController5 | but000 | data_ctrlr5 | BP: Data Controller (Internal Use Only) | |
| DataController6 | but000 | data_ctrlr6 | BP: Data Controller (Internal Use Only) | |
| DataController7 | but000 | data_ctrlr7 | BP: Data Controller (Internal Use Only) | |
| DataController8 | but000 | data_ctrlr8 | BP: Data Controller (Internal Use Only) | |
| DataController9 | but000 | data_ctrlr9 | BP: Data Controller (Internal Use Only) | |
| DataController10 | but000 | data_ctrlr10 | BP: Data Controller (Internal Use Only) | |
| _User | _User | |||
| _WorkplaceAddress | _WorkplaceAddress | |||
| _BusinessPartnerRole | _BusinessPartnerRole | |||
| _BusinessPartnerExternalID | _BusinessPartnerExternalID |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_BusinessUserBasic.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_BusinessUserBasic AS
SELECT
_BusinessPartner.partner AS BusinessPartner,
_BusinessPartner.partner_guid AS BusinessPartnerUUID,
_BusinessPartner.name_last AS LastName,
_BusinessPartner.name_first AS FirstName,
usr21.techdesc AS PersonFullName,
_BusinessPartner.title AS FormOfAddress,
_BusinessPartner.title_aca1 AS AcademicTitle,
_BusinessPartner.title_aca2 AS AcademicSecondTitle,
_BusinessPartner.langu_corr AS CorrespondenceLanguage,
_BusinessPartner.namemiddle AS MiddleName,
_BusinessPartner.name_lst2 AS AdditionalLastName,
_BusinessPartner.name_last2 AS BirthName,
_BusinessPartner.nickname AS NickName,
_BusinessPartner.initials AS Initials,
_BusinessPartner.prefix1 AS LastNamePrefix,
_BusinessPartner.prefix2 AS LastNameSecondPrefix,
_BusinessPartner.title_royl AS NameSupplement,
cast( usr21.bname as vdm_userid preserving type ) AS UserID,
_BusinessPartner.xdele AS IsMarkedForArchiving,
_BusinessPartner.xblck AS BusinessPartnerIsBlocked,
_BusinessPartner.crusr AS CreatedByUser,
_BusinessPartner.crdat AS CreationDate,
_BusinessPartner.crtim AS CreationTime,
_BusinessPartner.chusr AS LastChangedByUser,
_BusinessPartner.chdat AS LastChangeDate,
_BusinessPartner.chtim AS LastChangeTime,
_BusinessPartner.xpcpt AS IsBusinessPurposeCompleted,
_BusinessPartner.augrp AS AuthorizationGroup,
_BusinessPartner.xdcset AS DataControllerSet,
_BusinessPartner.data_ctrlr1 AS DataController1,
_BusinessPartner.data_ctrlr2 AS DataController2,
_BusinessPartner.data_ctrlr3 AS DataController3,
_BusinessPartner.data_ctrlr4 AS DataController4,
_BusinessPartner.data_ctrlr5 AS DataController5,
_BusinessPartner.data_ctrlr6 AS DataController6,
_BusinessPartner.data_ctrlr7 AS DataController7,
_BusinessPartner.data_ctrlr8 AS DataController8,
_BusinessPartner.data_ctrlr9 AS DataController9,
_BusinessPartner.data_ctrlr10 AS DataController10
FROM but000 AS _BusinessPartner
INNER JOIN usr21 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_User AS _User ON UserID = _User.UserID -- association [0..1]
LEFT OUTER JOIN I_WorkplaceAddress AS _WorkplaceAddress ON BusinessPartnerUUID = _WorkplaceAddress.BusinessPartnerUUID -- association [0..1]
LEFT OUTER JOIN I_BPUsrRole AS _BusinessPartnerRole ON BusinessPartner = _BusinessPartnerRole.BusinessPartner -- association [0..*]
LEFT OUTER JOIN I_BPUsrExternalID AS _BusinessPartnerExternalID ON BusinessPartner = _BusinessPartnerExternalID.BusinessPartner -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA