A_BusinessPartnerGender

DDL: A_BUSINESSPARTNERGENDER Type: view_entity CONSUMPTION Package: VDM_MD_BP_BASE

Business Partner Gender

A_BusinessPartnerGender is a Consumption CDS View that provides data about "Business Partner Gender" in SAP S/4HANA. It reads from 1 data source (I_BPGenderValueHelp) and exposes 3 fields with key field GenderCodeName. It has 1 association to related views. It is exposed through 1 OData service (API_BUSINESSPARTNERGENDER). Part of development package VDM_MD_BP_BASE.

Data Sources (1)

SourceAliasJoin Type
I_BPGenderValueHelp I_BPGenderValueHelp from

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_BusinessPartnerGenderText _Text $projection.GenderCodeName = _Text.GenderCodeName

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Business Partner Gender view
OData.entityType.name BusinessPartnerGender_Type view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
API_BUSINESSPARTNERGENDER API_BUSINESSPARTNERGENDER V4 C2 C1

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY GenderCodeName GenderCodeName Sex
GenderCodeNameText
_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 A_BusinessPartnerGender.
-- 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 A_BusinessPartnerGender AS
SELECT
  GenderCodeName,
  _Text[1:Language = $session.system_language].GenderCodeNameText AS GenderCodeNameText
FROM I_BPGenderValueHelp
LEFT OUTER JOIN A_BusinessPartnerGenderText AS _Text ON GenderCodeName = _Text.GenderCodeName  -- association [0..*]
;