/AWS1/IF_BLD=>DELETEREPORTGROUP()¶
About DeleteReportGroup¶
Deletes a report group. Before you delete a report group, you must delete its reports.
Method Signature¶
METHODS /AWS1/IF_BLD~DELETEREPORTGROUP
IMPORTING
!IV_ARN TYPE /AWS1/BLDNONEMPTYSTRING OPTIONAL
!IV_DELETEREPORTS TYPE /AWS1/BLDBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_blddeleterptgroupout
RAISING
/AWS1/CX_BLDINVALIDINPUTEX
/AWS1/CX_BLDCLIENTEXC
/AWS1/CX_BLDSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_arn TYPE /AWS1/BLDNONEMPTYSTRING /AWS1/BLDNONEMPTYSTRING¶
The ARN of the report group to delete.
Optional arguments:¶
iv_deletereports TYPE /AWS1/BLDBOOLEAN /AWS1/BLDBOOLEAN¶
If
true, deletes any reports that belong to a report group before deleting the report group.If
false, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you callDeleteReportGroupfor a report group that contains one or more reports, an exception is thrown.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_blddeleterptgroupout /AWS1/CL_BLDDELETERPTGROUPOUT¶
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->deletereportgroup(
iv_arn = |string|
iv_deletereports = ABAP_TRUE
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.