P_RU_ExprtConfRegItem1
RCD items
P_RU_ExprtConfRegItem1 is a Consumption CDS View that provides data about "RCD items" in SAP S/4HANA. It reads from 1 data source (I_RU_ExprtConfRegRptItem) and exposes 31 fields. It has 5 associations to related views. Part of development package GLO_FIN_IS_VAT_RU_EXP_CONF_REG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RU_ExprtConfRegRptItem | RegisterItems | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_OperationalAcctgDocItem | _BusinessPartnerItem | _BusinessPartnerItem.CompanyCode = TaxTransfDocument.CompanyCode and _BusinessPartnerItem.BillingDocument = CCDSubItemData.BillingDocument and _BusinessPartnerItem.FinancialAccountType = 'D' |
| [1..1] | I_JournalEntry | _AccountingDocument | $projection.CompanyCode = _AccountingDocument.CompanyCode and $projection.TaxTransferDocument = _AccountingDocument.AccountingDocument and $projection.FiscalYear = _AccountingDocument.FiscalYear |
| [1..1] | I_ProductDescription | _MaterialDescription | $projection.Material = _MaterialDescription.Product |
| [1..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [1..1] | I_DeliveryDocument | _DeliveryDocument | $projection.Delivery = _DeliveryDocument.DeliveryDocument |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRUREGITEM1 | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| EndUserText.label | RCD items | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| VATReturnOperation | I_RU_ExprtConfRegRptItem | VATReturnOperation | Operation Code | |
| CompanyCode | TaxTransfDocument | CompanyCode | Receiver Company Code | |
| TaxTransferDocument | TaxTransfDocument | TaxTransferDocument | Document Number | |
| FiscalYear | TaxTransfDocument | FiscalYear | G/L Fiscal Year | |
| TaxCode | TaxTransfDocument | TaxCode | Tax Code | |
| CustomsDeclaration | TaxTransfDocument | CustomsDeclaration | Cus. Decl. No. | |
| CustomsDeclarationItem | TaxTransfDocument | CustomsDeclarationItem | ||
| CustomsDeclarationSubitem | TaxTransfDocument | CustomsDeclarationSubitem | Subitem Number | |
| CustomsOffice | CCDHeaderData | CustomsOffice | ||
| RU_RegistrationInvoiceDate | CCDHeaderData | RU_RegistrationInvoiceDate | ||
| CustomsDeclarationExtNmbr | CCDHeaderData | CustomsDeclarationExtNmbr | ||
| Customer | CCDHeaderData | Customer | Sold-to Party | |
| BPCustomerName | _Customer | BPCustomerName | Name of Customer | |
| RU_TransportationType | CCDHeaderData | RU_TransportationType | ||
| RU_TranspDocumentType | CCDHeaderData | RU_TranspDocumentType | ||
| CommodityCode | CCDItemData | CommodityCode | Commodity Code | |
| Material | CCDItemData | Material | Vehicle Model | |
| MaterialDesc | _MaterialDescription | ProductDescription | Description | |
| Delivery | CCDSubItemData | Delivery | Delivery Status | |
| DeliveryDate | _DeliveryDocument | DeliveryDate | Delivery Date | |
| Quantity | CCDSubItemData | Quantity | Value | |
| SalesUnit | CCDSubItemData | SalesUnit | Unit | |
| ExportConfirmationHeaderDate | CCDHeaderData | ExportConfirmationHeaderDate | ||
| ExportConfirmationSubitemDate | CCDSubItemData | ExportConfirmationSubitemDate | Export Confirm. Date | |
| BillingDocument | CCDSubItemData | BillingDocument | SD Document | |
| TaxBaseAmountInCoCodeCrcy | TaxItem | TaxBaseAmountInCoCodeCrcy | TxBaseAmt CoCodeCrcy | |
| CompanyCodeCurrency | _AccountingDocument | CompanyCodeCurrency | Local Currency | |
| TaxBaseAmountInTransCrcy | TaxItem | TaxBaseAmountInTransCrcy | Value-Added Tax | |
| TransactionCurrency | _AccountingDocument | TransactionCurrency | Transaction Currency | |
| AuthorizationGroup | _Customer | AuthorizationGroup | AuthorizGroup | |
| AssignmentReference | _BusinessPartnerItem | AssignmentReference | Assignment Reference |
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_RU_ExprtConfRegItem1.
-- 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: PRUREGITEM1
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id
CREATE VIEW P_RU_ExprtConfRegItem1 AS
SELECT
RegisterItems.VATReturnOperation AS VATReturnOperation,
TaxTransfDocument.CompanyCode AS CompanyCode,
TaxTransfDocument.TaxTransferDocument AS TaxTransferDocument,
TaxTransfDocument.FiscalYear AS FiscalYear,
TaxTransfDocument.TaxCode AS TaxCode,
TaxTransfDocument.CustomsDeclaration AS CustomsDeclaration,
TaxTransfDocument.CustomsDeclarationItem AS CustomsDeclarationItem,
TaxTransfDocument.CustomsDeclarationSubitem AS CustomsDeclarationSubitem,
CCDHeaderData.CustomsOffice AS CustomsOffice,
CCDHeaderData.RU_RegistrationInvoiceDate AS RU_RegistrationInvoiceDate,
CCDHeaderData.CustomsDeclarationExtNmbr AS CustomsDeclarationExtNmbr,
CCDHeaderData.Customer AS Customer,
_Customer.BPCustomerName AS BPCustomerName,
CCDHeaderData.RU_TransportationType AS RU_TransportationType,
CCDHeaderData.RU_TranspDocumentType AS RU_TranspDocumentType,
CCDItemData.CommodityCode AS CommodityCode,
CCDItemData.Material AS Material,
_MaterialDescription.ProductDescription AS MaterialDesc,
CCDSubItemData.Delivery AS Delivery,
_DeliveryDocument.DeliveryDate AS DeliveryDate,
CCDSubItemData.Quantity AS Quantity,
CCDSubItemData.SalesUnit AS SalesUnit,
CCDHeaderData.ExportConfirmationHeaderDate AS ExportConfirmationHeaderDate,
CCDSubItemData.ExportConfirmationSubitemDate AS ExportConfirmationSubitemDate,
CCDSubItemData.BillingDocument AS BillingDocument,
TaxItem.TaxBaseAmountInCoCodeCrcy AS TaxBaseAmountInCoCodeCrcy,
_AccountingDocument.CompanyCodeCurrency AS CompanyCodeCurrency,
TaxItem.TaxBaseAmountInTransCrcy AS TaxBaseAmountInTransCrcy,
_AccountingDocument.TransactionCurrency AS TransactionCurrency,
_Customer.AuthorizationGroup AS AuthorizationGroup,
_BusinessPartnerItem.AssignmentReference AS AssignmentReference
FROM I_RU_ExprtConfRegRptItem AS RegisterItems
LEFT OUTER JOIN I_OperationalAcctgDocItem AS _BusinessPartnerItem ON _BusinessPartnerItem.CompanyCode = TaxTransfDocument.CompanyCode AND _BusinessPartnerItem.BillingDocument = CCDSubItemData.BillingDocument AND _BusinessPartnerItem.FinancialAccountType = 'D' -- association [1..*]
LEFT OUTER JOIN I_JournalEntry AS _AccountingDocument ON CompanyCode = _AccountingDocument.CompanyCode AND TaxTransferDocument = _AccountingDocument.AccountingDocument AND FiscalYear = _AccountingDocument.FiscalYear -- association [1..1]
LEFT OUTER JOIN I_ProductDescription AS _MaterialDescription ON Material = _MaterialDescription.Product -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer -- association [1..1]
LEFT OUTER JOIN I_DeliveryDocument AS _DeliveryDocument ON Delivery = _DeliveryDocument.DeliveryDocument -- association [1..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