SAP RSAO_CREATE_LAUNCH_FILE Function Module for Creates Analysis Office Launch File
RSAO_CREATE_LAUNCH_FILE is a standard rsao create launch file SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Creates Analysis Office Launch File 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 rsao create launch file FM, simply by entering the name RSAO_CREATE_LAUNCH_FILE into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSAO_CORE
Program Name: SAPLRSAO_CORE
Main Program: SAPLRSAO_CORE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSAO_CREATE_LAUNCH_FILE 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 'RSAO_CREATE_LAUNCH_FILE'"Creates Analysis Office Launch File.
EXPORTING
I_APPLICATION = "Analysis Office Object Type (Excel or Powerpoint)
I_OBJECT_TYPE = "Analysis Office Launch Open Type
I_OBJECT_ID = "
* I_FORCE_REFRESH = ABAP_FALSE "
* I_FORCE_PROMPTS = "
* I_T_VARIABLES = "Analysis Office Launch: Variable Table
IMPORTING
E_LAUNCHER_XML = "
E_FILE_EXTENSION = "
E_MIME_TYPE = "
IMPORTING Parameters details for RSAO_CREATE_LAUNCH_FILE
I_APPLICATION - Analysis Office Object Type (Excel or Powerpoint)
Data type: RSAO_OBJTYPEOptional: No
Call by Reference: Yes
I_OBJECT_TYPE - Analysis Office Launch Open Type
Data type: RSAO_LAUNCH_OPEN_TYPEOptional: No
Call by Reference: Yes
I_OBJECT_ID -
Data type: STRINGOptional: No
Call by Reference: Yes
I_FORCE_REFRESH -
Data type: ABAP_BOOLDefault: ABAP_FALSE
Optional: Yes
Call by Reference: Yes
I_FORCE_PROMPTS -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: Yes
I_T_VARIABLES - Analysis Office Launch: Variable Table
Data type: RSAO_T_LAUNCH_VAROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RSAO_CREATE_LAUNCH_FILE
E_LAUNCHER_XML -
Data type: XSTRINGOptional: No
Call by Reference: Yes
E_FILE_EXTENSION -
Data type: STRINGOptional: No
Call by Reference: Yes
E_MIME_TYPE -
Data type: STRINGOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSAO_CREATE_LAUNCH_FILE 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_i_application | TYPE RSAO_OBJTYPE, " | |||
| lv_e_launcher_xml | TYPE XSTRING, " | |||
| lv_i_object_type | TYPE RSAO_LAUNCH_OPEN_TYPE, " | |||
| lv_e_file_extension | TYPE STRING, " | |||
| lv_e_mime_type | TYPE STRING, " | |||
| lv_i_object_id | TYPE STRING, " | |||
| lv_i_force_refresh | TYPE ABAP_BOOL, " ABAP_FALSE | |||
| lv_i_force_prompts | TYPE ABAP_BOOL, " | |||
| lv_i_t_variables | TYPE RSAO_T_LAUNCH_VAR. " |
|   CALL FUNCTION 'RSAO_CREATE_LAUNCH_FILE' "Creates Analysis Office Launch File |
| EXPORTING | ||
| I_APPLICATION | = lv_i_application | |
| I_OBJECT_TYPE | = lv_i_object_type | |
| I_OBJECT_ID | = lv_i_object_id | |
| I_FORCE_REFRESH | = lv_i_force_refresh | |
| I_FORCE_PROMPTS | = lv_i_force_prompts | |
| I_T_VARIABLES | = lv_i_t_variables | |
| IMPORTING | ||
| E_LAUNCHER_XML | = lv_e_launcher_xml | |
| E_FILE_EXTENSION | = lv_e_file_extension | |
| E_MIME_TYPE | = lv_e_mime_type | |
| . " RSAO_CREATE_LAUNCH_FILE | ||
ABAP code using 7.40 inline data declarations to call FM RSAO_CREATE_LAUNCH_FILE
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.| DATA(ld_i_force_refresh) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects