I_CAInvcgControlOfInvcgUnit

DDL: I_CAINVCGCONTROLOFINVCGUNIT Type: view_entity BASIC

Steuerung der Fakt.seinheit

Control of Invoicing Unit

I_CAInvcgControlOfInvcgUnit (Basic)

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

CA Invoicing Control Of Invoicing Unit · Contract Accounting

I_CAInvcgControlOfInvcgUnit is a Basic CDS View (Dimension) that provides data about "Steuerung der Fakt.seinheit" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CAInvcgControlOfInvoicingUnit. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves the control of invoicing unit value in Convergent Invoicing. If more than one source document is to be processed when a contract account is invoiced, the control of invoicing unit determines whether these source documents are grouped into one invoicing unit or invoiced as several invoicing units. One invoicing document is created per invoicing unit. The possible values are defined and provided by SAP. Example Multiple source documents can be invoiced together , Multiple source documents cannot be invoiced together , No restrictions 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 .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description CAInvcgControlOfInvcgUnit Control of Invoicing Unit

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-INV
CapabilitiesAssociation Target for Defining CDS Entities, Analytical Dimension, Data Source for Data Extraction, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves the control of invoicing unit value in Convergent Invoicing.</p> <p>If more than one source document is to be processed when a contract account is invoiced, the control of invoicing unit determines whether these source documents are grouped into one invoicing unit or invoiced as several invoicing units. One invoicing document is created per invoicing unit. The possible values are defined and provided by SAP. </p> Example <p>Multiple source documents can be invoiced together, Multiple source documents cannot be invoiced together, No restrictions </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_CAInvcgControlOfInvcgUnitTxt _CAInvcgControlOfInvcgUnitTxt $projection.CAInvcgControlOfInvoicingUnit = _CAInvcgControlOfInvcgUnitTxt.CAInvcgControlOfInvoicingUnit

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label Steuerung der Fakt.seinheit view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey CAInvcgControlOfInvoicingUnit view
ObjectModel.sapObjectNodeType.name ContrAcctgInvcgCtrlOfInvcgUnit 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 CAInvcgControlOfInvoicingUnit Control of Invoicing Unit
_CAInvcgControlOfInvcgUnitTxt _CAInvcgControlOfInvcgUnitTxt

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_CAInvcgControlOfInvcgUnit.
-- 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_CAInvcgControlOfInvcgUnit AS
SELECT
  cast ( cast ( substring( dd07l.domvalue_l,1,2 ) as abap.char( 2 ) ) as separate_inv_kk) AS CAInvcgControlOfInvoicingUnit
FROM dd07l
LEFT OUTER JOIN I_CAInvcgControlOfInvcgUnitTxt AS _CAInvcgControlOfInvcgUnitTxt ON CAInvcgControlOfInvoicingUnit = _CAInvcgControlOfInvcgUnitTxt.CAInvcgControlOfInvoicingUnit  -- association [1..*]
;