Skip to content

/AWS1/CL_PZEITEM

Represents item metadata added to an Items dataset using the PutItems API. For more information see Importing items individually.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_itemid TYPE /AWS1/PZESTRINGTYPE /AWS1/PZESTRINGTYPE

The ID associated with the item.

Optional arguments:

iv_properties TYPE /AWS1/PZESYNTHEDJSONITEMPRPS /AWS1/PZESYNTHEDJSONITEMPRPS

A string map of item-specific metadata. Each element in the map consists of a key-value pair. For example, {"numberOfRatings": "12"}.

The keys use camel case names that match the fields in the schema for the Items dataset. In the previous example, the numberOfRatings matches the 'NUMBER_OF_RATINGS' field defined in the Items schema. For categorical string data, to include multiple categories for a single item, separate each category with a pipe separator (|). For example, \"Horror|Action\".


Queryable Attributes

itemId

The ID associated with the item.

Accessible with the following methods

Method Description
GET_ITEMID() Getter for ITEMID, with configurable default
ASK_ITEMID() Getter for ITEMID w/ exceptions if field has no value
HAS_ITEMID() Determine if ITEMID has a value

properties

A string map of item-specific metadata. Each element in the map consists of a key-value pair. For example, {"numberOfRatings": "12"}.

The keys use camel case names that match the fields in the schema for the Items dataset. In the previous example, the numberOfRatings matches the 'NUMBER_OF_RATINGS' field defined in the Items schema. For categorical string data, to include multiple categories for a single item, separate each category with a pipe separator (|). For example, \"Horror|Action\".

Accessible with the following methods

Method Description
GET_PROPERTIES() Getter for PROPERTIES, with configurable default
ASK_PROPERTIES() Getter for PROPERTIES w/ exceptions if field has no value
HAS_PROPERTIES() Determine if PROPERTIES has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ITEMLIST

TYPES TT_ITEMLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PZEITEM WITH DEFAULT KEY
.