I_JP_InvcSummaryHierarchyBasic

DDL: I_JP_INVCSUMMARYHIERARCHYBASIC Type: view_entity BASIC Package: GLO_FIN_JP_BSML

Invoice Summary Hierarchy Basic

I_JP_InvcSummaryHierarchyBasic is a Basic CDS View that provides data about "Invoice Summary Hierarchy Basic" in SAP S/4HANA. It reads from 1 data source (isjphierarchy) and exposes 21 fields with key fields Customer, CompanyCode. It has 3 associations to related views. Part of development package GLO_FIN_JP_BSML.

Data Sources (1)

SourceAliasJoin Type
isjphierarchy isjphierarchy from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_CustomerCompany _CustCompany $projection.Customer = _CustCompany.Customer and $projection.CompanyCode = _CustCompany.CompanyCode

Annotations (8)

NameValueLevelField
EndUserText.label Invoice Summary Hierarchy Basic view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY Customer kunnr Stock customer
KEY CompanyCode bukrs Value
InvcSmmryRole invsumrole IS Role
InvcSmmryRecipient invsumrecip Inv.Sum.Recipt.
InvcSmmryPayer invsumpayer Inv.Sum.Payer
InvcSmmryPyrInvcNumberRange pinrnr No. Range PI
InvcSmmryMnthlyInvcNmbrRange minrnr No. Range MI
InvcSmmryHasTaxCalcdInHeader headertax Calc. Tax in MI
InvcSmmryHldayDueDateRcalc holiduedate Move Due Date
InvcSmmryBkChargeIsPaidByPayee bankcharge Bk.Chrg.: Payee
InvcSmmryBankChargePatternID patternid Bk. Charge PID
InvcSmmryBankCountry banks Bank Ctry/Rgn. Key
InvcSmmryBank bankk BP bank number
InvcSmmryVirtualAcctNo virtacctnr Virt.Acct.Nr.
InvcSmmryPaytTermProposalRule rulezterm Rule Payterm
VirtualAcctNmbrIsAutomlyAssgd speccaserel Spec. Cases Rel.
AuthorizationGroup _CustCompany AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted _CustCompany IsBusinessPurposeCompleted Purpose Completed
_CustCompany _CustCompany
_Customer _Customer
_CompanyCode _CompanyCode

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 I_JP_InvcSummaryHierarchyBasic.
-- 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.

CREATE VIEW I_JP_InvcSummaryHierarchyBasic AS
SELECT
  kunnr AS Customer,
  bukrs AS CompanyCode,
  invsumrole AS InvcSmmryRole,
  invsumrecip AS InvcSmmryRecipient,
  invsumpayer AS InvcSmmryPayer,
  pinrnr AS InvcSmmryPyrInvcNumberRange,
  minrnr AS InvcSmmryMnthlyInvcNmbrRange,
  headertax AS InvcSmmryHasTaxCalcdInHeader,
  holiduedate AS InvcSmmryHldayDueDateRcalc,
  bankcharge AS InvcSmmryBkChargeIsPaidByPayee,
  patternid AS InvcSmmryBankChargePatternID,
  banks AS InvcSmmryBankCountry,
  bankk AS InvcSmmryBank,
  virtacctnr AS InvcSmmryVirtualAcctNo,
  rulezterm AS InvcSmmryPaytTermProposalRule,
  speccaserel AS VirtualAcctNmbrIsAutomlyAssgd,
  _CustCompany.AuthorizationGroup AS AuthorizationGroup,
  _CustCompany.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM isjphierarchy
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _CustCompany ON Customer = _CustCompany.Customer AND CompanyCode = _CustCompany.CompanyCode  -- association [0..1]
;