I_PRAIntrstDetAcctgDoc

DDL: I_PRAINTRSTDETACCTGDOC Type: view BASIC Package: OIU_VDM_CDS

PRA Interest Calc detail RAD documents

I_PRAIntrstDetAcctgDoc is a Basic CDS View that provides data about "PRA Interest Calc detail RAD documents" in SAP S/4HANA. It reads from 1 data source (/pra/int_dtl_doc) and exposes 9 fields with key field PRAIntrstRevnAcctgDocLinkUUID. It has 1 association to related views. Part of development package OIU_VDM_CDS.

Data Sources (1)

SourceAliasJoin Type
/pra/int_dtl_doc /pra/int_dtl_doc from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PRAAcctgDocDetail _PRAAcctgDocDetail $projection.CompanyCode = _PRAAcctgDocDetail.CompanyCode and $projection.PRAAccountingPeriod = _PRAAcctgDocDetail.FiscalPeriod and $projection.AccountingDocument = _PRAAcctgDocDetail.AccountingDocument and $projection.ValnDocAcctgItem = _PRAAcctgDocDetail.AccountingDocumentItem

Annotations (11)

NameValueLevelField
EndUserText.label PRA Interest Calc detail RAD documents view
AbapCatalog.sqlViewName IINTCALRADDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PRAIntrstRevnAcctgDocLinkUUID int_doc_link_guid ReferenceDocLink
PRAInterestCalcDetailUUID int_dtl_link_guid InterestDetailsGUID
ProcessRun run_id UUID
CompanyCode Value
PRAAccountingPeriod Acct Period
AccountingDocument doc_no Posted Doc. No.
ValnDocAcctgItem line_no Parameter line
PRAInterestCalculationStatus status Workflow Status
_PRAAcctgDocDetail _PRAAcctgDocDetail

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_PRAIntrstDetAcctgDoc.
-- 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 I_PRAIntrstDetAcctgDoc AS
SELECT
  int_doc_link_guid AS PRAIntrstRevnAcctgDocLinkUUID,
  int_dtl_link_guid AS PRAInterestCalcDetailUUID,
  run_id AS ProcessRun,
  cast( bukrs as fis_bukrs preserving type ) AS CompanyCode,
  cast (acct_period as oiu_vdm_acct_period ) AS PRAAccountingPeriod,
  doc_no AS AccountingDocument,
  line_no AS ValnDocAcctgItem,
  status AS PRAInterestCalculationStatus
FROM /pra/int_dtl_doc
LEFT OUTER JOIN I_PRAAcctgDocDetail AS _PRAAcctgDocDetail ON CompanyCode = _PRAAcctgDocDetail.CompanyCode AND PRAAccountingPeriod = _PRAAcctgDocDetail.FiscalPeriod AND AccountingDocument = _PRAAcctgDocDetail.AccountingDocument AND ValnDocAcctgItem = _PRAAcctgDocDetail.AccountingDocumentItem  -- association [0..1]
;