Skip to content

/AWS1/CL_PRI=>GETPRODUCTS()

About GetProducts

Returns a list of all products that match the filter criteria.

Method Signature

IMPORTING

Required arguments:

IV_SERVICECODE TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The code for the service whose products you want to retrieve.

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_PRIFILTER=>TT_FILTERS TT_FILTERS

The list of filters that limit the returned products. only products that match all filters are returned.

IV_FORMATVERSION TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The format version that you want the response to be in.

Valid values are: aws_v1

IV_NEXTTOKEN TYPE /AWS1/PRISTRING /AWS1/PRISTRING

The pagination token that indicates the next set of results that you want to retrieve.

IV_MAXRESULTS TYPE /AWS1/PRIBOXEDINTEGER /AWS1/PRIBOXEDINTEGER

The maximum number of results to return in the response.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PRIGETPRODUCTSRSP /AWS1/CL_PRIGETPRODUCTSRSP