Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "SubscriptionMaintain" of service "CA_BEH_SUBSCRIPTION_SRV". This service is part of the following communication scenarios: Business Event Handling Integration (SAP_COM_0121). See https://api.sap.com/api/CA_BEH_SUBSCRIPTION_SRV for more information.

Hierarchy

  • any
    • SubscriptionMaintain

Implements

Index

Properties

busEventPriority

busEventPriority: number

Subscription priority. Indicates the importance level of a subscription. For example, if the priority of a subscription is 1, then it will hold the most importance.

busEventSubscriberCode

busEventSubscriberCode: string

Subscriber ID. Indicates the unique identification that you use to maintain the business object subscriptions. Maximum length: 4.

busEventSubscriptionStateCode

busEventSubscriptionStateCode: string

State. Indicates whether the subscription is active or inactive. If the value of this field is 1, then the subscription is active. If the value of this field is 0, then the subscription is inactive. When a subscription is created, then by default, it is in Active state. Maximum length: 1.

sapObjectTaskCode

sapObjectTaskCode: string

SAP Object Task Code. Maximum length: 18.

sapObjectType

sapObjectType: string

SAP Object Type. Indicates the name of the business object type. Maximum length: 30.

Static ALL_FIELDS

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

All fields selector.

Static BUS_EVENT_PRIORITY

BUS_EVENT_PRIORITY: NumberField<SubscriptionMaintain> = new NumberField('BusEventPriority', SubscriptionMaintain, 'Edm.Byte')

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

Static BUS_EVENT_SUBSCRIBER_CODE

BUS_EVENT_SUBSCRIBER_CODE: StringField<SubscriptionMaintain> = new StringField('BusEventSubscriberCode', SubscriptionMaintain, 'Edm.String')

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

Static BUS_EVENT_SUBSCRIPTION_STATE_CODE

BUS_EVENT_SUBSCRIPTION_STATE_CODE: StringField<SubscriptionMaintain> = new StringField('BusEventSubscriptionStateCode', SubscriptionMaintain, 'Edm.String')

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

Static SAP_OBJECT_TASK_CODE

SAP_OBJECT_TASK_CODE: StringField<SubscriptionMaintain> = new StringField('SAPObjectTaskCode', SubscriptionMaintain, 'Edm.String')

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

Static SAP_OBJECT_TYPE

SAP_OBJECT_TYPE: StringField<SubscriptionMaintain> = new StringField('SAPObjectType', SubscriptionMaintain, 'Edm.String')

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

Static _allFields

_allFields: any[] = [SubscriptionMaintain.BUS_EVENT_SUBSCRIBER_CODE,SubscriptionMaintain.SAP_OBJECT_TYPE,SubscriptionMaintain.SAP_OBJECT_TASK_CODE,SubscriptionMaintain.BUS_EVENT_SUBSCRIPTION_STATE_CODE,SubscriptionMaintain.BUS_EVENT_PRIORITY]

All fields of the SubscriptionMaintain entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "SubscriptionMaintain"

Technical entity name for SubscriptionMaintain.

Static _keyFields

_keyFields: Array<Selectable<SubscriptionMaintain>> = [SubscriptionMaintain.BUS_EVENT_SUBSCRIBER_CODE, SubscriptionMaintain.SAP_OBJECT_TYPE, SubscriptionMaintain.SAP_OBJECT_TASK_CODE]

All key fields of the SubscriptionMaintain entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "CA_BEH_SUBSCRIPTION_SRV"

Technical service name for SubscriptionMaintain.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SubscriptionMaintain>

    A builder that constructs instances of entity type SubscriptionMaintain.

Static requestBuilder

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

    Returns SubscriptionMaintainRequestBuilder

    A SubscriptionMaintain request builder.