SAP JB_FTR_API_SWAP_MULT_GETDETAIL Function Module for Massendaten für SWAPs
JB_FTR_API_SWAP_MULT_GETDETAIL is a standard jb ftr api swap mult getdetail 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 für SWAPs 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 swap mult getdetail FM, simply by entering the name JB_FTR_API_SWAP_MULT_GETDETAIL into the relevant SAP transaction such as SE37 or SE38.
Function Group: JB_FTR_BAPI_SWAP_MULTI
Program Name: SAPLJB_FTR_BAPI_SWAP_MULTI
Main Program: SAPLJB_FTR_BAPI_SWAP_MULTI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JB_FTR_API_SWAP_MULT_GETDETAIL 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_SWAP_MULT_GETDETAIL'"Massendaten für SWAPs.
EXPORTING
PI_TAB_FTR_KEYS = "externer Schlüssel des Finanzgeschäfts
* PI_TAB_VTBFHA = "TRM: Tabellentyp für VTBFHA
* PI_TAB_VTBFHAZU = "Tabellentyp für VTBFHAZU
* PI_TAB_VTBFHAPO = "Treasury: Tabellentyp zu VTBFHAPO
* PI_TAB_VTBFINKO = "Tabellentyp VTBfinko
* PI_TAB_VTBAFINKO = "Tabellentyp VTaFINKO
TABLES
RETURNSWAP = "Detaildaten SWAPs für den Export
RETURN = "Returnparameter
IMPORTING Parameters details for JB_FTR_API_SWAP_MULT_GETDETAIL
PI_TAB_FTR_KEYS - externer Schlüssel des Finanzgeschäfts
Data type: VTS_TAB_BAPI_KEY_FTROptional: No
Call by Reference: Yes
PI_TAB_VTBFHA - TRM: Tabellentyp für VTBFHA
Data type: FTRY_VTBFHAOptional: Yes
Call by Reference: Yes
PI_TAB_VTBFHAZU - Tabellentyp für VTBFHAZU
Data type: FTR_FHAZUOptional: Yes
Call by Reference: Yes
PI_TAB_VTBFHAPO - Treasury: Tabellentyp zu VTBFHAPO
Data type: FTR_FHAPOOptional: Yes
Call by Reference: Yes
PI_TAB_VTBFINKO - Tabellentyp VTBfinko
Data type: TBFINKOOptional: Yes
Call by Reference: Yes
PI_TAB_VTBAFINKO - Tabellentyp VTaFINKO
Data type: TBAFINKOOptional: Yes
Call by Reference: Yes
TABLES Parameters details for JB_FTR_API_SWAP_MULT_GETDETAIL
RETURNSWAP - Detaildaten SWAPs für den Export
Data type: JBAPI_FTR_GETDETAIL_SWAP_MULTIOptional: No
Call by Reference: Yes
RETURN - Returnparameter
Data type: BAPIRET2Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for JB_FTR_API_SWAP_MULT_GETDETAIL 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_returnswap | TYPE STANDARD TABLE OF JBAPI_FTR_GETDETAIL_SWAP_MULTI, " | |||
| 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, " | |||
| lv_pi_tab_vtbfhapo | TYPE FTR_FHAPO, " | |||
| lv_pi_tab_vtbfinko | TYPE TBFINKO, " | |||
| lv_pi_tab_vtbafinko | TYPE TBAFINKO. " |
|   CALL FUNCTION 'JB_FTR_API_SWAP_MULT_GETDETAIL' "Massendaten für SWAPs |
| 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_TAB_VTBFINKO | = lv_pi_tab_vtbfinko | |
| PI_TAB_VTBAFINKO | = lv_pi_tab_vtbafinko | |
| TABLES | ||
| RETURNSWAP | = lt_returnswap | |
| RETURN | = lt_return | |
| . " JB_FTR_API_SWAP_MULT_GETDETAIL | ||
ABAP code using 7.40 inline data declarations to call FM JB_FTR_API_SWAP_MULT_GETDETAIL
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