Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductUnitsOfMeasure" 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
    • ProductUnitsOfMeasure

Implements

Index

Properties

alternativeUnit

alternativeUnit: string

Alternative Unit of Measure for Stockkeeping Unit. Unit of measure in which quantities can be entered alternatively to the base unit of measure / stockkeeping unit. Maximum length: 3.

capacityUsage

capacityUsage: BigNumber

Capacity Usage.

nullable

globalTradeItemNumber

globalTradeItemNumber: string

International Article Number (EAN/UPC). Glossary definition. Maximum length: 18.

nullable

globalTradeItemNumberCategory

globalTradeItemNumberCategory: string

Category of International Article Number (EAN). Defines how the system determines an International Article Number (EAN) to be assigned internally, and which check criteria (check digit, prefix, and so on) an EAN of this category must fulfil. Maximum length: 2.

nullable

grossWeight

grossWeight: BigNumber

Gross Weight. Gross weight expressed in the unit of weight specified by you in the Unit of weight field.

nullable

lowerLevelPackagingUnit

lowerLevelPackagingUnit: string

Lower-Level Unit of Measure in a Packing Hierarchy. Your base unit of measure is piece. 12 pieces fit into a box, and 10 boxes fit onto a pallet. In this case, piece is the lower-level unit of measure with regard to box, and box is the lower-level unit of measure with regard to pallet. Conversely, pallet is the higher-level unit of measure with regard to box, and so on. Maximum length: 3.

nullable

materialVolume

materialVolume: BigNumber

Volume. Space that the material occupies per unit of volume. The volume refers to the unit specified in the "Volume unit" field. The volume and its unit always refer to the base unit of measure.

nullable

maximumStackingFactor

maximumStackingFactor: number

Maximum Stacking Factor. Specifies the allowed stacking factor. You can use the maximum stacking factor, for example, to specify how many pieces of a material, or how many crates can be placed on top of each other. The factor is quantity-dependent.

nullable

product

product: string

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

productMeasurementUnit

productMeasurementUnit: string

Unit of Dimension for Length/Width/Height. Unit in which the dimensions of length, breadth, and height of a material or its packaging are measured. Maximum length: 3.

nullable

quantityDenominator

quantityDenominator: BigNumber

Denominator for conversion to base units of measure. Denominator of the quotient that specifies the ratio of the alternative unit of measure to the base unit of measure. To convert a quantity, whose unit of measure is not the same as the base unit of measure, into the base unit of measure, the system requires a quotient:Quantity (in alternative unit of measure) = quotient * quantity (in base unit of measure)Enter the number of units of the alternative unit of measure (denominator) that corresponds to the number of units of the base unit of measure (numerator).The alternative unit of measure is kilogram (kg). The base unit of measure is piece (PC). 5 kg correspond to 3 pieces.5 kg = 3 PC => 1 kg = 3/5 PCIn this case, the quotient is therefore 3/5 (the numerator being 3 and the denominator 5).You may enter only whole numbers in the numerator and denominator fields; that is, if 3.14 m² correspond to one piece, you must enter integer multiples (314 m² = 100 PC). In this case, the quotient is therefore 100/314 (the numerator being 100 and the denominator 314).

nullable

quantityNumerator

quantityNumerator: BigNumber

Numerator for Conversion to Base Units of Measure. Numerator of the quotient that specifies the ratio of the alternative unit of measure to the base unit of measure. To convert a quantity, whose unit of measure is not the same as the base unit of measure, into the base unit of measure, the system requires a quotient:Quantity (in alternative unit of measure) = quotient * quantity (in base unit of measure)Enter the number of units of the alternative unit of measure (denominator) that corresponds to the number of units of the base unit of measure (numerator).The alternative unit of measure is kilogram (kg). The base unit of measure is piece (PC). 5 kg correspond to 3 pieces.5 kg = 3 PC => 1 kg = 3/5 PCIn this case, the quotient is therefore 3/5 (the numerator being 3 and the denominator 5).You may enter only whole numbers in the numerator and denominator fields; that is, if 3.14 m² correspond to one piece, you must enter integer multiples (314 m² = 100 PC). In this case, the quotient is therefore 100/314 (the numerator being 100 and the denominator 314).

nullable

remainingVolumeAfterNesting

remainingVolumeAfterNesting: BigNumber

Remaining Volume after Nesting (in Percentage). Describes the remaining volume in percent when two materials are stacked inside each other. For example, if you place a cup on another cup, the volume of the first cup remains the same. However, since part of the second cup disappears into the first cup, the volume of the second cup is reduced.This data element describes the remaining volume of the first cup as a percentage of the 'normal' volume.

nullable

toInternationalArticleNumber

toInternationalArticleNumber: ProductUnitsOfMeasureEan[]

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

unitSpecificProductHeight

unitSpecificProductHeight: BigNumber

Height. Height of the material or its packaging, measured in the unit of dimension.

nullable

unitSpecificProductLength

unitSpecificProductLength: BigNumber

Length. Length of the material or its packaging, measured in the unit of dimension.

nullable

unitSpecificProductWidth

unitSpecificProductWidth: BigNumber

Width. Breadth of the material or its packaging, measured in the unit of dimension.

nullable

volumeUnit

volumeUnit: string

Volume Unit. Unit referring to the volume of the material. If you specify a volume, you have to enter the corresponding volume unit here. Maximum length: 3.

nullable

weightUnit

weightUnit: string

Unit of Weight. Unit referring to the gross weight or net weight of the material. If you specify a weight, you must enter the corresponding unit of weight here. Maximum length: 3.

nullable

Static ALL_FIELDS

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

All fields selector.

Static ALTERNATIVE_UNIT

ALTERNATIVE_UNIT: StringField<ProductUnitsOfMeasure> = new StringField('AlternativeUnit', ProductUnitsOfMeasure, 'Edm.String')

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

Static CAPACITY_USAGE

CAPACITY_USAGE: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('CapacityUsage', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static GLOBAL_TRADE_ITEM_NUMBER

GLOBAL_TRADE_ITEM_NUMBER: StringField<ProductUnitsOfMeasure> = new StringField('GlobalTradeItemNumber', ProductUnitsOfMeasure, 'Edm.String')

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

Static GLOBAL_TRADE_ITEM_NUMBER_CATEGORY

GLOBAL_TRADE_ITEM_NUMBER_CATEGORY: StringField<ProductUnitsOfMeasure> = new StringField('GlobalTradeItemNumberCategory', ProductUnitsOfMeasure, 'Edm.String')

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

Static GROSS_WEIGHT

GROSS_WEIGHT: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('GrossWeight', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static LOWER_LEVEL_PACKAGING_UNIT

LOWER_LEVEL_PACKAGING_UNIT: StringField<ProductUnitsOfMeasure> = new StringField('LowerLevelPackagingUnit', ProductUnitsOfMeasure, 'Edm.String')

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

Static MATERIAL_VOLUME

MATERIAL_VOLUME: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('MaterialVolume', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static MAXIMUM_STACKING_FACTOR

MAXIMUM_STACKING_FACTOR: NumberField<ProductUnitsOfMeasure> = new NumberField('MaximumStackingFactor', ProductUnitsOfMeasure, 'Edm.Byte')

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

Static PRODUCT

PRODUCT: StringField<ProductUnitsOfMeasure> = new StringField('Product', ProductUnitsOfMeasure, '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 PRODUCT_MEASUREMENT_UNIT

PRODUCT_MEASUREMENT_UNIT: StringField<ProductUnitsOfMeasure> = new StringField('ProductMeasurementUnit', ProductUnitsOfMeasure, 'Edm.String')

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

Static QUANTITY_DENOMINATOR

QUANTITY_DENOMINATOR: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('QuantityDenominator', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static QUANTITY_NUMERATOR

QUANTITY_NUMERATOR: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('QuantityNumerator', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static REMAINING_VOLUME_AFTER_NESTING

REMAINING_VOLUME_AFTER_NESTING: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('RemainingVolumeAfterNesting', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static TO_INTERNATIONAL_ARTICLE_NUMBER

TO_INTERNATIONAL_ARTICLE_NUMBER: Link<ProductUnitsOfMeasure, ProductUnitsOfMeasureEan> = new Link('to_InternationalArticleNumber', ProductUnitsOfMeasure, ProductUnitsOfMeasureEan)

Static representation of the one-to-many navigation property toInternationalArticleNumber for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static UNIT_SPECIFIC_PRODUCT_HEIGHT

UNIT_SPECIFIC_PRODUCT_HEIGHT: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('UnitSpecificProductHeight', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static UNIT_SPECIFIC_PRODUCT_LENGTH

UNIT_SPECIFIC_PRODUCT_LENGTH: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('UnitSpecificProductLength', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static UNIT_SPECIFIC_PRODUCT_WIDTH

UNIT_SPECIFIC_PRODUCT_WIDTH: BigNumberField<ProductUnitsOfMeasure> = new BigNumberField('UnitSpecificProductWidth', ProductUnitsOfMeasure, 'Edm.Decimal')

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

Static VOLUME_UNIT

VOLUME_UNIT: StringField<ProductUnitsOfMeasure> = new StringField('VolumeUnit', ProductUnitsOfMeasure, 'Edm.String')

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

Static WEIGHT_UNIT

WEIGHT_UNIT: StringField<ProductUnitsOfMeasure> = new StringField('WeightUnit', ProductUnitsOfMeasure, 'Edm.String')

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

Static _allFields

_allFields: any[] = [ProductUnitsOfMeasure.PRODUCT,ProductUnitsOfMeasure.ALTERNATIVE_UNIT,ProductUnitsOfMeasure.QUANTITY_NUMERATOR,ProductUnitsOfMeasure.QUANTITY_DENOMINATOR,ProductUnitsOfMeasure.MATERIAL_VOLUME,ProductUnitsOfMeasure.VOLUME_UNIT,ProductUnitsOfMeasure.GROSS_WEIGHT,ProductUnitsOfMeasure.WEIGHT_UNIT,ProductUnitsOfMeasure.GLOBAL_TRADE_ITEM_NUMBER,ProductUnitsOfMeasure.GLOBAL_TRADE_ITEM_NUMBER_CATEGORY,ProductUnitsOfMeasure.UNIT_SPECIFIC_PRODUCT_LENGTH,ProductUnitsOfMeasure.UNIT_SPECIFIC_PRODUCT_WIDTH,ProductUnitsOfMeasure.UNIT_SPECIFIC_PRODUCT_HEIGHT,ProductUnitsOfMeasure.PRODUCT_MEASUREMENT_UNIT,ProductUnitsOfMeasure.LOWER_LEVEL_PACKAGING_UNIT,ProductUnitsOfMeasure.REMAINING_VOLUME_AFTER_NESTING,ProductUnitsOfMeasure.MAXIMUM_STACKING_FACTOR,ProductUnitsOfMeasure.CAPACITY_USAGE,ProductUnitsOfMeasure.TO_INTERNATIONAL_ARTICLE_NUMBER]

All fields of the ProductUnitsOfMeasure entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductUnitsOfMeasure"

Technical entity name for ProductUnitsOfMeasure.

Static _keyFields

_keyFields: Array<Selectable<ProductUnitsOfMeasure>> = [ProductUnitsOfMeasure.PRODUCT, ProductUnitsOfMeasure.ALTERNATIVE_UNIT]

All key fields of the ProductUnitsOfMeasure entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"

Technical service name for ProductUnitsOfMeasure.

Methods

Static builder

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductUnitsOfMeasure>

    A builder that constructs instances of entity type ProductUnitsOfMeasure.

Static requestBuilder

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

    Returns ProductUnitsOfMeasureRequestBuilder

    A ProductUnitsOfMeasure request builder.