SAP G_EXPORT_PARAMETERS_GET Function Module for
G_EXPORT_PARAMETERS_GET is a standard g export parameters get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 g export parameters get FM, simply by entering the name G_EXPORT_PARAMETERS_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: GRWO
Program Name: SAPLGRWO
Main Program: SAPLGRWO
Appliation area: G
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function G_EXPORT_PARAMETERS_GET 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 'G_EXPORT_PARAMETERS_GET'".
EXPORTING
* NO_DEVICE_CHANGE = ' ' "Indicator: No change of output device
* DISPLAY_ONLY = ' ' "Indicator: Only display
* FLAG_ALLOW_SAVE = ' ' "Indicator: Saving parameters is possible
* FLAG_MAINTAIN_DEFAULTS = ' ' "
* FLAG_CLEAR_VARS = ' ' "
IMPORTING
FLAG_SAVE_PARAMETERS = "Indicator: Save parameters as default values
CHANGING
* DEVICE = ' ' "Output Medium
* FORMAT = ' ' "Output Format
* FORMAT1 = ' ' "Output Format (Addition)
* FILE_NAME = ' ' "File Name
* PC_FORMAT = ' ' "
* PC_PROGRAM = ' ' "
* PC_COMMAND = ' ' "
* PC_EXPORT_ONLY = ' ' "
EXCEPTIONS
CANCELED = 1
IMPORTING Parameters details for G_EXPORT_PARAMETERS_GET
NO_DEVICE_CHANGE - Indicator: No change of output device
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DISPLAY_ONLY - Indicator: Only display
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLAG_ALLOW_SAVE - Indicator: Saving parameters is possible
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLAG_MAINTAIN_DEFAULTS -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLAG_CLEAR_VARS -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for G_EXPORT_PARAMETERS_GET
FLAG_SAVE_PARAMETERS - Indicator: Save parameters as default values
Data type: LGRWO-SAVE_PARMSOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for G_EXPORT_PARAMETERS_GET
DEVICE - Output Medium
Data type: RGRWA-OUT_DEVIDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
FORMAT - Output Format
Data type: RGRWA-OUT_FORMDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
FORMAT1 - Output Format (Addition)
Data type: OUT_FORM1Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
FILE_NAME - File Name
Data type: LGRWO-OUT_FILEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PC_FORMAT -
Data type: LGRWO-PC_FORMATDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PC_PROGRAM -
Data type: LGRWO-RW_PROGRAMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PC_COMMAND -
Data type: LGRWO-RW_COMMANDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PC_EXPORT_ONLY -
Data type: LGRWO-RW_EXPONLYDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CANCELED - Processing terminated
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for G_EXPORT_PARAMETERS_GET 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_device | TYPE RGRWA-OUT_DEVI, " ' ' | |||
| lv_canceled | TYPE RGRWA, " | |||
| lv_no_device_change | TYPE RGRWA, " SPACE | |||
| lv_flag_save_parameters | TYPE LGRWO-SAVE_PARMS, " | |||
| lv_format | TYPE RGRWA-OUT_FORM, " ' ' | |||
| lv_display_only | TYPE RGRWA, " SPACE | |||
| lv_format1 | TYPE OUT_FORM1, " ' ' | |||
| lv_flag_allow_save | TYPE OUT_FORM1, " SPACE | |||
| lv_file_name | TYPE LGRWO-OUT_FILE, " SPACE | |||
| lv_flag_maintain_defaults | TYPE LGRWO, " SPACE | |||
| lv_pc_format | TYPE LGRWO-PC_FORMAT, " SPACE | |||
| lv_flag_clear_vars | TYPE LGRWO, " SPACE | |||
| lv_pc_program | TYPE LGRWO-RW_PROGRAM, " SPACE | |||
| lv_pc_command | TYPE LGRWO-RW_COMMAND, " SPACE | |||
| lv_pc_export_only | TYPE LGRWO-RW_EXPONLY. " SPACE |
|   CALL FUNCTION 'G_EXPORT_PARAMETERS_GET' " |
| EXPORTING | ||
| NO_DEVICE_CHANGE | = lv_no_device_change | |
| DISPLAY_ONLY | = lv_display_only | |
| FLAG_ALLOW_SAVE | = lv_flag_allow_save | |
| FLAG_MAINTAIN_DEFAULTS | = lv_flag_maintain_defaults | |
| FLAG_CLEAR_VARS | = lv_flag_clear_vars | |
| IMPORTING | ||
| FLAG_SAVE_PARAMETERS | = lv_flag_save_parameters | |
| CHANGING | ||
| DEVICE | = lv_device | |
| FORMAT | = lv_format | |
| FORMAT1 | = lv_format1 | |
| FILE_NAME | = lv_file_name | |
| PC_FORMAT | = lv_pc_format | |
| PC_PROGRAM | = lv_pc_program | |
| PC_COMMAND | = lv_pc_command | |
| PC_EXPORT_ONLY | = lv_pc_export_only | |
| EXCEPTIONS | ||
| CANCELED = 1 | ||
| . " G_EXPORT_PARAMETERS_GET | ||
ABAP code using 7.40 inline data declarations to call FM G_EXPORT_PARAMETERS_GET
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.| "SELECT single OUT_DEVI FROM RGRWA INTO @DATA(ld_device). | ||||
| DATA(ld_device) | = ' '. | |||
| DATA(ld_no_device_change) | = ' '. | |||
| "SELECT single SAVE_PARMS FROM LGRWO INTO @DATA(ld_flag_save_parameters). | ||||
| "SELECT single OUT_FORM FROM RGRWA INTO @DATA(ld_format). | ||||
| DATA(ld_format) | = ' '. | |||
| DATA(ld_display_only) | = ' '. | |||
| DATA(ld_format1) | = ' '. | |||
| DATA(ld_flag_allow_save) | = ' '. | |||
| "SELECT single OUT_FILE FROM LGRWO INTO @DATA(ld_file_name). | ||||
| DATA(ld_file_name) | = ' '. | |||
| DATA(ld_flag_maintain_defaults) | = ' '. | |||
| "SELECT single PC_FORMAT FROM LGRWO INTO @DATA(ld_pc_format). | ||||
| DATA(ld_pc_format) | = ' '. | |||
| DATA(ld_flag_clear_vars) | = ' '. | |||
| "SELECT single RW_PROGRAM FROM LGRWO INTO @DATA(ld_pc_program). | ||||
| DATA(ld_pc_program) | = ' '. | |||
| "SELECT single RW_COMMAND FROM LGRWO INTO @DATA(ld_pc_command). | ||||
| DATA(ld_pc_command) | = ' '. | |||
| "SELECT single RW_EXPONLY FROM LGRWO INTO @DATA(ld_pc_export_only). | ||||
| DATA(ld_pc_export_only) | = ' '. | |||
Search for further information about these or an SAP related objects