Skip to content

/AWS1/CL_MPIRESOURCE

A resource that provides supplementary information about a product, such as documentation links, support contacts, or usage instructions.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_resourcetype TYPE /AWS1/MPIRESOURCETYPE /AWS1/MPIRESOURCETYPE

The category of the resource, such as manufacturer support or usage instructions.

iv_contenttype TYPE /AWS1/MPIRESOURCECONTENTTYPE /AWS1/MPIRESOURCECONTENTTYPE

The format of the resource content, such as a URL, email address, or text.

iv_value TYPE /AWS1/MPINONEMPTYSTRING /AWS1/MPINONEMPTYSTRING

The resource content. Interpretation depends on the content type.

Optional arguments:

iv_displayname TYPE /AWS1/MPINULLABLESTRING /AWS1/MPINULLABLESTRING

An optional human-readable label for the resource.


Queryable Attributes

resourceType

The category of the resource, such as manufacturer support or usage instructions.

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

contentType

The format of the resource content, such as a URL, email address, or text.

Accessible with the following methods

Method Description
GET_CONTENTTYPE() Getter for CONTENTTYPE, with configurable default
ASK_CONTENTTYPE() Getter for CONTENTTYPE w/ exceptions if field has no value
HAS_CONTENTTYPE() Determine if CONTENTTYPE has a value

value

The resource content. Interpretation depends on the content type.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
HAS_VALUE() Determine if VALUE has a value

displayName

An optional human-readable label for the resource.

Accessible with the following methods

Method Description
GET_DISPLAYNAME() Getter for DISPLAYNAME, with configurable default
ASK_DISPLAYNAME() Getter for DISPLAYNAME w/ exceptions if field has no value
HAS_DISPLAYNAME() Determine if DISPLAYNAME 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_RESOURCELIST

TYPES TT_RESOURCELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MPIRESOURCE WITH DEFAULT KEY
.