I_LoanContract

DDL: I_LOANCONTRACT SQL: ILOANCONTRACT Type: view BASIC

Loan Contract

I_LoanContract is a Basic CDS View (Dimension) that provides data about "Loan Contract" in SAP S/4HANA. It reads from 1 data source (vdarl) and exposes 10 fields with key fields CompanyCode, LoanContract.

Data Sources (1)

SourceAliasJoin Type
vdarl LoanContract from

Annotations (17)

NameValueLevelField
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ILOANCONTRACT view
AccessControl.authorizationCheck #CHECK view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Loan Contract view
ObjectModel.representativeKey LoanContract view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode vdarl bukrs Value
KEY LoanContract
LoanContractName
TermStartDate
TermEndDate
FinancialInstrumentProductType vdarl gsart Product Type
TreasuryContractStatus vdarl sstati Status
BusinessPartner vdarl rdarnehm BusPartner
_CompanyCode _CompanyCode
_FinancialInstrProductType _FinancialInstrProductType

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_LoanContract.
-- 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: ILOANCONTRACT

CREATE VIEW I_LoanContract AS
SELECT
  LoanContract.bukrs AS CompanyCode,
  cast(LoanContract.ranl as ftr_gen_loan_contract preserving type) AS LoanContract,
  cast(LoanContract.xallb as ftr_gen_loan_contract_name) AS LoanContractName,
  cast(LoanContract.dblfz as tb_dblfz preserving type) AS TermStartDate,
  cast(LoanContract.delfz as tb_delfz preserving type) AS TermEndDate,
  LoanContract.gsart AS FinancialInstrumentProductType,
  LoanContract.sstati AS TreasuryContractStatus,
  LoanContract.rdarnehm AS BusinessPartner
FROM vdarl AS LoanContract
;