P_JP_VATReturnSummaryRuleDef
Japan VAT RETURN Summary Rule Define
P_JP_VATReturnSummaryRuleDef is a Consumption CDS View that provides data about "Japan VAT RETURN Summary Rule Define" in SAP S/4HANA. It reads from 1 data source (I_JP_VATReturnSummaryRuleDef) and exposes 18 fields with key fields JP_VATReturnRule, JP_VATReturnRuleName, CompanyCode, TaxCode, AccountingDocumentType. Part of development package GLO_FIN_IS_VAT_JP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JP_VATReturnSummaryRuleDef | Rule | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PJPVATRULEDEF | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | JP_VATReturnRule | I_JP_VATReturnSummaryRuleDef | JP_VATReturnRule | |
| KEY | JP_VATReturnRuleName | I_JP_VATReturnSummaryRuleDef | JP_VATReturnRuleName | |
| KEY | CompanyCode | I_JP_VATReturnSummaryRuleDef | CompanyCode | Receiver Company Code |
| KEY | TaxCode | I_JP_VATReturnSummaryRuleDef | TaxCode | Tax Code |
| KEY | AccountingDocumentType | I_JP_VATReturnSummaryRuleDef | AccountingDocumentType | Journal Entry Type |
| KEY | CostCenter | I_JP_VATReturnSummaryRuleDef | CostCenter | Cost Center |
| KEY | BusinessArea | I_JP_VATReturnSummaryRuleDef | BusinessArea | Business Area |
| KEY | GLAccountInPurchaseOrg | I_JP_VATReturnSummaryRuleDef | GLAccountInPurchaseOrg | |
| KEY | GLAccount | I_JP_VATReturnSummaryRuleDef | GLAccount | General Ledger |
| TaxRate | I_JP_VATReturnSummaryRuleDef | TaxRate | Tax Rate | |
| JP_VATReturnRuleTaxRateDesc | I_JP_VATReturnSummaryRuleDef | JP_VATReturnRuleTaxRateDesc | ||
| IsCompanyCodeNull | ||||
| IsTaxCodeNull | ||||
| IsCostCenterNull | ||||
| IsDocumentTypeNull | ||||
| IsBusinessAreaNull | ||||
| IsGLInPurchaseNull | ||||
| IsGLAccountNull |
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_JP_VATReturnSummaryRuleDef.
-- 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: PJPVATRULEDEF
CREATE VIEW P_JP_VATReturnSummaryRuleDef AS
SELECT
Rule.JP_VATReturnRule AS JP_VATReturnRule,
Rule.JP_VATReturnRuleName AS JP_VATReturnRuleName,
Rule.CompanyCode AS CompanyCode,
Rule.TaxCode AS TaxCode,
Rule.AccountingDocumentType AS AccountingDocumentType,
Rule.CostCenter AS CostCenter,
Rule.BusinessArea AS BusinessArea,
Rule.GLAccountInPurchaseOrg AS GLAccountInPurchaseOrg,
Rule.GLAccount AS GLAccount,
Rule.TaxRate AS TaxRate,
Rule.JP_VATReturnRuleTaxRateDesc AS JP_VATReturnRuleTaxRateDesc,
case when Rule.CompanyCode <> '' then 1 else 0 end AS IsCompanyCodeNull,
case when Rule.TaxCode <> '' then 1 else 0 end AS IsTaxCodeNull,
case when Rule.CostCenter <> '' then 1 else 0 end AS IsCostCenterNull,
case when Rule.AccountingDocumentType <> '' then 1 else 0 end AS IsDocumentTypeNull,
case when Rule.BusinessArea <> '' then 1 else 0 end AS IsBusinessAreaNull,
case when Rule.GLAccountInPurchaseOrg <> '' then 1 else 0 end AS IsGLInPurchaseNull,
case when Rule.GLAccount <> '' then 1 else 0 end AS IsGLAccountNull
FROM I_JP_VATReturnSummaryRuleDef AS Rule
;
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