Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • any
    • DefectClassText

Implements

Index

Properties

defectClass

defectClass: string

Defect Class. Categorizes the possible defects into classes according to a defect valuation based on the results caused by the defect. Defects are usually assigned to one of three classes: critical defect, major defect, or minor defect. Maximum length: 2.

defectClassText

defectClassText: string

Short Text. Text up to 40 characters in length that describes the object. 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 DEFECT_CLASS

DEFECT_CLASS: StringField<DefectClassText> = new StringField('DefectClass', DefectClassText, 'Edm.String')

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

Static DEFECT_CLASS_TEXT

DEFECT_CLASS_TEXT: StringField<DefectClassText> = new StringField('DefectClassText', DefectClassText, 'Edm.String')

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

Static LANGUAGE

LANGUAGE: StringField<DefectClassText> = new StringField('Language', DefectClassText, '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[] = [DefectClassText.DEFECT_CLASS,DefectClassText.LANGUAGE,DefectClassText.DEFECT_CLASS_TEXT]

All fields of the DefectClassText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_DefectClassText"

Technical entity name for DefectClassText.

Static _keyFields

_keyFields: Array<Selectable<DefectClassText>> = [DefectClassText.DEFECT_CLASS, DefectClassText.LANGUAGE]

All key fields of the DefectClassText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_DEFECTCLASS_SRV"

Technical service name for DefectClassText.

Methods

Static builder

  • Returns an entity builder to construct instances DefectClassText.

    Returns EntityBuilderType<DefectClassText, DefectClassTextType>

    A builder that constructs instances of entity type DefectClassText.

Static requestBuilder

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

    Returns DefectClassTextRequestBuilder

    A DefectClassText request builder.