I_BR_BusinessPlace_C

DDL: I_BR_BUSINESSPLACE_C SQL: IBRBUSINESPLACEC Type: view COMPOSITE

Brazil Nota Fiscal Business Place

I_BR_BusinessPlace_C is a Composite CDS View that provides data about "Brazil Nota Fiscal Business Place" in SAP S/4HANA. It reads from 1 data source (I_BR_BusinessPlace) and exposes 14 fields with key fields AddressID, CompanyCode, Branch. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_BR_BusinessPlace NFBusinessPlace from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_AddressDefaultRepresentation _Address _Address.AddressID = $projection.AddressID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IBRBUSINESPLACEC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Brazil Nota Fiscal Business Place view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY AddressID I_BR_BusinessPlace AddressID Ship-to address
KEY CompanyCode I_BR_BusinessPlace CompanyCode Receiver Company Code
KEY Branch I_BR_BusinessPlace Branch Repository branch
BR_SUFRAMACode I_BR_BusinessPlace BR_SUFRAMACode Suframa Code
BusinessPlaceName I_BR_BusinessPlace BusinessPlaceName Zone name
CityName _Address CityName Name
District _Address DistrictName District
HouseNumber _Address HouseNumber House Number
PostalCode _Address PostalCode Postal Code
StreetName _Address StreetName Text
Region _Address Region Venue Region
Country _Address Country Venue: Ctry/Reg
EmailAddress
BR_BusinessPlaceFrmtdDesc

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_BR_BusinessPlace_C.
-- 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: IBRBUSINESPLACEC

CREATE VIEW I_BR_BusinessPlace_C AS
SELECT
  NFBusinessPlace.AddressID AS AddressID,
  NFBusinessPlace.CompanyCode AS CompanyCode,
  NFBusinessPlace.Branch AS Branch,
  NFBusinessPlace.BR_SUFRAMACode AS BR_SUFRAMACode,
  NFBusinessPlace.BusinessPlaceName AS BusinessPlaceName,
  _Address.CityName AS CityName,
  _Address.DistrictName AS District,
  _Address.HouseNumber AS HouseNumber,
  _Address.PostalCode AS PostalCode,
  _Address.StreetName AS StreetName,
  _Address.Region AS Region,
  _Address.Country AS Country,
  cast(_Address._CurrentDfltEmailAddress.EmailAddress as logbr_email preserving type) AS EmailAddress,
  cast(concat_with_space(Branch, concat_with_space('-', BusinessPlaceName, 1), 1) as logbr_branchdescription) AS BR_BusinessPlaceFrmtdDesc
FROM I_BR_BusinessPlace AS NFBusinessPlace
LEFT OUTER JOIN I_AddressDefaultRepresentation AS _Address ON _Address.AddressID = AddressID  -- association [0..1]
;