P_TH_CustomerBranchCode

DDL: P_TH_CUSTOMERBRANCHCODE Type: view_entity BASIC

Thailand Customer Branch Code Details

P_TH_CustomerBranchCode is a Basic CDS View that provides data about "Thailand Customer Branch Code Details" in SAP S/4HANA. It reads from 1 data source (fitha_pbupl_d) and exposes 4 fields with key fields Customer, BranchCode.

Data Sources (1)

SourceAliasJoin Type
fitha_pbupl_d fitha_pbupl_d from

Annotations (8)

NameValueLevelField
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_ALLOWED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
EndUserText.label Thailand Customer Branch Code Details view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Customer kunnr Stock customer
KEY BranchCode j_1tpbupl Branch Code
IsParameter default_branch Default Branch
AddressID addrnumber Address Number

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 P_TH_CustomerBranchCode.
-- 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 P_TH_CustomerBranchCode AS
SELECT
  kunnr AS Customer,
  j_1tpbupl AS BranchCode,
  default_branch AS IsParameter,
  addrnumber AS AddressID
FROM fitha_pbupl_d
;