SAP POWLR_ASYNC_COLLECT_ACTIONS Function Module for Remote POWL Async Collection of Actions
POWLR_ASYNC_COLLECT_ACTIONS is a standard powlr async collect actions SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Remote POWL Async Collection of Actions processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for powlr async collect actions FM, simply by entering the name POWLR_ASYNC_COLLECT_ACTIONS into the relevant SAP transaction such as SE37 or SE38.
Function Group: POWLR_FUGR
Program Name: SAPLPOWLR_FUGR
Main Program: SAPLPOWLR_FUGR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function POWLR_ASYNC_COLLECT_ACTIONS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'POWLR_ASYNC_COLLECT_ACTIONS'"Remote POWL Async Collection of Actions.
EXPORTING
I_POWL_CONTEXT = "Provides Remote POWL information
I_SELCRIT_VALS = "rsparams Table
I_DESTINATIONS = "POWL Remote Function Call Destination
IMPORTING
E_STATUS_FLAGS = "Remote POWL Status List
E_ACTIONS = "Remaote POWL action meta description
E_MESSAGES = "Remote POWL Message META description
IMPORTING Parameters details for POWLR_ASYNC_COLLECT_ACTIONS
I_POWL_CONTEXT - Provides Remote POWL information
Data type: POWLR_CONTEXT_STYOptional: No
Call by Reference: Yes
I_SELCRIT_VALS - rsparams Table
Data type: RSPARAMS_TTOptional: No
Call by Reference: Yes
I_DESTINATIONS - POWL Remote Function Call Destination
Data type: POWLR_RFCDEST_TTYOptional: No
Call by Reference: Yes
EXPORTING Parameters details for POWLR_ASYNC_COLLECT_ACTIONS
E_STATUS_FLAGS - Remote POWL Status List
Data type: POWLR_STATUS_TTYOptional: No
Call by Reference: Yes
E_ACTIONS - Remaote POWL action meta description
Data type: POWLR_ACTDEF_TTYOptional: No
Call by Reference: Yes
E_MESSAGES - Remote POWL Message META description
Data type: POWLR_MSG_TTYOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for POWLR_ASYNC_COLLECT_ACTIONS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_e_status_flags | TYPE POWLR_STATUS_TTY, " | |||
| lv_i_powl_context | TYPE POWLR_CONTEXT_STY, " | |||
| lv_e_actions | TYPE POWLR_ACTDEF_TTY, " | |||
| lv_i_selcrit_vals | TYPE RSPARAMS_TT, " | |||
| lv_e_messages | TYPE POWLR_MSG_TTY, " | |||
| lv_i_destinations | TYPE POWLR_RFCDEST_TTY. " |
|   CALL FUNCTION 'POWLR_ASYNC_COLLECT_ACTIONS' "Remote POWL Async Collection of Actions |
| EXPORTING | ||
| I_POWL_CONTEXT | = lv_i_powl_context | |
| I_SELCRIT_VALS | = lv_i_selcrit_vals | |
| I_DESTINATIONS | = lv_i_destinations | |
| IMPORTING | ||
| E_STATUS_FLAGS | = lv_e_status_flags | |
| E_ACTIONS | = lv_e_actions | |
| E_MESSAGES | = lv_e_messages | |
| . " POWLR_ASYNC_COLLECT_ACTIONS | ||
ABAP code using 7.40 inline data declarations to call FM POWLR_ASYNC_COLLECT_ACTIONS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects