Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • any
    • BusinessArea

Implements

Index

Properties

businessArea

businessArea: string

Business Area. Key that uniquely identifies a business area. Maximum length: 4.

toText

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

Static ALL_FIELDS

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

All fields selector.

Static BUSINESS_AREA

BUSINESS_AREA: StringField<BusinessArea> = new StringField('BusinessArea', BusinessArea, 'Edm.String')

Static representation of the businessArea 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<BusinessArea, BusinessAreaText> = new Link('to_Text', BusinessArea, BusinessAreaText)

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[] = [BusinessArea.BUSINESS_AREA,BusinessArea.TO_TEXT]

All fields of the BusinessArea entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_BusinessArea"

Technical entity name for BusinessArea.

Static _keyFields

_keyFields: Array<Selectable<BusinessArea>> = [BusinessArea.BUSINESS_AREA]

All key fields of the BusinessArea entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_BUSINESSAREA_SRV"

Technical service name for BusinessArea.

Methods

Static builder

  • Returns an entity builder to construct instances BusinessArea.

    Returns EntityBuilderType<BusinessArea, BusinessAreaType>

    A builder that constructs instances of entity type BusinessArea.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<BusinessArea>

    A builder that constructs instances of entity type BusinessArea.

Static requestBuilder

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

    Returns BusinessAreaRequestBuilder

    A BusinessArea request builder.