Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductBasicText" of service "API_PRODUCT_SRV". This service is part of the following communication scenarios: Distributed Manufacturing Integration (SAP_COM_0077), SAP Analytics Cloud for Planning Integration (SAP_COM_0087), Product Integration (SAP_COM_0009). See https://api.sap.com/api/API_PRODUCT_SRV for more information.

Hierarchy

  • any
    • ProductBasicText

Implements

Index

Properties

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.

longText

longText: string

String.

nullable

product

product: string

Material Number. Alphanumeric key uniquely identifying the material. Maximum length: 40.

Static ALL_FIELDS

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

All fields selector.

Static LANGUAGE

LANGUAGE: StringField<ProductBasicText> = new StringField('Language', ProductBasicText, '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 LONG_TEXT

LONG_TEXT: StringField<ProductBasicText> = new StringField('LongText', ProductBasicText, 'Edm.String')

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

Static PRODUCT

PRODUCT: StringField<ProductBasicText> = new StringField('Product', ProductBasicText, 'Edm.String')

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

Static _allFields

_allFields: any[] = [ProductBasicText.PRODUCT,ProductBasicText.LANGUAGE,ProductBasicText.LONG_TEXT]

All fields of the ProductBasicText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductBasicText"

Technical entity name for ProductBasicText.

Static _keyFields

_keyFields: Array<Selectable<ProductBasicText>> = [ProductBasicText.PRODUCT, ProductBasicText.LANGUAGE]

All key fields of the ProductBasicText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductBasicText.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductBasicText>

    A builder that constructs instances of entity type ProductBasicText.

Static requestBuilder

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

    Returns ProductBasicTextRequestBuilder

    A ProductBasicText request builder.