I_PRAChkInptCDEXDetail
Input CDEX Details
I_PRAChkInptCDEXDetail is a Basic CDS View that provides data about "Input CDEX Details" in SAP S/4HANA. It reads from 1 data source (oiuci_cdexd) and exposes 28 fields with key fields PRACheckInputCDEXCompany, PRACheckInputOwnerNumber, PRACheckInputCDEXCheckNumber, PRAChkInptLineNumber. It has 2 associations to related views.
SAP Help Documentation
| Category | CDS Views for Production and Revenue Accounting (PRA) |
|---|
Purpose
This CDS view is a PRA Inbound Check CDEX details that provides detailed information about CDEX file amounts, properties and dates at owner level.
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: O_OIU_TXN:ACTVT-03,O_OIU_TXN:OIU_TCODE-/PRA/CI_CDEX (Access Control for I_PRAChkInptCDEXDetail )
This CDS view is a PRA Inbound Check CDEX details that provides detailed information about CDEX file amounts, properties and dates at owner level.
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: O_OIU_TXN:ACTVT-03,O_OIU_TXN:OIU_TCODE-/PRA/CI_CDEX (Access Control for I_PRAChkInptCDEXDetail )
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiuci_cdexd | oiuci_cdexd | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PRARemitterCDEXReference | _Reference | $projection.PRACheckInputCDEXCompany = _Reference.PRACheckInputCDEXCompany and $projection.PRACheckInputOwnerNumber = _Reference.PRACheckInputOwnerNumber |
| [0..1] | I_PRAProductCDEXReference | _ProductReference | $projection.PRACheckInputCDEXCompany = _ProductReference.PRACheckInputCDEXCompany and $projection.CDEXProductCode = _ProductReference.CDEXProductCode |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Input CDEX Details | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.sapObjectNodeType.name | PRAInboundCheckCDEXDetail | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PRACheckInputCDEXCompany | co_no | CDEX Company | |
| KEY | PRACheckInputOwnerNumber | own_no | Owner Number | |
| KEY | PRACheckInputCDEXCheckNumber | ck_no | Check # | |
| KEY | PRAChkInptLineNumber | line_no | Parameter line | |
| PRACheckInputPropertyLeaseCode | lease_code | Lease code | ||
| PRAChkInptProdnFrmDteVal | prod_from_dt | Prod From Date | ||
| PRAChkInptProdnToDteVal | prod_to_dt | Prod To Date | ||
| CDEXProductCode | pd_cd | Product code | ||
| PRAChkInputTransactionCodeOne | tran_code_1 | Tran Cd 1 | ||
| PRAChkInputTransactionCodeTwo | tran_code_2 | Tran Cd 2 | ||
| PRAChkInptLeaseGrossVolVal | lse_gr_vol | Lse Gr Vol | ||
| PRALeaseGrssSvrncTaxAmount | lse_gr_sev | Lse Gr Sev | ||
| PRALeaseNetValueAmount | lse_net_val | Lse Net | ||
| PRAChrgReimbmtTaxLeaseGrossAmt | lse_gr_crwpt | Lse Gr C/R/WPT | ||
| PRAOwnerNetValueAmount | own_net_val | Own Net | ||
| PRAChrgReimbmtTaxOwnerAmount | own_crwpt | Own C/R/WPT | ||
| PRAChkInptTransDateValue | trans_date | Transmission Date | ||
| PRACheckInputInterestType | type_interest | Type Int | ||
| PRAIsCheckInputDecimalFlag | dec_int_fl | Decimal Flag | ||
| PRAChkInptIntrstDecimalRate | dec_int | Decimal Interest | ||
| PRACheckInputFactor | btu_fact | BTU Factor | ||
| PRAChkInptCheckPostingStatus | status | Workflow Status | ||
| PRACheckInputRejectionReason | rej_rsn_cd | Rejection Rsn | ||
| Remitter | _Reference | Remitter | Remitter | |
| CompanyCodeCurrency | ||||
| PRAProduct | _ProductReference | PRAProduct | Full Product | |
| _Reference | _Reference | |||
| _ProductReference | _ProductReference |
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_PRAChkInptCDEXDetail.
-- 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_PRAChkInptCDEXDetail AS
SELECT
co_no AS PRACheckInputCDEXCompany,
own_no AS PRACheckInputOwnerNumber,
ck_no AS PRACheckInputCDEXCheckNumber,
line_no AS PRAChkInptLineNumber,
lease_code AS PRACheckInputPropertyLeaseCode,
prod_from_dt AS PRAChkInptProdnFrmDteVal,
prod_to_dt AS PRAChkInptProdnToDteVal,
pd_cd AS CDEXProductCode,
tran_code_1 AS PRAChkInputTransactionCodeOne,
tran_code_2 AS PRAChkInputTransactionCodeTwo,
lse_gr_vol AS PRAChkInptLeaseGrossVolVal,
lse_gr_sev AS PRALeaseGrssSvrncTaxAmount,
lse_net_val AS PRALeaseNetValueAmount,
lse_gr_crwpt AS PRAChrgReimbmtTaxLeaseGrossAmt,
own_net_val AS PRAOwnerNetValueAmount,
own_crwpt AS PRAChrgReimbmtTaxOwnerAmount,
trans_date AS PRAChkInptTransDateValue,
type_interest AS PRACheckInputInterestType,
dec_int_fl AS PRAIsCheckInputDecimalFlag,
dec_int AS PRAChkInptIntrstDecimalRate,
btu_fact AS PRACheckInputFactor,
status AS PRAChkInptCheckPostingStatus,
rej_rsn_cd AS PRACheckInputRejectionReason,
_Reference.Remitter AS Remitter,
_Reference._CompanyCode.Currency AS CompanyCodeCurrency,
_ProductReference.PRAProduct AS PRAProduct
FROM oiuci_cdexd
LEFT OUTER JOIN I_PRARemitterCDEXReference AS _Reference ON PRACheckInputCDEXCompany = _Reference.PRACheckInputCDEXCompany AND PRACheckInputOwnerNumber = _Reference.PRACheckInputOwnerNumber -- association [0..1]
LEFT OUTER JOIN I_PRAProductCDEXReference AS _ProductReference ON PRACheckInputCDEXCompany = _ProductReference.PRACheckInputCDEXCompany AND CDEXProductCode = _ProductReference.CDEXProductCode -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA