/AWS1/CL_AFB=>CREATEBUSINESSREPORTSCHEDULE()
¶
About CreateBusinessReportSchedule¶
Creates a recurring schedule for usage reports to deliver to the specified S3 location with a specified daily or weekly interval.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_format
TYPE /AWS1/AFBBUSINESSREPORTFORMAT
/AWS1/AFBBUSINESSREPORTFORMAT
¶
The format of the generated report (individual CSV files or zipped files of individual files).
io_contentrange
TYPE REF TO /AWS1/CL_AFBBUSINESSRPTCONTR00
/AWS1/CL_AFBBUSINESSRPTCONTR00
¶
The content range of the reports.
Optional arguments:¶
iv_schedulename
TYPE /AWS1/AFBBUSINESSRPTSCHDNAME
/AWS1/AFBBUSINESSRPTSCHDNAME
¶
The name identifier of the schedule.
iv_s3bucketname
TYPE /AWS1/AFBCUSTOMERS3BUCKETNAME
/AWS1/AFBCUSTOMERS3BUCKETNAME
¶
The S3 bucket name of the output reports. If this isn't specified, the report can be retrieved from a download link by calling ListBusinessReportSchedule.
iv_s3keyprefix
TYPE /AWS1/AFBS3KEYPREFIX
/AWS1/AFBS3KEYPREFIX
¶
The S3 key where the report is delivered.
io_recurrence
TYPE REF TO /AWS1/CL_AFBBUSINESSRPTRECUR00
/AWS1/CL_AFBBUSINESSRPTRECUR00
¶
The recurrence of the reports. If this isn't specified, the report will only be delivered one time when the API is called.
iv_clientrequesttoken
TYPE /AWS1/AFBCLIENTREQUESTTOKEN
/AWS1/AFBCLIENTREQUESTTOKEN
¶
The client request token.
it_tags
TYPE /AWS1/CL_AFBTAG=>TT_TAGLIST
TT_TAGLIST
¶
The tags for the business report schedule.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_afbcrebusinessrptsc01
/AWS1/CL_AFBCREBUSINESSRPTSC01
¶
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_afb~createbusinessreportschedule(
io_contentrange = new /aws1/cl_afbbusinessrptcontr00( |string| )
io_recurrence = new /aws1/cl_afbbusinessrptrecur00( |string| )
it_tags = VALUE /aws1/cl_afbtag=>tt_taglist(
(
new /aws1/cl_afbtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_clientrequesttoken = |string|
iv_format = |string|
iv_s3bucketname = |string|
iv_s3keyprefix = |string|
iv_schedulename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_arn = lo_result->get_schedulearn( ).
ENDIF.