/AWS1/IF_RAM=>LISTRPLPERMASSOCIATIONSWORK()¶
About ListReplacePermissionAssociationsWork¶
Retrieves the current status of the asynchronous tasks performed by RAM when you perform the ReplacePermissionAssociationsWork operation.
Method Signature¶
METHODS /AWS1/IF_RAM~LISTRPLPERMASSOCIATIONSWORK
IMPORTING
!IT_WORKIDS TYPE /AWS1/CL_RAMRPLPERMASSOCIATI00=>TT_RPLPERMASSOCIATIONSWORKID00 OPTIONAL
!IV_STATUS TYPE /AWS1/RAMRPLPERMASSOCIATIONS00 OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/RAMSTRING OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/RAMMAXRESULTS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ramlstrplpermassoci01
RAISING
/AWS1/CX_RAMINVALIDNEXTTOKENEX
/AWS1/CX_RAMINVALIDPARAMETEREX
/AWS1/CX_RAMSERVERINTERNALEX
/AWS1/CX_RAMSERVICEUNAVAILEX
/AWS1/CX_RAMCLIENTEXC
/AWS1/CX_RAMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
it_workids TYPE /AWS1/CL_RAMRPLPERMASSOCIATI00=>TT_RPLPERMASSOCIATIONSWORKID00 TT_RPLPERMASSOCIATIONSWORKID00¶
A list of IDs. These values come from the
idfield of thereplacePermissionAssociationsWorkstructure returned by the ReplacePermissionAssociations operation.
iv_status TYPE /AWS1/RAMRPLPERMASSOCIATIONS00 /AWS1/RAMRPLPERMASSOCIATIONS00¶
Specifies that you want to see only the details about requests with a status that matches this value.
iv_nexttoken TYPE /AWS1/RAMSTRING /AWS1/RAMSTRING¶
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call'sNextTokenresponse to request the next page of results.
iv_maxresults TYPE /AWS1/RAMMAXRESULTS /AWS1/RAMMAXRESULTS¶
Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should checkNextTokenafter every operation to ensure that you receive all of the results.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ramlstrplpermassoci01 /AWS1/CL_RAMLSTRPLPERMASSOCI01¶
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->listrplpermassociationswork(
it_workids = VALUE /aws1/cl_ramrplpermassociati00=>tt_rplpermassociationsworkid00(
( new /aws1/cl_ramrplpermassociati00( |string| ) )
)
iv_maxresults = 123
iv_nexttoken = |string|
iv_status = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_rplpermassociationsworks( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_id( ).
lv_string = lo_row_1->get_frompermissionarn( ).
lv_string = lo_row_1->get_frompermissionversion( ).
lv_string = lo_row_1->get_topermissionarn( ).
lv_string = lo_row_1->get_topermissionversion( ).
lv_replacepermissionassoci = lo_row_1->get_status( ).
lv_string = lo_row_1->get_statusmessage( ).
lv_datetime = lo_row_1->get_creationtime( ).
lv_datetime = lo_row_1->get_lastupdatedtime( ).
ENDIF.
ENDLOOP.
lv_string = lo_result->get_nexttoken( ).
ENDIF.