Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_DefectCodeText" of service "API_DEFECTCODE_SRV". This service is part of the following communication scenarios: Defect Processing Integration (SAP_COM_0153). See https://api.sap.com/api/API_DEFECTCODE_SRV for more information.

Hierarchy

  • any
    • DefectCodeText

Implements

Index

Properties

defectCode

defectCode: string

Defect Code. Maximum length: 4.

defectCodeGroup

defectCodeGroup: string

Defect Code Group. Maximum length: 8.

defectCodeText

defectCodeText: string

Short Text for Code. Text of up to 40 characters that describes the object in more detail. This description is also known as short text. Maximum length: 40.

nullable

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.

Static ALL_FIELDS

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

All fields selector.

Static DEFECT_CODE

DEFECT_CODE: StringField<DefectCodeText> = new StringField('DefectCode', DefectCodeText, 'Edm.String')

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

Static DEFECT_CODE_GROUP

DEFECT_CODE_GROUP: StringField<DefectCodeText> = new StringField('DefectCodeGroup', DefectCodeText, 'Edm.String')

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

Static DEFECT_CODE_TEXT

DEFECT_CODE_TEXT: StringField<DefectCodeText> = new StringField('DefectCodeText', DefectCodeText, 'Edm.String')

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

Static LANGUAGE

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

_allFields: any[] = [DefectCodeText.DEFECT_CODE_GROUP,DefectCodeText.DEFECT_CODE,DefectCodeText.LANGUAGE,DefectCodeText.DEFECT_CODE_TEXT]

All fields of the DefectCodeText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_DefectCodeText"

Technical entity name for DefectCodeText.

Static _keyFields

_keyFields: Array<Selectable<DefectCodeText>> = [DefectCodeText.DEFECT_CODE_GROUP, DefectCodeText.DEFECT_CODE, DefectCodeText.LANGUAGE]

All key fields of the DefectCodeText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_DEFECTCODE_SRV"

Technical service name for DefectCodeText.

Methods

Static builder

  • Returns an entity builder to construct instances DefectCodeText.

    Returns EntityBuilderType<DefectCodeText, DefectCodeTextType>

    A builder that constructs instances of entity type DefectCodeText.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<DefectCodeText>

    A builder that constructs instances of entity type DefectCodeText.

Static requestBuilder

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

    Returns DefectCodeTextRequestBuilder

    A DefectCodeText request builder.