R_PRAAcctgDocDeductDetailTP

DDL: R_PRAACCTGDOCDEDUCTDETAILTP Type: view_entity TRANSACTIONAL Package: OIU_RAP_REV_RAD

Revenue Accounting Deduct details - TP

R_PRAAcctgDocDeductDetailTP is a Transactional CDS View that provides data about "Revenue Accounting Deduct details - TP" in SAP S/4HANA. It reads from 1 data source (I_PRAAcctgDocDeductDetail) and exposes 15 fields with key fields CompanyCode, PRAAccountingPeriod, AccountingDocument, PRAAccountingDocumentLine, DeductionType. It has 1 association to related views. Part of development package OIU_RAP_REV_RAD.

Data Sources (1)

SourceAliasJoin Type
I_PRAAcctgDocDeductDetail I_PRAAcctgDocDeductDetail from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_PRAAccountingDocumentHdrTP _PRAAccountingDocumentHeader $projection.CompanyCode = _PRAAccountingDocumentHeader.CompanyCode and $projection.PRAAccountingPeriod = _PRAAccountingDocumentHeader.PRAAccountingPeriod and $projection.AccountingDocument = _PRAAccountingDocumentHeader.AccountingDocument

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Revenue Accounting Deduct details - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
OData.entityType.name DeductDetail_Type view
OData.entitySet.name DeductDetail view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name PRARevnAcctgDocItmDeductItms view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY PRAAccountingPeriod PRAAccountingPeriod
KEY AccountingDocument AccountingDocument Journal Entry
KEY PRAAccountingDocumentLine PRAAccountingDocumentLine Parameter line
KEY DeductionType DeductionType Other Deduction
OtherDeductionAmount OtherDeductionAmount Oth Deduct
CompanyCodeCurrency CompanyCodeCurrency Local Currency
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
ChangedDateTime ChangedDateTime Time Stamp
_CompanyCode _CompanyCode
_DeductionType _DeductionType
_PRAAcctgDocDetail _PRAAcctgDocDetail
_PRAAccountingDocumentHeader _PRAAccountingDocumentHeader

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 R_PRAAcctgDocDeductDetailTP.
-- 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 R_PRAAcctgDocDeductDetailTP AS
SELECT
  CompanyCode,
  PRAAccountingPeriod,
  AccountingDocument,
  PRAAccountingDocumentLine,
  DeductionType,
  OtherDeductionAmount,
  CompanyCodeCurrency,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  ChangedDateTime
FROM I_PRAAcctgDocDeductDetail
LEFT OUTER JOIN R_PRAAccountingDocumentHdrTP AS _PRAAccountingDocumentHeader ON CompanyCode = _PRAAccountingDocumentHeader.CompanyCode AND PRAAccountingPeriod = _PRAAccountingDocumentHeader.PRAAccountingPeriod AND AccountingDocument = _PRAAccountingDocumentHeader.AccountingDocument  -- association [1..1]
;