Skip to content

/AWS1/CL_BGT=>UPDATEBUDGET()

About UpdateBudget

Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until Amazon Web Services has new usage data to use for forecasting.

Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

Method Signature

IMPORTING

Required arguments:

IV_ACCOUNTID TYPE /AWS1/BGTACCOUNTID /AWS1/BGTACCOUNTID

The accountId that is associated with the budget that you want to update.

IO_NEWBUDGET TYPE REF TO /AWS1/CL_BGTBUDGET /AWS1/CL_BGTBUDGET

The budget that you want to update your budget to.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BGTUPDATEBUDGETRSP /AWS1/CL_BGTUPDATEBUDGETRSP