P_JP_VATReturnSummaryRuleOrd

DDL: P_JP_VATRETURNSUMMARYRULEORD SQL: PJPVATRULEORD Type: view CONSUMPTION

P_JP_VATReturnSummaryRuleOrd is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_JP_VATReturnSummaryRuleDef) and exposes 12 fields with key field JP_VATReturnRule.

Data Sources (1)

SourceAliasJoin Type
P_JP_VATReturnSummaryRuleDef Rule from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PJPVATRULEORD view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true 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
AccessControl.authorizationCheck #CHECK view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY JP_VATReturnRule P_JP_VATReturnSummaryRuleDef JP_VATReturnRule
JP_VATReturnRuleName P_JP_VATReturnSummaryRuleDef JP_VATReturnRuleName
CompanyCode P_JP_VATReturnSummaryRuleDef CompanyCode Receiver Company Code
TaxCode P_JP_VATReturnSummaryRuleDef TaxCode Tax Code
AccountingDocumentType P_JP_VATReturnSummaryRuleDef AccountingDocumentType Journal Entry Type
CostCenter P_JP_VATReturnSummaryRuleDef CostCenter Cost Center
BusinessArea P_JP_VATReturnSummaryRuleDef BusinessArea Business Area
GLAccountInPurchaseOrg P_JP_VATReturnSummaryRuleDef GLAccountInPurchaseOrg
GLAccount P_JP_VATReturnSummaryRuleDef GLAccount General Ledger
TaxRate P_JP_VATReturnSummaryRuleDef TaxRate Tax Rate
JP_VATReturnRuleTaxRateDesc P_JP_VATReturnSummaryRuleDef JP_VATReturnRuleTaxRateDesc
IsGLAccountNullasRuleOrder

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_VATReturnSummaryRuleOrd.
-- 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: PJPVATRULEORD

CREATE VIEW P_JP_VATReturnSummaryRuleOrd 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,
  Rule.IsCompanyCodeNull + Rule.IsTaxCodeNull + Rule.IsCostCenterNull + Rule.IsDocumentTypeNull + Rule.IsBusinessAreaNull + Rule.IsGLInPurchaseNull + Rule.IsGLAccountNull as RuleOrder AS IsGLAccountNullasRuleOrder
FROM P_JP_VATReturnSummaryRuleDef AS Rule
;