Skip to content

/AWS1/CL_PPMMETALIBRARYTMPLDEF

Defines the complete structure and content of a template in Meta's library.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_templatename TYPE /AWS1/PPMMETATEMPLATENAME /AWS1/PPMMETATEMPLATENAME

The name of the template.

iv_templatelanguage TYPE /AWS1/PPMMETATEMPLATELANGUAGE /AWS1/PPMMETATEMPLATELANGUAGE

The language code for the template (for example, en_US).

iv_templatecategory TYPE /AWS1/PPMMETATEMPLATECATEGORY /AWS1/PPMMETATEMPLATECATEGORY

The category of the template (for example, UTILITY or MARKETING).

iv_templatetopic TYPE /AWS1/PPMMETATEMPLATETOPIC /AWS1/PPMMETATEMPLATETOPIC

The topic or subject matter of the template.

iv_templateusecase TYPE /AWS1/PPMMETATEMPLATEUSECASE /AWS1/PPMMETATEMPLATEUSECASE

The intended use case for the template.

it_templateindustry TYPE /AWS1/CL_PPMMETAINDUSTRIES_W=>TT_METAINDUSTRIES TT_METAINDUSTRIES

The industries the template is designed for.

iv_templateheader TYPE /AWS1/PPMMETATEMPLATEHEADER /AWS1/PPMMETATEMPLATEHEADER

The header text of the template.

iv_templatebody TYPE /AWS1/PPMMETATEMPLATEBODY /AWS1/PPMMETATEMPLATEBODY

The body text of the template.

it_templatebuttons TYPE /AWS1/CL_PPMLIBRARYTMPLBUTTO01=>TT_METALIBRARYTMPLBUTTONLIST TT_METALIBRARYTMPLBUTTONLIST

The buttons included in the template.

iv_templateid TYPE /AWS1/PPMMETATEMPLATEID /AWS1/PPMMETATEMPLATEID

The ID of the template in Meta's library.


Queryable Attributes

templateName

The name of the template.

Accessible with the following methods

Method Description
GET_TEMPLATENAME() Getter for TEMPLATENAME, with configurable default
ASK_TEMPLATENAME() Getter for TEMPLATENAME w/ exceptions if field has no value
HAS_TEMPLATENAME() Determine if TEMPLATENAME has a value

templateLanguage

The language code for the template (for example, en_US).

Accessible with the following methods

Method Description
GET_TEMPLATELANGUAGE() Getter for TEMPLATELANGUAGE, with configurable default
ASK_TEMPLATELANGUAGE() Getter for TEMPLATELANGUAGE w/ exceptions if field has no va
HAS_TEMPLATELANGUAGE() Determine if TEMPLATELANGUAGE has a value

templateCategory

The category of the template (for example, UTILITY or MARKETING).

Accessible with the following methods

Method Description
GET_TEMPLATECATEGORY() Getter for TEMPLATECATEGORY, with configurable default
ASK_TEMPLATECATEGORY() Getter for TEMPLATECATEGORY w/ exceptions if field has no va
HAS_TEMPLATECATEGORY() Determine if TEMPLATECATEGORY has a value

templateTopic

The topic or subject matter of the template.

Accessible with the following methods

Method Description
GET_TEMPLATETOPIC() Getter for TEMPLATETOPIC, with configurable default
ASK_TEMPLATETOPIC() Getter for TEMPLATETOPIC w/ exceptions if field has no value
HAS_TEMPLATETOPIC() Determine if TEMPLATETOPIC has a value

templateUseCase

The intended use case for the template.

Accessible with the following methods

Method Description
GET_TEMPLATEUSECASE() Getter for TEMPLATEUSECASE, with configurable default
ASK_TEMPLATEUSECASE() Getter for TEMPLATEUSECASE w/ exceptions if field has no val
HAS_TEMPLATEUSECASE() Determine if TEMPLATEUSECASE has a value

templateIndustry

The industries the template is designed for.

Accessible with the following methods

Method Description
GET_TEMPLATEINDUSTRY() Getter for TEMPLATEINDUSTRY, with configurable default
ASK_TEMPLATEINDUSTRY() Getter for TEMPLATEINDUSTRY w/ exceptions if field has no va
HAS_TEMPLATEINDUSTRY() Determine if TEMPLATEINDUSTRY has a value

templateHeader

The header text of the template.

Accessible with the following methods

Method Description
GET_TEMPLATEHEADER() Getter for TEMPLATEHEADER, with configurable default
ASK_TEMPLATEHEADER() Getter for TEMPLATEHEADER w/ exceptions if field has no valu
HAS_TEMPLATEHEADER() Determine if TEMPLATEHEADER has a value

templateBody

The body text of the template.

Accessible with the following methods

Method Description
GET_TEMPLATEBODY() Getter for TEMPLATEBODY, with configurable default
ASK_TEMPLATEBODY() Getter for TEMPLATEBODY w/ exceptions if field has no value
HAS_TEMPLATEBODY() Determine if TEMPLATEBODY has a value

templateButtons

The buttons included in the template.

Accessible with the following methods

Method Description
GET_TEMPLATEBUTTONS() Getter for TEMPLATEBUTTONS, with configurable default
ASK_TEMPLATEBUTTONS() Getter for TEMPLATEBUTTONS w/ exceptions if field has no val
HAS_TEMPLATEBUTTONS() Determine if TEMPLATEBUTTONS has a value

templateId

The ID of the template in Meta's library.

Accessible with the following methods

Method Description
GET_TEMPLATEID() Getter for TEMPLATEID, with configurable default
ASK_TEMPLATEID() Getter for TEMPLATEID w/ exceptions if field has no value
HAS_TEMPLATEID() Determine if TEMPLATEID 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_METALIBRARYTEMPLATESLIST

TYPES TT_METALIBRARYTEMPLATESLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PPMMETALIBRARYTMPLDEF WITH DEFAULT KEY
.