I_CANegativePostingCtrlCodeT

DDL: I_CANEGATIVEPOSTINGCTRLCODET Type: view_entity BASIC

Negative Posting Control Code - Text

I_CANegativePostingCtrlCodeT (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Contract Accounting

I_CANegativePostingCtrlCodeT is a Basic CDS View that provides data about "Negative Posting Control Code - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields CANegativePostingControlCode, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities, Language-Dependent Text
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves negative posting control codes indicating whether negative posting and/or clearing of document items is allowed or required in Contract Accounting.</p> Example <ul> <li><p>No Negative Posting</p></li> <li><p>Negative Posting</p></li> <li><p>Negative Clearing</p></li> <li><p>Negative Posting + Clearing</p></li> <li><p> Negative Posting + Clearing Required</p></li> </ul> <p>This CDS view provides the data to answer the business question: Which negative posting control code values are available in the system?</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Negative Posting Control Code - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.representativeKey CANegativePostingControlCode view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CANegativePostingControlCode Control Field for Negative Posting
KEY Language Language Key
CANegativePostingCtrlCodeText Description for Control Field for Negative Posting
_Language _Language

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_CANegativePostingCtrlCodeT.
-- 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_CANegativePostingCtrlCodeT AS
SELECT
  cast( left( dd07t.domvalue_l, 1 ) as negbu_kk ) AS CANegativePostingControlCode,
  cast( ddlanguage as spras preserving type ) AS Language,
  cast( ddtext as negbu_text_kk preserving type ) AS CANegativePostingCtrlCodeText
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;