SAP G_GET_SI_TABLE_FROM_BUFFER Function Module for









G_GET_SI_TABLE_FROM_BUFFER is a standard g get si table from buffer 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 get si table from buffer FM, simply by entering the name G_GET_SI_TABLE_FROM_BUFFER into the relevant SAP transaction such as SE37 or SE38.

Function Group: GLIN
Program Name: SAPLGLIN
Main Program: SAPLGLIN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function G_GET_SI_TABLE_FROM_BUFFER 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_GET_SI_TABLE_FROM_BUFFER'"
EXPORTING
* IV_LEDGER = ' ' "
* IV_RESET_BUFFERS_AFTERWARDS = 'X' "

IMPORTING
ET_SINGLE_ITEMS = "Line Items
ET_COEJRA = "Table Type CO Object: LI Statistical Values - Year-Based
ET_COEPR = "Table Type CO Object: LI Statistical Key Figures
ET_GLU1 = "Table with GLU1 Structure
ET_ACCHD = "Table Type Document Header of Accounting Document
ET_ACCIT = "Table Type Accounting Document Line Items
ET_ACCCR = "Accounting Interface: Currency Information
ET_COBK = "Table for Document Headers
ET_COEP = "Table Type: COEP
ET_COIOB = "Table Type COIOB
ET_COEJA = "Standard Table for COEJA

EXCEPTIONS
LEDGER_NOT_ACTIVE = 1 WRONG_INPUT = 2
.



IMPORTING Parameters details for G_GET_SI_TABLE_FROM_BUFFER

IV_LEDGER -

Data type: RLDNR
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_RESET_BUFFERS_AFTERWARDS -

Data type: BOOLE_D
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for G_GET_SI_TABLE_FROM_BUFFER

ET_SINGLE_ITEMS - Line Items

Data type: ANY TABLE
Optional: No
Call by Reference: Yes

ET_COEJRA - Table Type CO Object: LI Statistical Values - Year-Based

Data type: FI_SL_COEJRA_T
Optional: No
Call by Reference: Yes

ET_COEPR - Table Type CO Object: LI Statistical Key Figures

Data type: FI_SL_COEPR_T
Optional: No
Call by Reference: Yes

ET_GLU1 - Table with GLU1 Structure

Data type: FAGL_T_GLU1
Optional: No
Call by Reference: Yes

ET_ACCHD - Table Type Document Header of Accounting Document

Data type: FI_SL_ACCHD_T
Optional: No
Call by Reference: Yes

ET_ACCIT - Table Type Accounting Document Line Items

Data type: FI_SL_ACCIT_T
Optional: No
Call by Reference: Yes

ET_ACCCR - Accounting Interface: Currency Information

Data type: FAGL_ACCCR_T
Optional: No
Call by Reference: Yes

ET_COBK - Table for Document Headers

Data type: TTCOBK
Optional: No
Call by Reference: Yes

ET_COEP - Table Type: COEP

Data type: TT_COEP
Optional: No
Call by Reference: Yes

ET_COIOB - Table Type COIOB

Data type: TT_COIOB
Optional: No
Call by Reference: Yes

ET_COEJA - Standard Table for COEJA

Data type: COEJATAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

LEDGER_NOT_ACTIVE -

Data type:
Optional: No
Call by Reference: Yes

WRONG_INPUT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for G_GET_SI_TABLE_FROM_BUFFER 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_ledger  TYPE RLDNR, "   SPACE
lv_et_single_items  TYPE ANY TABLE, "   
lv_ledger_not_active  TYPE ANY TABLE, "   
lv_et_coejra  TYPE FI_SL_COEJRA_T, "   
lv_et_coepr  TYPE FI_SL_COEPR_T, "   
lv_et_glu1  TYPE FAGL_T_GLU1, "   
lv_wrong_input  TYPE FAGL_T_GLU1, "   
lv_iv_reset_buffers_afterwards  TYPE BOOLE_D, "   'X'
lv_et_acchd  TYPE FI_SL_ACCHD_T, "   
lv_et_accit  TYPE FI_SL_ACCIT_T, "   
lv_et_acccr  TYPE FAGL_ACCCR_T, "   
lv_et_cobk  TYPE TTCOBK, "   
lv_et_coep  TYPE TT_COEP, "   
lv_et_coiob  TYPE TT_COIOB, "   
lv_et_coeja  TYPE COEJATAB. "   

  CALL FUNCTION 'G_GET_SI_TABLE_FROM_BUFFER'  "
    EXPORTING
         IV_LEDGER = lv_iv_ledger
         IV_RESET_BUFFERS_AFTERWARDS = lv_iv_reset_buffers_afterwards
    IMPORTING
         ET_SINGLE_ITEMS = lv_et_single_items
         ET_COEJRA = lv_et_coejra
         ET_COEPR = lv_et_coepr
         ET_GLU1 = lv_et_glu1
         ET_ACCHD = lv_et_acchd
         ET_ACCIT = lv_et_accit
         ET_ACCCR = lv_et_acccr
         ET_COBK = lv_et_cobk
         ET_COEP = lv_et_coep
         ET_COIOB = lv_et_coiob
         ET_COEJA = lv_et_coeja
    EXCEPTIONS
        LEDGER_NOT_ACTIVE = 1
        WRONG_INPUT = 2
. " G_GET_SI_TABLE_FROM_BUFFER




ABAP code using 7.40 inline data declarations to call FM G_GET_SI_TABLE_FROM_BUFFER

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_ledger) = ' '.
 
 
 
 
 
 
 
DATA(ld_iv_reset_buffers_afterwards) = 'X'.
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!