SAP FILL_BEST_BEWEG_STACK_ZIGESCH Function Module for Hilfs-FB Selektion im SWAP-Style.
FILL_BEST_BEWEG_STACK_ZIGESCH is a standard fill best beweg stack zigesch SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Hilfs-FB Selektion im SWAP-Style. 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 fill best beweg stack zigesch FM, simply by entering the name FILL_BEST_BEWEG_STACK_ZIGESCH into the relevant SAP transaction such as SE37 or SE38.
Function Group: JBDSEL
Program Name: SAPLJBDSEL
Main Program: SAPLJBDSEL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FILL_BEST_BEWEG_STACK_ZIGESCH 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 'FILL_BEST_BEWEG_STACK_ZIGESCH'"Hilfs-FB Selektion im SWAP-Style..
CHANGING
C_BEST_TAB = "wird nur sortiert. IS-B: Geschäftsinformation für die Selektion
C_BEWEG_TAB = "wird nur sortiert
* C_STACK_TAB = "wird nur sortiert
C_NOM_BETRAEGE_TAB = "wird nur sortiert
E_JBSEL_EXT_TAB = "An dieser Tabelle werden weitere Geschäfte angehängt.
TABLES
T_BAPIERR = "OR: structure of error-handling
CHANGING Parameters details for FILL_BEST_BEWEG_STACK_ZIGESCH
C_BEST_TAB - wird nur sortiert. IS-B: Geschäftsinformation für die Selektion
Data type: TRTS_TFHAOptional: No
Call by Reference: Yes
C_BEWEG_TAB - wird nur sortiert
Data type: TRTS_TFHAPOOptional: No
Call by Reference: Yes
C_STACK_TAB - wird nur sortiert
Data type: TRTS_STACKOptional: Yes
Call by Reference: Yes
C_NOM_BETRAEGE_TAB - wird nur sortiert
Data type: TRDE_TAB_NOMOptional: No
Call by Reference: Yes
E_JBSEL_EXT_TAB - An dieser Tabelle werden weitere Geschäfte angehängt.
Data type: JBSEL_EXT_TABOptional: No
Call by Reference: Yes
TABLES Parameters details for FILL_BEST_BEWEG_STACK_ZIGESCH
T_BAPIERR - OR: structure of error-handling
Data type: BAPIERROptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FILL_BEST_BEWEG_STACK_ZIGESCH 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: | ||||
| lt_t_bapierr | TYPE STANDARD TABLE OF BAPIERR, " | |||
| lv_c_best_tab | TYPE TRTS_TFHA, " | |||
| lv_c_beweg_tab | TYPE TRTS_TFHAPO, " | |||
| lv_c_stack_tab | TYPE TRTS_STACK, " | |||
| lv_c_nom_betraege_tab | TYPE TRDE_TAB_NOM, " | |||
| lv_e_jbsel_ext_tab | TYPE JBSEL_EXT_TAB. " |
|   CALL FUNCTION 'FILL_BEST_BEWEG_STACK_ZIGESCH' "Hilfs-FB Selektion im SWAP-Style. |
| CHANGING | ||
| C_BEST_TAB | = lv_c_best_tab | |
| C_BEWEG_TAB | = lv_c_beweg_tab | |
| C_STACK_TAB | = lv_c_stack_tab | |
| C_NOM_BETRAEGE_TAB | = lv_c_nom_betraege_tab | |
| E_JBSEL_EXT_TAB | = lv_e_jbsel_ext_tab | |
| TABLES | ||
| T_BAPIERR | = lt_t_bapierr | |
| . " FILL_BEST_BEWEG_STACK_ZIGESCH | ||
ABAP code using 7.40 inline data declarations to call FM FILL_BEST_BEWEG_STACK_ZIGESCH
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.Search for further information about these or an SAP related objects