SAP JB_FTR_API_MFLOW_GETLIST_MULTI Function Module for Massendaten GetDetail API für Hauptbewegungen









JB_FTR_API_MFLOW_GETLIST_MULTI is a standard jb ftr api mflow getlist multi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Massendaten GetDetail API für Hauptbewegungen 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 jb ftr api mflow getlist multi FM, simply by entering the name JB_FTR_API_MFLOW_GETLIST_MULTI into the relevant SAP transaction such as SE37 or SE38.

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



Function JB_FTR_API_MFLOW_GETLIST_MULTI 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 'JB_FTR_API_MFLOW_GETLIST_MULTI'"Massendaten GetDetail API für Hauptbewegungen
EXPORTING
PI_TAB_FTR_KEYS = "Finanzgeschäftsschlüsseltabelle im BAPI-Format
* PI_TAB_VTBFHA = "TRM: Tabellentyp für VTBFHA
* PI_TAB_VTBFHAZU = "Tabellentyp für VTBFHAZU
* PI_TAB_VTBFHAPO = "Treasury: Tabellentyp zu VTBFHAPO
* PI_ACTIVE_STATUS_ONLY = 'X' "Feld zum Ankreuzen
* PI_SIDE = '0' "Seite des Geschäftes

TABLES
MAINFLOWS = "Multiple BAPI-Struktur: Hauptbewegungen
RETURN = "Returnparameter
* ERRORTAB_FTR_KEYS = "Schlüssel zu fehlerhaften Geschäften
.



IMPORTING Parameters details for JB_FTR_API_MFLOW_GETLIST_MULTI

PI_TAB_FTR_KEYS - Finanzgeschäftsschlüsseltabelle im BAPI-Format

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

PI_TAB_VTBFHA - TRM: Tabellentyp für VTBFHA

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

PI_TAB_VTBFHAZU - Tabellentyp für VTBFHAZU

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

PI_TAB_VTBFHAPO - Treasury: Tabellentyp zu VTBFHAPO

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

PI_ACTIVE_STATUS_ONLY - Feld zum Ankreuzen

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

PI_SIDE - Seite des Geschäftes

Data type: VTBFHAPO-RKONDGR
Default: '0'
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for JB_FTR_API_MFLOW_GETLIST_MULTI

MAINFLOWS - Multiple BAPI-Struktur: Hauptbewegungen

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

RETURN - Returnparameter

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

ERRORTAB_FTR_KEYS - Schlüssel zu fehlerhaften Geschäften

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

Copy and paste ABAP code example for JB_FTR_API_MFLOW_GETLIST_MULTI 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_mainflows  TYPE STANDARD TABLE OF JBAPI_FTR_GETDETAIL_MFLOW_MULT, "   
lv_pi_tab_ftr_keys  TYPE VTS_TAB_BAPI_KEY_FTR, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_pi_tab_vtbfha  TYPE FTRY_VTBFHA, "   
lv_pi_tab_vtbfhazu  TYPE FTR_FHAZU, "   
lt_errortab_ftr_keys  TYPE STANDARD TABLE OF VTS_BAPI_KEY_FTR, "   
lv_pi_tab_vtbfhapo  TYPE FTR_FHAPO, "   
lv_pi_active_status_only  TYPE C, "   'X'
lv_pi_side  TYPE VTBFHAPO-RKONDGR. "   '0'

  CALL FUNCTION 'JB_FTR_API_MFLOW_GETLIST_MULTI'  "Massendaten GetDetail API für Hauptbewegungen
    EXPORTING
         PI_TAB_FTR_KEYS = lv_pi_tab_ftr_keys
         PI_TAB_VTBFHA = lv_pi_tab_vtbfha
         PI_TAB_VTBFHAZU = lv_pi_tab_vtbfhazu
         PI_TAB_VTBFHAPO = lv_pi_tab_vtbfhapo
         PI_ACTIVE_STATUS_ONLY = lv_pi_active_status_only
         PI_SIDE = lv_pi_side
    TABLES
         MAINFLOWS = lt_mainflows
         RETURN = lt_return
         ERRORTAB_FTR_KEYS = lt_errortab_ftr_keys
. " JB_FTR_API_MFLOW_GETLIST_MULTI




ABAP code using 7.40 inline data declarations to call FM JB_FTR_API_MFLOW_GETLIST_MULTI

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_pi_active_status_only) = 'X'.
 
"SELECT single RKONDGR FROM VTBFHAPO INTO @DATA(ld_pi_side).
DATA(ld_pi_side) = '0'.
 


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!