R_RU_ExprtCstmsDeclnItemDraft
Export Customs Declaration Item Draft
R_RU_ExprtCstmsDeclnItemDraft is a Basic CDS View that provides data about "Export Customs Declaration Item Draft" in SAP S/4HANA. It reads from 1 data source (j_3rs_exp_itm_d) and exposes 33 fields with key fields CustomsDeclaration, RU_ExprtCustomsDeclarationItem, CustomsDeclarationSubitem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| j_3rs_exp_itm_d | j_3rs_exp_itm_d | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RRUCCDIDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Export Customs Declaration Item Draft | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomsDeclaration | customsdeclaration | Cus. Decl. No. | |
| KEY | RU_ExprtCustomsDeclarationItem | ru_exprtcustomsdeclarationitem | CDec Item No. | |
| KEY | CustomsDeclarationSubitem | customsdeclarationsubitem | Subitem Number | |
| Material | material | Vehicle Model | ||
| RU_ContractDocument | ru_contractdocument | Contract Number | ||
| TradingContractItem | tradingcontractitem | Item Number | ||
| RU_TemporaryCustomsDeclaration | ru_temporarycustomsdeclaration | Reference CDec | ||
| RU_TmpCstmsDeclarationItem | ru_tmpcstmsdeclarationitem | Ref. CDec Item | ||
| SalesOrder | salesorder | SD Document | ||
| SalesOrderItem | salesorderitem | Sales Order Item | ||
| CstmsDeclnItemQuantity | cstmsdeclnitemquantity | CDec Item Qty | ||
| UnitOfMeasure | unitofmeasure | Unit Protected Qty | ||
| DeliveryDocument | deliverydocument | Outbound Delivery | ||
| DeliveryDocumentItem | deliverydocumentitem | Outb. Delivery Item | ||
| BillingDocument | billingdocument | SD Document | ||
| BillingDocumentItem | billingdocumentitem | Item | ||
| BillingQuantity | billingquantity | Invoiced Qty | ||
| BillingQuantityUnit | billingquantityunit | Sales Unit | ||
| ExportConfirmationSubitemDate | exportconfirmationsubitemdate | Export Confirm. Date | ||
| GoodsIssueDate | goodsissuedate | Goods Issue Date CCD | ||
| CstmsDeclnSubItemQuantity | cstmsdeclnsubitemquantity | Subitem Qty | ||
| CstmsDeclnSubItemSalesUnit | cstmsdeclnsubitemsalesunit | Sales Unit | ||
| TotalConfirmedQuantity | totalconfirmedquantity | Total to Be Confirmed | ||
| SalesUnit | salesunit | Unit | ||
| OpenQuantity | openquantity | PBE Entry Open Qty | ||
| CstmsDeclnHasFollowUpDocument | cstmsdeclnhasfollowupdocument | Follow-Up | ||
| CompanyCode | companycode | Receiver Company Code | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftFieldChanges | draftfieldchanges | Field Changes |
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_RU_ExprtCstmsDeclnItemDraft.
-- 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: RRUCCDIDR
CREATE VIEW R_RU_ExprtCstmsDeclnItemDraft AS
SELECT
CustomsDeclaration,
RU_ExprtCustomsDeclarationItem,
CustomsDeclarationSubitem,
Material,
RU_ContractDocument,
TradingContractItem,
RU_TemporaryCustomsDeclaration,
RU_TmpCstmsDeclarationItem,
SalesOrder,
SalesOrderItem,
CstmsDeclnItemQuantity,
UnitOfMeasure,
DeliveryDocument,
DeliveryDocumentItem,
BillingDocument,
BillingDocumentItem,
BillingQuantity,
BillingQuantityUnit,
ExportConfirmationSubitemDate,
GoodsIssueDate,
CstmsDeclnSubItemQuantity,
CstmsDeclnSubItemSalesUnit,
TotalConfirmedQuantity,
SalesUnit,
OpenQuantity,
CstmsDeclnHasFollowUpDocument,
CompanyCode,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges
FROM j_3rs_exp_itm_d
;
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