SAP G_SET_SET_BUFFER_METHOD Function Module for
G_SET_SET_BUFFER_METHOD is a standard g set set buffer method 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 set set buffer method FM, simply by entering the name G_SET_SET_BUFFER_METHOD into the relevant SAP transaction such as SE37 or SE38.
Function Group: GSAC
Program Name: SAPLGSAC
Main Program: SAPLGSAC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function G_SET_SET_BUFFER_METHOD 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_SET_SET_BUFFER_METHOD'".
EXPORTING
* IV_REMOTE = "
IV_METHOD = "
* IV_BATCH = "
* IV_COMPR = ' ' "
* IV_MEM_SIZE = "
* IV_NO_DESCR = "
* IV_UPDATE = "
* IV_REFRESH = "
* IV_START_UPD_JOB = "
EXCEPTIONS
BUFFER_LOCKED = 1
IMPORTING Parameters details for G_SET_SET_BUFFER_METHOD
IV_REMOTE -
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_METHOD -
Data type: SETBUFOptional: No
Call by Reference: No ( called with pass by value option)
IV_BATCH -
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_COMPR -
Data type: BOOLEANDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_MEM_SIZE -
Data type: IOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_NO_DESCR -
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_UPDATE -
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_REFRESH -
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_START_UPD_JOB -
Data type: BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BUFFER_LOCKED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for G_SET_SET_BUFFER_METHOD 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_iv_remote | TYPE BOOLEAN, " | |||
| lv_buffer_locked | TYPE BOOLEAN, " | |||
| lv_iv_method | TYPE SETBUF, " | |||
| lv_iv_batch | TYPE BOOLEAN, " | |||
| lv_iv_compr | TYPE BOOLEAN, " SPACE | |||
| lv_iv_mem_size | TYPE I, " | |||
| lv_iv_no_descr | TYPE BOOLEAN, " | |||
| lv_iv_update | TYPE BOOLEAN, " | |||
| lv_iv_refresh | TYPE BOOLEAN, " | |||
| lv_iv_start_upd_job | TYPE BOOLEAN. " |
|   CALL FUNCTION 'G_SET_SET_BUFFER_METHOD' " |
| EXPORTING | ||
| IV_REMOTE | = lv_iv_remote | |
| IV_METHOD | = lv_iv_method | |
| IV_BATCH | = lv_iv_batch | |
| IV_COMPR | = lv_iv_compr | |
| IV_MEM_SIZE | = lv_iv_mem_size | |
| IV_NO_DESCR | = lv_iv_no_descr | |
| IV_UPDATE | = lv_iv_update | |
| IV_REFRESH | = lv_iv_refresh | |
| IV_START_UPD_JOB | = lv_iv_start_upd_job | |
| EXCEPTIONS | ||
| BUFFER_LOCKED = 1 | ||
| . " G_SET_SET_BUFFER_METHOD | ||
ABAP code using 7.40 inline data declarations to call FM G_SET_SET_BUFFER_METHOD
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_iv_compr) | = ' '. | |||
Search for further information about these or an SAP related objects