Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_StatisticalKeyFigure" of service "API_STATISTICALKEYFIGURE_SRV". This service is part of the following communication scenarios: Finance - Statistical Key Figure Integration (SAP_COM_0130). See https://api.sap.com/api/API_STATISTICALKEYFIGURE_SRV for more information.

Hierarchy

  • any
    • StatisticalKeyFigure

Implements

Index

Properties

controllingArea

controllingArea: string

Controlling Area. Maximum length: 4.

statisticalKeyFigure

statisticalKeyFigure: string

Statistical Key Figure. Maximum length: 6.

ststcKeyFigCategory

ststcKeyFigCategory: string

Statistical Key Figure Category. Field defining whether values are fixed in one of two ways: From the initial month for all subsequent months of the current fiscal year (Type 1 = fixed value)For the respective month and not carried forward to the subsequent months (Type 2 = totals value)The number of employees is entered as type 1 (fixed value) and the number of long-distance calls is entered as type 2 (totals value).To correct quantities after entering them as statistical key figures, cancel type 2 values by entering the value with a reversed +/- sign. Then enter the correct value.To change key figures of type 1, enter a new fixed value. This value will then be valid for all subsequent periods until you enter new value. Maximum length: 1.

nullable

ststcKeyFigQuantityUnit

ststcKeyFigQuantityUnit: string

Unit for Statistical Key Figure. Unit of quantity or time with which the tracing factors of the statistical key figures are posted. The unit with which the statistical key figure is recorded in the database is defined in the master data and cannot be changed. Maximum length: 3.

nullable

toText

One-to-many navigation property to the StatisticalKeyFigureText entity.

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', StatisticalKeyFigure)

All fields selector.

Static CONTROLLING_AREA

CONTROLLING_AREA: StringField<StatisticalKeyFigure> = new StringField('ControllingArea', StatisticalKeyFigure, 'Edm.String')

Static representation of the controllingArea property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static STATISTICAL_KEY_FIGURE

STATISTICAL_KEY_FIGURE: StringField<StatisticalKeyFigure> = new StringField('StatisticalKeyFigure', StatisticalKeyFigure, 'Edm.String')

Static representation of the statisticalKeyFigure property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static STSTC_KEY_FIG_CATEGORY

STSTC_KEY_FIG_CATEGORY: StringField<StatisticalKeyFigure> = new StringField('StstcKeyFigCategory', StatisticalKeyFigure, 'Edm.String')

Static representation of the ststcKeyFigCategory property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static STSTC_KEY_FIG_QUANTITY_UNIT

STSTC_KEY_FIG_QUANTITY_UNIT: StringField<StatisticalKeyFigure> = new StringField('StstcKeyFigQuantityUnit', StatisticalKeyFigure, 'Edm.String')

Static representation of the ststcKeyFigQuantityUnit property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_TEXT

TO_TEXT: Link<StatisticalKeyFigure, StatisticalKeyFigureText> = new Link('to_Text', StatisticalKeyFigure, StatisticalKeyFigureText)

Static representation of the one-to-many navigation property toText for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: any[] = [StatisticalKeyFigure.STATISTICAL_KEY_FIGURE,StatisticalKeyFigure.CONTROLLING_AREA,StatisticalKeyFigure.STSTC_KEY_FIG_QUANTITY_UNIT,StatisticalKeyFigure.STSTC_KEY_FIG_CATEGORY,StatisticalKeyFigure.TO_TEXT]

All fields of the StatisticalKeyFigure entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_STATISTICALKEYFIGURE_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_StatisticalKeyFigure"

Technical entity name for StatisticalKeyFigure.

Static _keyFields

_keyFields: Array<Selectable<StatisticalKeyFigure>> = [StatisticalKeyFigure.STATISTICAL_KEY_FIGURE, StatisticalKeyFigure.CONTROLLING_AREA]

All key fields of the StatisticalKeyFigure entity.

Static _keys

_keys: any = StatisticalKeyFigure._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property StatisticalKeyFigure.

Static _serviceName

_serviceName: string = "API_STATISTICALKEYFIGURE_SRV"

Technical service name for StatisticalKeyFigure.

Methods

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity StatisticalKeyFigure.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<StatisticalKeyFigure>

    A builder that constructs instances of entity type StatisticalKeyFigure.

Static requestBuilder

  • Returns a request builder to construct requests for operations on the StatisticalKeyFigure entity type.

    Returns StatisticalKeyFigureRequestBuilder

    A StatisticalKeyFigure request builder.