I_CAPayableReceivableCode

DDL: I_CAPAYABLERECEIVABLECODE Type: view_entity BASIC

Payable Receivable Code

I_CAPayableReceivableCode is a Basic CDS View that provides data about "Payable Receivable Code" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CADocumentBPItemPyblRblCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CAPayableReceivableCodeText _Text $projection.CADocumentBPItemPyblRblCode = _Text.CADocumentBPItemPyblRblCode

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Payable Receivable Code view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
VDM.viewType #BASIC view
ObjectModel.representativeKey CADocumentBPItemPyblRblCode view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CADocumentBPItemPyblRblCode
_Text _Text

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_CAPayableReceivableCode.
-- 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_CAPayableReceivableCode AS
SELECT
  cast ( cast ( substring( dd07l.domvalue_l,1,1 ) as abap.char( 1 ) ) as recvbl_paybl_indicator_kk) AS CADocumentBPItemPyblRblCode
FROM dd07l
LEFT OUTER JOIN I_CAPayableReceivableCodeText AS _Text ON CADocumentBPItemPyblRblCode = _Text.CADocumentBPItemPyblRblCode  -- association [0..1]
;