SAP FTR_SL_BAPI_GET_COLL_DATA Function Module for Get Collateral data for bapi









FTR_SL_BAPI_GET_COLL_DATA is a standard ftr sl bapi get coll data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get Collateral data for bapi 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 ftr sl bapi get coll data FM, simply by entering the name FTR_SL_BAPI_GET_COLL_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function FTR_SL_BAPI_GET_COLL_DATA 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 'FTR_SL_BAPI_GET_COLL_DATA'"Get Collateral data for bapi
EXPORTING
* PI_IND_SECCOLL = "General Flag
* PI_IND_CASHCOLL = "General Flag
* PI_MODE = "Single-Character Indicator
* PI_COLLATERAL_KEYDATE = "Payment or Delivery Date

IMPORTING
E_CHANGED_FIELDS = "
E_VSLSUMCO = "Display Structure: Cumulative Collateral in Lending Currency

TABLES
* T_VSLSECO = "Display Structure for Securities Collateral
* T_VTGFHAPO = "TR Transaction Management: Flow Display Structures
* T_VSLCACO = "Display Structure: Cumulative Cash Collateral
* T_VSLSECO_SPL = "Display Structure for Securities Collateral
.



IMPORTING Parameters details for FTR_SL_BAPI_GET_COLL_DATA

PI_IND_SECCOLL - General Flag

Data type: FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_IND_CASHCOLL - General Flag

Data type: FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_MODE - Single-Character Indicator

Data type: CHAR1
Optional: Yes
Call by Reference: No ( called with pass by value option)

PI_COLLATERAL_KEYDATE - Payment or Delivery Date

Data type: BAPI2042-KEY_DATE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FTR_SL_BAPI_GET_COLL_DATA

E_CHANGED_FIELDS -

Data type: FTRBA_TAB_APPL_FIELDS
Optional: No
Call by Reference: No ( called with pass by value option)

E_VSLSUMCO - Display Structure: Cumulative Collateral in Lending Currency

Data type: VSLSUMCO
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FTR_SL_BAPI_GET_COLL_DATA

T_VSLSECO - Display Structure for Securities Collateral

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

T_VTGFHAPO - TR Transaction Management: Flow Display Structures

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

T_VSLCACO - Display Structure: Cumulative Cash Collateral

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

T_VSLSECO_SPL - Display Structure for Securities Collateral

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

Copy and paste ABAP code example for FTR_SL_BAPI_GET_COLL_DATA 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_vslseco  TYPE STANDARD TABLE OF VSLSECO, "   
lv_pi_ind_seccoll  TYPE FLAG, "   
lv_e_changed_fields  TYPE FTRBA_TAB_APPL_FIELDS, "   
lv_e_vslsumco  TYPE VSLSUMCO, "   
lt_t_vtgfhapo  TYPE STANDARD TABLE OF VTGFHAPO, "   
lv_pi_ind_cashcoll  TYPE FLAG, "   
lv_pi_mode  TYPE CHAR1, "   
lt_t_vslcaco  TYPE STANDARD TABLE OF VSLCACO, "   
lt_t_vslseco_spl  TYPE STANDARD TABLE OF VSLSECO, "   
lv_pi_collateral_keydate  TYPE BAPI2042-KEY_DATE. "   

  CALL FUNCTION 'FTR_SL_BAPI_GET_COLL_DATA'  "Get Collateral data for bapi
    EXPORTING
         PI_IND_SECCOLL = lv_pi_ind_seccoll
         PI_IND_CASHCOLL = lv_pi_ind_cashcoll
         PI_MODE = lv_pi_mode
         PI_COLLATERAL_KEYDATE = lv_pi_collateral_keydate
    IMPORTING
         E_CHANGED_FIELDS = lv_e_changed_fields
         E_VSLSUMCO = lv_e_vslsumco
    TABLES
         T_VSLSECO = lt_t_vslseco
         T_VTGFHAPO = lt_t_vtgfhapo
         T_VSLCACO = lt_t_vslcaco
         T_VSLSECO_SPL = lt_t_vslseco_spl
. " FTR_SL_BAPI_GET_COLL_DATA




ABAP code using 7.40 inline data declarations to call FM FTR_SL_BAPI_GET_COLL_DATA

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.

 
 
 
 
 
 
 
 
 
"SELECT single KEY_DATE FROM BAPI2042 INTO @DATA(ld_pi_collateral_keydate).
 


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!