P_RU_ExprtConfRegItem2

DDL: P_RU_EXPRTCONFREGITEM2 SQL: PRUREGITEM2 Type: view CONSUMPTION Package: GLO_FIN_IS_VAT_RU_EXP_CONF_REG

RCTD Items

P_RU_ExprtConfRegItem2 is a Consumption CDS View that provides data about "RCTD Items" in SAP S/4HANA. It reads from 1 data source (P_RU_ExprtConfRegItem1) and exposes 29 fields. Part of development package GLO_FIN_IS_VAT_RU_EXP_CONF_REG.

Data Sources (1)

SourceAliasJoin Type
P_RU_ExprtConfRegItem1 P_RU_ExprtConfRegItem1 from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PRUREGITEM2 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 RCTD Items view

Fields (29)

KeyFieldSource TableSource FieldDescription
VATReturnOperation VATReturnOperation Operation Code
CompanyCode RegisterItems CompanyCode Receiver Company Code
TaxTransferDocument TaxTransferDocument Document Number
FiscalYear FiscalYear G/L Fiscal Year
TaxCode TaxCode Tax Code
CustomsDeclaration CustomsDeclaration Cus. Decl. No.
CustomsDeclarationItem CustomsDeclarationItem
CustomsDeclarationSubitem CustomsDeclarationSubitem Subitem Number
CustomsOffice CustomsOffice
RU_RegistrationInvoiceDate RU_RegistrationInvoiceDate
CustomsDeclarationExtNmbr CustomsDeclarationExtNmbr
Customer Customer Sold-to Party
BPCustomerName BPCustomerName Name of Customer
RU_TransportationType
RU_TranspDocumentType
CommodityCode CommodityCode Commodity Code
Material Material Vehicle Model
MaterialDesc MaterialDesc Description
Delivery Delivery Delivery Status
DeliveryDate DeliveryDate Delivery Date
Quantity Quantity Value
SalesUnit SalesUnit Unit
ExportConfirmationDate ExportConfirmationDate
BillingDocument BillingDocument SD Document
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TaxBaseAmountInTransCrcy TaxBaseAmountInTransCrcy Value-Added Tax
TransactionCurrency TransactionCurrency Transaction Currency
AuthorizationGroup RegisterItems AuthorizationGroup AuthorizGroup

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_ExprtConfRegItem2.
-- 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: PRUREGITEM2
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW P_RU_ExprtConfRegItem2 AS
SELECT
  VATReturnOperation,
  RegisterItems.CompanyCode AS CompanyCode,
  TaxTransferDocument,
  FiscalYear,
  TaxCode,
  CustomsDeclaration,
  CustomsDeclarationItem,
  CustomsDeclarationSubitem,
  CustomsOffice,
  RU_RegistrationInvoiceDate,
  CustomsDeclarationExtNmbr,
  Customer,
  BPCustomerName,
  cast(RegisterItems.RU_TransportationType as char2) AS RU_TransportationType,
  cast(RU_TranspDocumentType as char2) AS RU_TranspDocumentType,
  CommodityCode,
  Material,
  MaterialDesc,
  Delivery,
  DeliveryDate,
  Quantity,
  SalesUnit,
  ExportConfirmationDate,
  BillingDocument,
  TaxBaseAmountInCoCodeCrcy,
  CompanyCodeCurrency,
  TaxBaseAmountInTransCrcy,
  TransactionCurrency,
  RegisterItems.AuthorizationGroup AS AuthorizationGroup
FROM P_RU_ExprtConfRegItem1
;