HRASR_PROCESS_EXECUTE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name HRASR_PROCESS_EXECUTE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRASR_SERVICES
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'HRASR_PROCESS_EXECUTE' "Process execute RFC
EXPORTING
* iv_process = " asr_process Process name
* iv_wi_id = " sww_wiid Workitem ID
* iv_object_key = " asr_object_key Object key
* iv_initiator_role = 'HRASRA' " asr_initiator_role Initiator role
iv_event = " syucomm Event to be executed
* iv_update_in_same_task = " boole_d Update in same task
* iv_async_background_save = " boole_d Async background save
IMPORTING
ev_is_ok = " char1 Is processing OK?
et_messages = " hrasr_return_tab Messages
ev_process_ref_number = " asr_reference_number Process Reference Number
ev_confirmation_text = " string Confirmation text for form scenario stage
* CHANGING
* ct_attachments = " hrasr00attachment_tab Attachments
* ct_form_field_values = " hrasr_special_param_tab Values of the form fields
* ct_input_help_values = " hrasr_special_param_tab Input helps for fields
* ct_field_ui_attributes = " hrasr_uiattribute_param_tab UI Attributes for a Field
* ct_events = " hrasr00form_events_tab Form events table type
* ct_link_lists = " hrasr00link_tab Hyperlinks
* ct_history_details = " hrasr00step_attributes_ui_tab History details
. " HRASR_PROCESS_EXECUTE
The ABAP code below is a full code listing to execute function module HRASR_PROCESS_EXECUTE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_ev_is_ok | TYPE CHAR1 , |
| ld_et_messages | TYPE HRASR_RETURN_TAB , |
| ld_ev_process_ref_number | TYPE ASR_REFERENCE_NUMBER , |
| ld_ev_confirmation_text | TYPE STRING . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ct_attachments | TYPE HRASR00ATTACHMENT_TAB , |
| ld_ev_is_ok | TYPE CHAR1 , |
| ld_iv_process | TYPE ASR_PROCESS , |
| ld_ct_form_field_values | TYPE HRASR_SPECIAL_PARAM_TAB , |
| ld_et_messages | TYPE HRASR_RETURN_TAB , |
| ld_iv_wi_id | TYPE SWW_WIID , |
| ld_ct_input_help_values | TYPE HRASR_SPECIAL_PARAM_TAB , |
| ld_ev_process_ref_number | TYPE ASR_REFERENCE_NUMBER , |
| ld_iv_object_key | TYPE ASR_OBJECT_KEY , |
| ld_ct_field_ui_attributes | TYPE HRASR_UIATTRIBUTE_PARAM_TAB , |
| ld_ev_confirmation_text | TYPE STRING , |
| ld_iv_initiator_role | TYPE ASR_INITIATOR_ROLE , |
| ld_ct_events | TYPE HRASR00FORM_EVENTS_TAB , |
| ld_iv_event | TYPE SYUCOMM , |
| ld_ct_link_lists | TYPE HRASR00LINK_TAB , |
| ld_iv_update_in_same_task | TYPE BOOLE_D , |
| ld_ct_history_details | TYPE HRASR00STEP_ATTRIBUTES_UI_TAB , |
| ld_iv_async_background_save | TYPE BOOLE_D . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name HRASR_PROCESS_EXECUTE or its description.
HRASR_PROCESS_EXECUTE - Process execute RFC HRASR_OADP_ORG - Get Organizational Unit ID and Text of Position HRASR_FILL_ORGTREE_COLUMNS - OADP Fill standard columns HRASR00_REFERENCE_NO_SHLP_EXIT - Search helps exits:Process filtration HRASR00_PROCESS_SHELP_EXIT - Search helps exits:Process filtration HRASR00_PERSG_SHLP_EXIT - Function group for Start Segment