I_LglCntntMBusinessPartner

DDL: I_LGLCNTNTMBUSINESSPARTNER SQL: ILCMBUSPARTNER Type: view COMPOSITE

LCM Business Partner Details

I_LglCntntMBusinessPartner is a Composite CDS View that provides data about "LCM Business Partner Details" in SAP S/4HANA. It reads from 2 data sources (I_LCMEntityTypeByBPRole, I_BusinessPartner_to_BP_Role) and exposes 28 fields with key fields BusinessPartner, BusinessPartnerRole. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_LCMEntityTypeByBPRole _LCMEntityTypeByBPRole inner
I_BusinessPartner_to_BP_Role BPRole from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_LCMEntityTypeText _LCMEntityTypeText $projection.LglCntntMEntityType = _LCMEntityTypeText.LglCntntMEntityType

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ILCMBUSPARTNER view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label LCM Business Partner Details view
VDM.viewType #COMPOSITE view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BusinessPartner_to_BP_Role BusinessPartner Issuing Authority
KEY BusinessPartnerRole I_BusinessPartner_to_BP_Role BusinessPartnerRole BP Role
LglCntntMEntityType I_LCMEntityTypeByBPRole LglCntntMEntityType Entity Type
BusinessPartnerName
CityName
PostalCode
Region
Country
StreetName
AddressPhoneNumber
EmailAddress
AuthorizationGroup I_BusinessPartner_to_BP_Role AuthorizationGroup AuthorizGroup
BusinessPartnerIsBlocked
IsBusinessPurposeCompleted
_BusinessPartner I_BusinessPartner_to_BP_Role _BusinessPartner
BusinessPartnerRoleShortName
LglCntntMEntityTypeName
DataControllerSet
DataController1
DataController2
DataController3
DataController4
DataController5
DataController6
DataController7
DataController8
DataController9
DataController10

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_LglCntntMBusinessPartner.
-- 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: ILCMBUSPARTNER

CREATE VIEW I_LglCntntMBusinessPartner AS
SELECT
  BPRole.BusinessPartner AS BusinessPartner,
  BPRole.BusinessPartnerRole AS BusinessPartnerRole,
  _LCMEntityTypeByBPRole.LglCntntMEntityType AS LglCntntMEntityType,
  BPRole._BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
  BPRole._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.CityName AS CityName,
  BPRole._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.PostalCode AS PostalCode,
  BPRole._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.Region AS Region,
  BPRole._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.Country AS Country,
  BPRole._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.StreetName AS StreetName,
  BPRole._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation._CurrentDfltLandlinePhoneNmbr.PhoneAreaCodeSubscriberNumber AS AddressPhoneNumber,
  BPRole._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation._CurrentDfltEmailAddress.EmailAddress AS EmailAddress,
  BPRole.AuthorizationGroup AS AuthorizationGroup,
  BPRole._BusinessPartner.BusinessPartnerIsBlocked AS BusinessPartnerIsBlocked,
  BPRole._BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  BPRole._BusinessPartner AS _BusinessPartner,
  _LCMEntityTypeByBPRoleText[1: Language = $session.system_language].BusinessPartnerRoleShortName AS BusinessPartnerRoleShortName,
  _LCMEntityTypeText[1: Language = $session.system_language].LglCntntMEntityTypeName AS LglCntntMEntityTypeName,
  BPRole._BusinessPartner.DataControllerSet AS DataControllerSet,
  BPRole._BusinessPartner.DataController1 AS DataController1,
  BPRole._BusinessPartner.DataController2 AS DataController2,
  BPRole._BusinessPartner.DataController3 AS DataController3,
  BPRole._BusinessPartner.DataController4 AS DataController4,
  BPRole._BusinessPartner.DataController5 AS DataController5,
  BPRole._BusinessPartner.DataController6 AS DataController6,
  BPRole._BusinessPartner.DataController7 AS DataController7,
  BPRole._BusinessPartner.DataController8 AS DataController8,
  BPRole._BusinessPartner.DataController9 AS DataController9,
  BPRole._BusinessPartner.DataController10 AS DataController10
FROM I_BusinessPartner_to_BP_Role AS BPRole
INNER JOIN I_LCMEntityTypeByBPRole AS _LCMEntityTypeByBPRole ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LCMEntityTypeText AS _LCMEntityTypeText ON LglCntntMEntityType = _LCMEntityTypeText.LglCntntMEntityType  -- association [0..*]
;