I_CAInstallmentPlanVH

DDL: I_CAINSTALLMENTPLANVH Type: view_entity COMPOSITE

Installment Plan Number

I_CAInstallmentPlanVH is a Composite CDS View that provides data about "Installment Plan Number" in SAP S/4HANA. It reads from 2 data sources (I_CADocumentHeader, I_CASampleDocHeader) and exposes 29 fields with key field CADocumentNumber. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_CADocumentHeader I_CADocumentHeader from
I_CASampleDocHeader I_CASampleDocHeader union_all

Associations (1)

CardinalityTargetAliasCondition
[0..1] C_CAInvcgUserContact _CreatedByContact $projection.CreatedByUser = _CreatedByContact.ContactCardID

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.dataCategory #VALUE_HELP view
EndUserText.label Installment Plan Number view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
Search.searchable true view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber CADocumentNumber Document Number
CADocumentType CADocumentType Document Type
CADocumentTypeName
CAReconciliationKey CAReconciliationKey Reconcil. Key
CAPostingDate CAPostingDate Posting Date
CADocumentOriginCode CADocumentOriginCode Document Origin
CADocumentOriginCodeName
CreatedByUser CreatedByUser User Name
CreatedByUserName _CreatedByContact FullName Name
CreationDate CreationDate Time Stamp
CAReferenceDocument CAReferenceDocument Reference
CAApplicationArea CAApplicationArea ApplicationArea
CATaxCompanyCode CATaxCompanyCode Tax comp. code
_DocType _DocType
ContactCardIDkeyCADocumentNumber
CADocumentType CADocumentType Document Type
CADocumentTypeName
CAReconciliationKey CAReconciliationKey Reconcil. Key
CAPostingDate CAPostingDate Posting Date
CADocumentOriginCode CADocumentOriginCode Document Origin
CADocumentOriginCodeName
CreatedByUser CreatedByUser User Name
CreatedByUserName _CreatedByContact FullName Name
CreationDate CreationDate Time Stamp
CAReferenceDocument CAReferenceDocument Reference
CAApplicationArea CAApplicationArea ApplicationArea
CATaxCompanyCode CATaxCompanyCode Tax comp. code
_DocType _DocType
_DocOriginCode _DocOriginCode

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_CAInstallmentPlanVH.
-- 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_CAInstallmentPlanVH AS
SELECT
  CADocumentNumber,
  CADocumentType,
  _DocType._Text[1:Language = $session.system_language].CADocumentTypeName AS CADocumentTypeName,
  CAReconciliationKey,
  CAPostingDate,
  CADocumentOriginCode,
  cast (_DocOriginCode._Text[1: Language = $session.system_language].CADocumentOriginCodeName as htext_gfn_kk) AS CADocumentOriginCodeName,
  CreatedByUser,
  _CreatedByContact.FullName AS CreatedByUserName,
  CreationDate,
  CAReferenceDocument,
  CAApplicationArea,
  CATaxCompanyCode
FROM I_CADocumentHeader
LEFT OUTER JOIN C_CAInvcgUserContact AS _CreatedByContact ON CreatedByUser = _CreatedByContact.ContactCardID  -- association [0..1]
-- UNION ALL with additional select branch(es): I_CASampleDocHeader
;