I_CANegativePostingCtrlCode

DDL: I_CANEGATIVEPOSTINGCTRLCODE Type: view_entity BASIC

Negative Posting Control Code

I_CANegativePostingCtrlCode (Basic)

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

Contr Acctg Ngtv Posting Control Code · Contract Accounting

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

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
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 . Example No Negative Posting Negative Posting Negative Clearing Negative Posting + Clearing Negative Posting + Clearing Required This CDS view provides the data to answer the business question: Which negative posting control code values are available in the system? 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 .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
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
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CANegativePostingCtrlCodeT _Text $projection.CANegativePostingControlCode = _Text.CANegativePostingControlCode

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Negative Posting Control Code view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CANegativePostingControlCode view
ObjectModel.sapObjectNodeType.name ContrAcctgNgtvPostingCtrlCode view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CANegativePostingControlCode Control Field for Negative Posting
_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_CANegativePostingCtrlCode.
-- 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_CANegativePostingCtrlCode AS
SELECT
  cast( left( dd07l.domvalue_l, 1 ) as negbu_kk ) AS CANegativePostingControlCode
FROM dd07l
LEFT OUTER JOIN I_CANegativePostingCtrlCodeT AS _Text ON CANegativePostingControlCode = _Text.CANegativePostingControlCode  -- association [1..*]
;