Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • any
    • ProductGroup

Implements

Index

Properties

authorizationGroup

authorizationGroup: string

Authorization Group. The authorization group enables you protect access to certain objects. In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group. Maximum length: 4.

nullable

materialGroup

materialGroup: string

Product Group. Key that you use to group together several products or services with the same attributes, and to assign them to a particular product group. You can use material groups to:Restrict the scope of analysesSearch specifically for product master records via search helpsIf you have not defined a material group hierarchy using the classification system, you maintain product groups in Customizing for the Material Master in Define material groups.If you have defined a product group hierarchy, which is normally the case in retail, you maintain product groups in Customizing for Material Groups or from the initial Retailing screen by choosing Master data -> Material group. Maximum length: 9.

toText

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

Static AUTHORIZATION_GROUP

AUTHORIZATION_GROUP: StringField<ProductGroup> = new StringField('AuthorizationGroup', ProductGroup, 'Edm.String')

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

Static MATERIAL_GROUP

MATERIAL_GROUP: StringField<ProductGroup> = new StringField('MaterialGroup', ProductGroup, 'Edm.String')

Static representation of the materialGroup 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<ProductGroup, ProductGroupText> = new Link('to_Text', ProductGroup, ProductGroupText)

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[] = [ProductGroup.MATERIAL_GROUP,ProductGroup.AUTHORIZATION_GROUP,ProductGroup.TO_TEXT]

All fields of the ProductGroup entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductGroup"

Technical entity name for ProductGroup.

Static _keyFields

_keyFields: Array<Selectable<ProductGroup>> = [ProductGroup.MATERIAL_GROUP]

All key fields of the ProductGroup entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCTGROUP_SRV"

Technical service name for ProductGroup.

Methods

Static builder

  • Returns an entity builder to construct instances ProductGroup.

    Returns EntityBuilderType<ProductGroup, ProductGroupType>

    A builder that constructs instances of entity type ProductGroup.

Static requestBuilder

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

    Returns ProductGroupRequestBuilder

    A ProductGroup request builder.