Skip to content

/AWS1/CL_BGT=>DESCRIBEBUDGETACTION()

About DescribeBudgetAction

Describes a budget action detail.

Method Signature

IMPORTING

Required arguments:

iv_accountid TYPE /AWS1/BGTACCOUNTID /AWS1/BGTACCOUNTID

AccountId

iv_budgetname TYPE /AWS1/BGTBUDGETNAME /AWS1/BGTBUDGETNAME

BudgetName

iv_actionid TYPE /AWS1/BGTACTIONID /AWS1/BGTACTIONID

A system-generated universally unique identifier (UUID) for the action.

RETURNING

oo_output TYPE REF TO /aws1/cl_bgtdescrbudgetactrsp /AWS1/CL_BGTDESCRBUDGETACTRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->/aws1/if_bgt~describebudgetaction(
  iv_accountid = |string|
  iv_actionid = |string|
  iv_budgetname = |string|
).

This is an example of reading all possible response values

lv_accountid = lo_result->get_accountid( ).
lv_budgetname = lo_result->get_budgetname( ).
lv_actionid = lo_action->get_actionid( ).
lv_budgetname = lo_action->get_budgetname( ).
lv_notificationtype = lo_action->get_notificationtype( ).
lv_actiontype = lo_action->get_actiontype( ).
lv_notificationthreshold = lo_actionthreshold->get_actionthresholdvalue( ).
lv_thresholdtype = lo_actionthreshold->get_actionthresholdtype( ).
lv_policyarn = lo_iamactiondefinition->get_policyarn( ).
LOOP AT lo_iamactiondefinition->get_roles( ) into lo_row.
  lv_role = lo_row_1->get_value( ).
ENDLOOP.
LOOP AT lo_iamactiondefinition->get_groups( ) into lo_row_2.
  lv_group = lo_row_3->get_value( ).
ENDLOOP.
LOOP AT lo_iamactiondefinition->get_users( ) into lo_row_4.
  lv_user = lo_row_5->get_value( ).
ENDLOOP.
lv_policyid = lo_scpactiondefinition->get_policyid( ).
LOOP AT lo_scpactiondefinition->get_targetids( ) into lo_row_6.
  lv_targetid = lo_row_7->get_value( ).
ENDLOOP.
lv_actionsubtype = lo_ssmactiondefinition->get_actionsubtype( ).
lv_region = lo_ssmactiondefinition->get_region( ).
LOOP AT lo_ssmactiondefinition->get_instanceids( ) into lo_row_8.
  lv_instanceid = lo_row_9->get_value( ).
ENDLOOP.
lv_rolearn = lo_action->get_executionrolearn( ).
lv_approvalmodel = lo_action->get_approvalmodel( ).
lv_actionstatus = lo_action->get_status( ).
LOOP AT lo_action->get_subscribers( ) into lo_row_10.
  lv_subscriptiontype = lo_row_11->get_subscriptiontype( ).
  lv_subscriberaddress = lo_row_11->get_address( ).
ENDLOOP.