Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "CostCenter" of service "API_GRMASTERDATA_SRV". This service is part of the following communication scenarios: Finance - Cloud Consolidation Data Collection Integration (SAP_COM_0241), Finance - Cloud Consolidation Master Data for Group Reporting Integration (SAP_COM_0336). See https://api.sap.com/api/API_GRMASTERDATA_SRV for more information.

Hierarchy

  • any
    • CostCenter

Implements

Index

Properties

additionalMasterDataSource

additionalMasterDataSource: string

Master Data Source. Maximum length: 10.

nullable

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.

costCenter

costCenter: string

Cost Center. A key that uniquely identifies a cost center. Maximum length: 10.

costCenterText

costCenterText: string

Cost Center Name. Maximum length: 20.

nullable

toCnsldtnCostCenterHier

toCnsldtnCostCenterHier: CostCenterHier[]

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

toCnsldtnCostCenterT

toCnsldtnCostCenterT: CostCenterText[]

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

Static ADDITIONAL_MASTER_DATA_SOURCE

ADDITIONAL_MASTER_DATA_SOURCE: StringField<CostCenter> = new StringField('AdditionalMasterDataSource', CostCenter, 'Edm.String')

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

Static CONTROLLING_AREA

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

COST_CENTER: StringField<CostCenter> = new StringField('CostCenter', CostCenter, 'Edm.String')

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

Static COST_CENTER_TEXT

COST_CENTER_TEXT: StringField<CostCenter> = new StringField('CostCenter_Text', CostCenter, 'Edm.String')

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

Static TO_CNSLDTN_COST_CENTER_HIER

TO_CNSLDTN_COST_CENTER_HIER: Link<CostCenter, CostCenterHier> = new Link('to_CnsldtnCostCenterHier', CostCenter, CostCenterHier)

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

Static TO_CNSLDTN_COST_CENTER_T

TO_CNSLDTN_COST_CENTER_T: Link<CostCenter, CostCenterText> = new Link('to_CnsldtnCostCenterT', CostCenter, CostCenterText)

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

Static _allFields

_allFields: any[] = [CostCenter.COST_CENTER,CostCenter.COST_CENTER_TEXT,CostCenter.CONTROLLING_AREA,CostCenter.ADDITIONAL_MASTER_DATA_SOURCE,CostCenter.TO_CNSLDTN_COST_CENTER_HIER,CostCenter.TO_CNSLDTN_COST_CENTER_T]

All fields of the CostCenter entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "CostCenter"

Technical entity name for CostCenter.

Static _keyFields

_keyFields: Array<Selectable<CostCenter>> = [CostCenter.COST_CENTER, CostCenter.CONTROLLING_AREA]

All key fields of the CostCenter entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_GRMASTERDATA_SRV"

Technical service name for CostCenter.

Methods

Static builder

  • Returns an entity builder to construct instances CostCenter.

    Returns EntityBuilderType<CostCenter, CostCenterType>

    A builder that constructs instances of entity type CostCenter.

Static requestBuilder

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

    Returns CostCenterRequestBuilder

    A CostCenter request builder.