P_BkPaytBatchPayingCoCode

DDL: P_BKPAYTBATCHPAYINGCOCODE SQL: PBPBPCC Type: view CONSUMPTION

P_BkPaytBatchPayingCoCode is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (C_MntrPaymentHouseBankAccount) and exposes 4 fields with key field BatchUUID.

Data Sources (1)

SourceAliasJoin Type
C_MntrPaymentHouseBankAccount C_MntrPaymentHouseBankAccount from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PBPBPCC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY BatchUUID BatchUUID Target Grp GUID
NumberOfCompanyCodes
PayingCompanyCode
_CompanyCodeName _CompanyCodeName

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_BkPaytBatchPayingCoCode.
-- 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: PBPBPCC

CREATE VIEW P_BkPaytBatchPayingCoCode AS
SELECT
  BatchUUID,
  count(distinct PayingCompanyCode) AS NumberOfCompanyCodes,
  cast(max(PayingCompanyCode) as farp_bnk_com_dzbukr) AS PayingCompanyCode
FROM C_MntrPaymentHouseBankAccount
;