I_UtilsBillgDocOutsrtgData

DDL: I_UTILSBILLGDOCOUTSRTGDATA SQL: IEOUTSRTGDBDOC Type: view BASIC

Outsorting Data for Billing Document

I_UtilsBillgDocOutsrtgData (Basic)

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

Utilities

I_UtilsBillgDocOutsrtgData is a Basic CDS View (Dimension) that provides data about "Outsorting Data for Billing Document" in SAP S/4HANA. It reads from 1 data source (ercho) and exposes 9 fields with key fields UtilitiesBillingDocument, UtilsSequenceNumberOutsrtg. It has 2 associations to related views.

SAP Help Documentation

CategoryBilling
Data CategoryDimension
Purpose
This CDS view retrieves outsorting table data for the billing document. 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 The following authorization objects are required to use this CDS view: E_CONTRACT (Authorization to display IS-U contracts) B_BUPA_GRP (Authorization to display business partners)

Structure
Important fields in this view include the following: Field Name Description UtilitiesBillingDocument Billing Document Number UtilsSequenceNumberOutsrtg Outsorting Sequence Number UtilsBillgOutsortingReason Reason for Manual Outsorting in Billing UtilsOutsrtdBillgDocDvtgValue Variance

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-BI
CapabilitiesData Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageUtilities for SAP S/4HANA
Description <p>This CDS view retrieves outsorting table data for the billing document.</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
ercho ercho from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_UtilitiesBillingDocument _UtilitiesBillingDocument $projection.UtilitiesBillingDocument = _UtilitiesBillingDocument.UtilitiesBillingDocument
[0..1] I_UtilsBillgOutsortingGroup _UtilsBillgOutsortingGroup $projection.UtilsBillgOutsortingReason = _UtilsBillgOutsortingGroup.UtilsBillgOutsortingReason

Annotations (14)

NameValueLevelField
EndUserText.label Outsorting Data for Billing Document view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IEOUTSRTGDBDOC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey UtilsSequenceNumberOutsrtg view
Metadata.allowExtensions true view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY UtilitiesBillingDocument ercho belnr Billing Document Number
KEY UtilsSequenceNumberOutsrtg ercho outcnso Consecutive number of outsorting
UtilsOutsrtdBillgDocDvtgValue ercho deviation Deviation
UtilsBillgOutsortingReason Outsorting Reason
UtilitiesBillingCheck Check
UtilsBillgDocReleaseDate ercho frei_am Document Release Date
UtilsBillgDocReleasedByUser ercho frei_von Name of user who released the document
_UtilitiesBillingDocument _UtilitiesBillingDocument
_UtilsBillgOutsortingGroup _UtilsBillgOutsortingGroup

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_UtilsBillgDocOutsrtgData.
-- 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: IEOUTSRTGDBDOC

CREATE VIEW I_UtilsBillgDocOutsrtgData AS
SELECT
  ercho.belnr AS UtilitiesBillingDocument,
  ercho.outcnso AS UtilsSequenceNumberOutsrtg,
  ercho.deviation AS UtilsOutsrtdBillgDocDvtgValue,
  cast(ercho.manoutsort as e_manoutsort_vdm preserving type) AS UtilsBillgOutsortingReason,
  cast(ercho.validation as e_validation_vdm preserving type) AS UtilitiesBillingCheck,
  ercho.frei_am AS UtilsBillgDocReleaseDate,
  ercho.frei_von AS UtilsBillgDocReleasedByUser
FROM ercho
LEFT OUTER JOIN I_UtilitiesBillingDocument AS _UtilitiesBillingDocument ON UtilitiesBillingDocument = _UtilitiesBillingDocument.UtilitiesBillingDocument  -- association [1..1]
LEFT OUTER JOIN I_UtilsBillgOutsortingGroup AS _UtilsBillgOutsortingGroup ON UtilsBillgOutsortingReason = _UtilsBillgOutsortingGroup.UtilsBillgOutsortingReason  -- association [0..1]
;