I_BusPartMaritalStatus

DDL: I_BUSPARTMARITALSTATUS SQL: IPBMARITALST Type: view BASIC Package: MDC_BUPA_BO

BUPA Marital Status

I_BusPartMaritalStatus (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

BusinessPartnerMaritalStatus · Database & Data Management

I_BusPartMaritalStatus is a Basic CDS View that provides data about "BUPA Marital Status" in SAP S/4HANA. It reads from 1 data source (tb027) and exposes 2 fields with key field MaritalStatus. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F7204A, ASQL_F7205A). Part of development package MDC_BUPA_BO.

SAP Help Documentation

CategoryCDS Views for Business Partner
StatusMarital Status of Business Partner
Purpose
This CDS view is designed to retrieve and display the marital status of business partners. This CDS view provides the data to answer the following business questions: What is the marital status of a specific business partner? How can we display the descriptive text for each marital status code?

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description MaritalStatus Marital Status of Business Partner

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessDatabase & Data Management
Application ComponentAP-MD-BP-RAP
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageDatabase and Data Management for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view is designed to retrieve and display the marital status of business partners.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What is the marital status of a specific business partner?</p></li> <li><p>How can we display the descriptive text for each marital status code?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
tb027 tb027 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BusPartMaritalStatusText _Text $projection.MaritalStatus = _Text.MaritalStatus

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IPBMARITALST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey MaritalStatus view
ObjectModel.sapObjectNodeType.name BusinessPartnerMaritalStatus view
ObjectModel.modelingPattern #NONE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label BUPA Marital Status view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F7204A ASQL_F7204A C2 NOT_RELEASED
ASQL_F7205A ASQL_F7205A C2 NOT_RELEASED

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MaritalStatus marst Marital Status of Business Partner
_Text _Text

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_BusPartMaritalStatus.
-- 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.
-- SQL view name: IPBMARITALST

CREATE VIEW I_BusPartMaritalStatus AS
SELECT
  marst AS MaritalStatus
FROM tb027
LEFT OUTER JOIN I_BusPartMaritalStatusText AS _Text ON MaritalStatus = _Text.MaritalStatus  -- association [0..*]
;