P_RU_ExprtCstmsDeclnSubAll

DDL: P_RU_EXPRTCSTMSDECLNSUBALL SQL: PRUCCDIDSUBF Type: view COMPOSITE Package: GLO_FIN_IS_RU_EXPRT_CSTMS_DECL

Draft and Active subitems

P_RU_ExprtCstmsDeclnSubAll is a Composite CDS View that provides data about "Draft and Active subitems" in SAP S/4HANA. It reads from 1 data source (P_RU_ExprtCstmsDeclnSubDrftAct) and exposes 6 fields with key fields CustomsDeclaration, RU_ExprtCustomsDeclarationItem, CustomsDeclarationSubitem. Part of development package GLO_FIN_IS_RU_EXPRT_CSTMS_DECL.

Data Sources (1)

SourceAliasJoin Type
P_RU_ExprtCstmsDeclnSubDrftAct P_RU_ExprtCstmsDeclnSubDrftAct from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRUCCDIDSUBF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CustomsDeclaration CustomsDeclaration Cus. Decl. No.
KEY RU_ExprtCustomsDeclarationItem RU_ExprtCustomsDeclarationItem CDec Item No.
KEY CustomsDeclarationSubitem CustomsDeclarationSubitem Subitem Number
BillingDocument BillingDocument SD Document
BillingDocumentItem BillingDocumentItem Item
CstmsDeclnSubItemQuantity CstmsDeclnSubItemQuantity Subitem Qty

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_ExprtCstmsDeclnSubAll.
-- 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: PRUCCDIDSUBF

CREATE VIEW P_RU_ExprtCstmsDeclnSubAll AS
SELECT
  CustomsDeclaration,
  RU_ExprtCustomsDeclarationItem,
  CustomsDeclarationSubitem,
  BillingDocument,
  BillingDocumentItem,
  CstmsDeclnSubItemQuantity
FROM P_RU_ExprtCstmsDeclnSubDrftAct
;