P_CAWorklistItemCreditDebit

DDL: P_CAWORKLISTITEMCREDITDEBIT SQL: PWLCRDTDBT Type: view COMPOSITE

P_CAWorklistItemCreditDebit is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_CADocumentBPItemPhysical, I_CADocumentBPItemPhysical, I_CADocumentBPRepetitionItem) and exposes 12 fields with key fields CADocumentNumber, CABPItemNumber, CARepetitionItemNumber, CASubItemNumber, CABPItemNumber.

Data Sources (3)

SourceAliasJoin Type
I_CADocumentBPItemPhysical I_CADocumentBPItemPhysical from
I_CADocumentBPItemPhysical op union_all
I_CADocumentBPRepetitionItem opw inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PWLCRDTDBT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber CADocumentNumber Amount
KEY CABPItemNumber CABPItemNumber Item
KEY CARepetitionItemNumber CARepetitionItemNumber Repetition Item
KEY CASubItemNumber CASubItemNumber Subitem
BusinessPartner BusinessPartner Issuing Authority
TransactionCurrency TransactionCurrency Transaction Currency
CADocumentNumber Amount
KEY CABPItemNumber I_CADocumentBPItemPhysical CABPItemNumber Item
KEY CARepetitionItemNumber I_CADocumentBPRepetitionItem CARepetitionItemNumber Repetition Item
KEY CASubItemNumber I_CADocumentBPItemPhysical CASubItemNumber Subitem
BusinessPartner I_CADocumentBPItemPhysical BusinessPartner Issuing Authority
TransactionCurrency I_CADocumentBPItemPhysical TransactionCurrency Transaction Currency

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_CAWorklistItemCreditDebit.
-- 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: PWLCRDTDBT

CREATE VIEW P_CAWorklistItemCreditDebit AS
SELECT
  CADocumentNumber,
  CABPItemNumber,
  CARepetitionItemNumber,
  CASubItemNumber,
  BusinessPartner,
  TransactionCurrency
FROM I_CADocumentBPItemPhysical
INNER JOIN I_CADocumentBPRepetitionItem AS opw ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_CADocumentBPItemPhysical
;