P_RU_VatSubscenarioAssignment
P_RU_VatSubscenarioAssignment is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (firud_vatsubas) and exposes 23 fields with key fields RU_VATReturnVersion, RU_VATReturnSection, RU_VATReturnLine, RU_VATSubScenario.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| firud_vatsubas | firud_vatsubas | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | PRUVATSUBSCASSGN | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RU_VATReturnVersion | version | XML Vers. | |
| KEY | RU_VATReturnSection | sect | VAT Return Section | |
| KEY | RU_VATReturnLine | line | VAT Return Line Item | |
| KEY | RU_VATSubScenario | subscenario | Subscenario | |
| TaxBaseAmountCalcType_1 | vatr_base | VAT Base Source | ||
| TaxAmountCalcType | vatr_tax | VAT Amount Source | ||
| TaxBaseAmountCalcType_2 | tax_base | Tax Base Source | ||
| AmountCalcType | tax_amount | VAT Amount Type | ||
| SignIsInverted | sign_inver | Invert D/C Sign | ||
| BusinessPartnerType | bp_opt | Business Partner | ||
| AgentType | bp_ag | Bus. Partner Agent | ||
| PaymentOrderOutputType | pord_out | Payment Order | ||
| ImprtCstmsDeclnIsRead | gtd_out | ImCD/RNPT Option | ||
| MatlRcptDateIsRead | mrec_dt_out | Date of Material Rec | ||
| RU_CustomerOutputType | buyer | Real Buyer Source | ||
| RU_SupplierAgentOutputType | sellerag | Real Seller Source | ||
| RU_SupplierOutputType | seller | Seller | ||
| RU_SubagentOutputType | subagent | Subagent Source | ||
| SalesDealType | dealtype | Deal Type | ||
| RU_OrgOperationType | opc_type | Oper.TypeCode Org. | ||
| RU_PersonOperationType | opc_tpin | Oper.TypeCode Person | ||
| RU_InvoiceSupplierOutputType | sel_inv_out | Seller in Inv.Output | ||
| RU_InvoiceCustomerOutputType | buy_inv_out | Buyer in Inv. Output |
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_VatSubscenarioAssignment.
-- 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: PRUVATSUBSCASSGN
CREATE VIEW P_RU_VatSubscenarioAssignment AS
SELECT
version AS RU_VATReturnVersion,
sect AS RU_VATReturnSection,
line AS RU_VATReturnLine,
subscenario AS RU_VATSubScenario,
vatr_base AS TaxBaseAmountCalcType_1,
vatr_tax AS TaxAmountCalcType,
tax_base AS TaxBaseAmountCalcType_2,
tax_amount AS AmountCalcType,
sign_inver AS SignIsInverted,
bp_opt AS BusinessPartnerType,
bp_ag AS AgentType,
pord_out AS PaymentOrderOutputType,
gtd_out AS ImprtCstmsDeclnIsRead,
mrec_dt_out AS MatlRcptDateIsRead,
buyer AS RU_CustomerOutputType,
sellerag AS RU_SupplierAgentOutputType,
seller AS RU_SupplierOutputType,
subagent AS RU_SubagentOutputType,
dealtype AS SalesDealType,
opc_type AS RU_OrgOperationType,
opc_tpin AS RU_PersonOperationType,
sel_inv_out AS RU_InvoiceSupplierOutputType,
buy_inv_out AS RU_InvoiceCustomerOutputType
FROM firud_vatsubas
;
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