Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProfitCenterText" of service "API_PROFITCENTER_SRV". This service is part of the following communication scenarios: SAP Analytics Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_PROFITCENTER_SRV for more information.

Hierarchy

  • any
    • ProfitCenterText

Implements

Index

Properties

controllingArea

controllingArea: string

Controlling Area. Uniquely identifies a controlling area. The controlling area is the highest organizational unit in Controlling.Whether controlling area and company code are in a 1:1 relationship or a 1:n relationship, the number of posting periods in both controlling area and company code(s) must be identical. However, special periods may vary. Maximum length: 4.

language

language: string

Language Key. The language key indicates

  • the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts. Maximum length: 2.

profitCenter

profitCenter: string

Profit Center. Key which together with the controlling area uniquely identifies a profit center. Maximum length: 10.

profitCenterLongName

profitCenterLongName: string

Long Text. A text that describes the object to which it refers in greater detail. Maximum length: 40.

nullable

profitCenterName

profitCenterName: string

Description of Profit Center. Maximum length: 20.

nullable

toProfitCenter

toProfitCenter: ProfitCenter

One-to-one navigation property to the ProfitCenter entity.

validityEndDate

validityEndDate: Moment

Valid To Date. Date indicating up to when an entry is valid.

validityStartDate

validityStartDate: Moment

Valid-From Date. Date indicating as of when an entry is valid.

nullable

Static ALL_FIELDS

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

All fields selector.

Static CONTROLLING_AREA

CONTROLLING_AREA: StringField<ProfitCenterText> = new StringField('ControllingArea', ProfitCenterText, '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 LANGUAGE

LANGUAGE: StringField<ProfitCenterText> = new StringField('Language', ProfitCenterText, 'Edm.String')

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

Static PROFIT_CENTER

PROFIT_CENTER: StringField<ProfitCenterText> = new StringField('ProfitCenter', ProfitCenterText, 'Edm.String')

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

Static PROFIT_CENTER_LONG_NAME

PROFIT_CENTER_LONG_NAME: StringField<ProfitCenterText> = new StringField('ProfitCenterLongName', ProfitCenterText, 'Edm.String')

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

Static PROFIT_CENTER_NAME

PROFIT_CENTER_NAME: StringField<ProfitCenterText> = new StringField('ProfitCenterName', ProfitCenterText, 'Edm.String')

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

Static TO_PROFIT_CENTER

TO_PROFIT_CENTER: OneToOneLink<ProfitCenterText, ProfitCenter> = new OneToOneLink('to_ProfitCenter', ProfitCenterText, ProfitCenter)

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

Static VALIDITY_END_DATE

VALIDITY_END_DATE: DateField<ProfitCenterText> = new DateField('ValidityEndDate', ProfitCenterText, 'Edm.DateTime')

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

Static VALIDITY_START_DATE

VALIDITY_START_DATE: DateField<ProfitCenterText> = new DateField('ValidityStartDate', ProfitCenterText, 'Edm.DateTime')

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

Static _allFields

_allFields: any[] = [ProfitCenterText.LANGUAGE,ProfitCenterText.CONTROLLING_AREA,ProfitCenterText.PROFIT_CENTER,ProfitCenterText.VALIDITY_END_DATE,ProfitCenterText.VALIDITY_START_DATE,ProfitCenterText.PROFIT_CENTER_NAME,ProfitCenterText.PROFIT_CENTER_LONG_NAME,ProfitCenterText.TO_PROFIT_CENTER]

All fields of the ProfitCenterText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProfitCenterText"

Technical entity name for ProfitCenterText.

Static _keyFields

_keyFields: Array<Selectable<ProfitCenterText>> = [ProfitCenterText.LANGUAGE, ProfitCenterText.CONTROLLING_AREA, ProfitCenterText.PROFIT_CENTER, ProfitCenterText.VALIDITY_END_DATE]

All key fields of the ProfitCenterText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PROFITCENTER_SRV"

Technical service name for ProfitCenterText.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProfitCenterText>

    A builder that constructs instances of entity type ProfitCenterText.

Static requestBuilder

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

    Returns ProfitCenterTextRequestBuilder

    A ProfitCenterText request builder.