SAP FAGL_GET_ARCH_ITEMS_FAGLBSAS Function Module for









FAGL_GET_ARCH_ITEMS_FAGLBSAS is a standard fagl get arch items faglbsas 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 fagl get arch items faglbsas FM, simply by entering the name FAGL_GET_ARCH_ITEMS_FAGLBSAS into the relevant SAP transaction such as SE37 or SE38.

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



Function FAGL_GET_ARCH_ITEMS_FAGLBSAS 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 'FAGL_GET_ARCH_ITEMS_FAGLBSAS'"
EXPORTING
I_SELECTION = "
* I_FIELDLIST = "
* I_BLOCKSIZE = "
* I_BLOCK_DATA = GUSL_C_FALSE "FI-SL Dynamic Read Modules: General Flags
* I_AGGREGATION = GUSL_C_FALSE "FI-SL Dynamic Read Modules: General Flags
* I_READ_BSEG = GUSL_C_FALSE "FI-SL Dynamic Read Modules: General Flags
I_ARCH_SEL = "Ranking table for archive file
* I_MAX_LINES = "Maximum Number of Items

IMPORTING
FLAG_CURSOR_OPEN = "Checkbox

CHANGING
C_T_FAGLPOSE = "Table Type for FAGLPOSX
* C_T_BKPF = "Table with BKPF Lines
* C_T_BSEG = "Table with BSEG Lines
.



IMPORTING Parameters details for FAGL_GET_ARCH_ITEMS_FAGLBSAS

I_SELECTION -

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

I_FIELDLIST -

Data type: GUSL_T_FIELDS
Optional: Yes
Call by Reference: Yes

I_BLOCKSIZE -

Data type: I
Optional: Yes
Call by Reference: Yes

I_BLOCK_DATA - FI-SL Dynamic Read Modules: General Flags

Data type: GUSL_BOOL
Default: GUSL_C_FALSE
Optional: Yes
Call by Reference: Yes

I_AGGREGATION - FI-SL Dynamic Read Modules: General Flags

Data type: GUSL_BOOL
Default: GUSL_C_FALSE
Optional: Yes
Call by Reference: Yes

I_READ_BSEG - FI-SL Dynamic Read Modules: General Flags

Data type: GUSL_BOOL
Default: GUSL_C_FALSE
Optional: Yes
Call by Reference: Yes

I_ARCH_SEL - Ranking table for archive file

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

I_MAX_LINES - Maximum Number of Items

Data type: NMAX_IT
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FAGL_GET_ARCH_ITEMS_FAGLBSAS

FLAG_CURSOR_OPEN - Checkbox

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

CHANGING Parameters details for FAGL_GET_ARCH_ITEMS_FAGLBSAS

C_T_FAGLPOSE - Table Type for FAGLPOSX

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

C_T_BKPF - Table with BKPF Lines

Data type: FAGL_T_BKPF
Optional: Yes
Call by Reference: Yes

C_T_BSEG - Table with BSEG Lines

Data type: FAGL_T_BSEG
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for FAGL_GET_ARCH_ITEMS_FAGLBSAS 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_selection  TYPE GUSL_T_SELECTION, "   
lv_c_t_faglpose  TYPE FAGLPOSE_T, "   
lv_flag_cursor_open  TYPE FLAG, "   
lv_c_t_bkpf  TYPE FAGL_T_BKPF, "   
lv_i_fieldlist  TYPE GUSL_T_FIELDS, "   
lv_c_t_bseg  TYPE FAGL_T_BSEG, "   
lv_i_blocksize  TYPE I, "   
lv_i_block_data  TYPE GUSL_BOOL, "   GUSL_C_FALSE
lv_i_aggregation  TYPE GUSL_BOOL, "   GUSL_C_FALSE
lv_i_read_bseg  TYPE GUSL_BOOL, "   GUSL_C_FALSE
lv_i_arch_sel  TYPE AS_T_RNG_ARCHIV, "   
lv_i_max_lines  TYPE NMAX_IT. "   

  CALL FUNCTION 'FAGL_GET_ARCH_ITEMS_FAGLBSAS'  "
    EXPORTING
         I_SELECTION = lv_i_selection
         I_FIELDLIST = lv_i_fieldlist
         I_BLOCKSIZE = lv_i_blocksize
         I_BLOCK_DATA = lv_i_block_data
         I_AGGREGATION = lv_i_aggregation
         I_READ_BSEG = lv_i_read_bseg
         I_ARCH_SEL = lv_i_arch_sel
         I_MAX_LINES = lv_i_max_lines
    IMPORTING
         FLAG_CURSOR_OPEN = lv_flag_cursor_open
    CHANGING
         C_T_FAGLPOSE = lv_c_t_faglpose
         C_T_BKPF = lv_c_t_bkpf
         C_T_BSEG = lv_c_t_bseg
. " FAGL_GET_ARCH_ITEMS_FAGLBSAS




ABAP code using 7.40 inline data declarations to call FM FAGL_GET_ARCH_ITEMS_FAGLBSAS

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_block_data) = GUSL_C_FALSE.
 
DATA(ld_i_aggregation) = GUSL_C_FALSE.
 
DATA(ld_i_read_bseg) = GUSL_C_FALSE.
 
 
 


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!