P_CO_DIANItemType

DDL: P_CO_DIANITEMTYPE Type: view CONSUMPTION

P_CO_DIANItemType is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_CO_DIANItemType, P_CO_DIANCoCodeByAcctgDocType) and exposes 6 fields with key fields CO_DIANReportFormat, CO_DIANReportItemType, CompanyCode, AccountingDocumentType, ValidityStartDate.

Data Sources (2)

SourceAliasJoin Type
I_CO_DIANItemType DIANItemType from
P_CO_DIANCoCodeByAcctgDocType P_CO_DIANCoCodeByAcctgDocType inner

Parameters (3)

NameTypeDefault
P_CO_DIANReportFormat ficodian_report_format
P_ValidityStartDate fis_budat_from
P_ValidityEndDate fis_budat_to

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCODIANITEMTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CO_DIANReportFormat I_CO_DIANItemType CO_DIANReportFormat Report Format
KEY CO_DIANReportItemType I_CO_DIANItemType CO_DIANReportItemType Item Type
KEY CompanyCode CoCodeByAcctgDocType CompanyCode Receiver Company Code
KEY AccountingDocumentType CoCodeByAcctgDocType AccountingDocumentType Journal Entry Type
KEY ValidityStartDate I_CO_DIANItemType ValidityStartDate Validity Start Date
ValidityEndDate I_CO_DIANItemType ValidityEndDate ValidTo

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_CO_DIANItemType.
-- 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.
-- Parameters: P_CO_DIANReportFormat : ficodian_report_format, P_ValidityStartDate : fis_budat_from, P_ValidityEndDate : fis_budat_to

CREATE VIEW P_CO_DIANItemType AS
SELECT
  DIANItemType.CO_DIANReportFormat AS CO_DIANReportFormat,
  DIANItemType.CO_DIANReportItemType AS CO_DIANReportItemType,
  CoCodeByAcctgDocType.CompanyCode AS CompanyCode,
  CoCodeByAcctgDocType.AccountingDocumentType AS AccountingDocumentType,
  DIANItemType.ValidityStartDate AS ValidityStartDate,
  DIANItemType.ValidityEndDate AS ValidityEndDate
FROM I_CO_DIANItemType AS DIANItemType
INNER JOIN P_CO_DIANCoCodeByAcctgDocType ON /* join condition not captured in parsed metadata */
;