Skip to content

/AWS1/CL_BDZFUNCTIONDEFINITION

Defines parameters that the agent needs to invoke from the user to complete the function. Corresponds to an action in an action group.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/BDZRESOURCENAME /AWS1/BDZRESOURCENAME

A name for the function.

Optional arguments:

iv_description TYPE /AWS1/BDZFUNCTIONDESCRIPTION /AWS1/BDZFUNCTIONDESCRIPTION

A description of the function and its purpose.

it_parameters TYPE /AWS1/CL_BDZPARAMETERDETAIL=>TT_PARAMETERMAP TT_PARAMETERMAP

The parameters that the agent elicits from the user to fulfill the function.

iv_requireconfirmation TYPE /AWS1/BDZREQUIRECONFIRMATION /AWS1/BDZREQUIRECONFIRMATION

Contains information if user confirmation is required to invoke the function.


Queryable Attributes

name

A name for the function.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

description

A description of the function and its purpose.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

parameters

The parameters that the agent elicits from the user to fulfill the function.

Accessible with the following methods

Method Description
GET_PARAMETERS() Getter for PARAMETERS, with configurable default
ASK_PARAMETERS() Getter for PARAMETERS w/ exceptions if field has no value
HAS_PARAMETERS() Determine if PARAMETERS has a value

requireConfirmation

Contains information if user confirmation is required to invoke the function.

Accessible with the following methods

Method Description
GET_REQUIRECONFIRMATION() Getter for REQUIRECONFIRMATION, with configurable default
ASK_REQUIRECONFIRMATION() Getter for REQUIRECONFIRMATION w/ exceptions if field has no
HAS_REQUIRECONFIRMATION() Determine if REQUIRECONFIRMATION 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_FUNCTIONS

TYPES TT_FUNCTIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDZFUNCTIONDEFINITION WITH DEFAULT KEY
.