SAP Function Modules

BAPI_JBD_FTD_GET_LIST SAP Function module - Fixed-Term Deposit: GetList







BAPI_JBD_FTD_GET_LIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name BAPI_JBD_FTD_GET_LIST into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: JBD_FTD_BAPI
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM BAPI_JBD_FTD_GET_LIST - BAPI JBD FTD GET LIST





CALL FUNCTION 'BAPI_JBD_FTD_GET_LIST' "Fixed-Term Deposit: GetList
* EXPORTING
*   max_rows =                  " bapi_jbd_str_max_rows  Structure for Maximum Number of Rows in Hit List
*   processextension =          " bapi_jbd_str_proc_ext  Control Indicator for Executing BAdIs
  IMPORTING
    overflow_flag =             " bapi_jbd_str_overflow_flag  Flag Showing That Maximum Number of Transactions for Selection Has Been Reached
* TABLES
*   comp_code =                 " bapi_jbd_str_comp_code_sel  Selection for Company Code
*   transaction_number =        " bapi_jbd_str_ftr_num_sel  Selection for Company Code
*   product_type =              " bapi_jbd_str_product_type_sel  Selection Structure for Product Type
*   transaction_type =          " bapi_jbd_str_trans_type_sel  Selection Structure for Financial Transaction Type
*   partner =                   " bapi_jbd_str_partner_sel  Selection for Business Partners
*   partner_external =          " bapi_jbd_str_bpext_sel  Selection for Extern Business Partner Numbers
*   active_status =             " bapi_jbd_str_saktiv_sel  Selection Structure for Active Status of Financial Transaction
*   portfolio =                 " bapi_jbd_str_portfolio_sel  Structure for Portfolio
*   transaction_currency =      " bapi_jbd_str_trans_currcy_sel  Selection Structure for Transaction Currency
*   transaction_currency_iso =   " bapi_jbd_str_transcurr_iso_sel  Selection Structure for ISO Transaction Currency
*   entry_user =                " bapi_jbd_str_cruser_sel  Selection for 'Created by' User
*   entry_date =                " bapi_jbd_str_dcrdat_sel  Selection for 'Created on' Date
*   change_user =               " bapi_jbd_str_chuser_sel  Selection for 'Last Changed by'
*   change_date =               " bapi_jbd_str_dchdat_sel  Selection for 'Last Changed' Date
*   transaction_list =          " bapi_jbd_str_ftd_key  Financial Transaction Key
*   extensionin =               " bapiparex     Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
*   extensionout =              " bapiparex     Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
*   return =                    " bapiret2      Return Parameters
    .  "  BAPI_JBD_FTD_GET_LIST

ABAP code example for Function Module BAPI_JBD_FTD_GET_LIST





The ABAP code below is a full code listing to execute function module BAPI_JBD_FTD_GET_LIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_overflow_flag  TYPE BAPI_JBD_STR_OVERFLOW_FLAG ,
it_comp_code  TYPE STANDARD TABLE OF BAPI_JBD_STR_COMP_CODE_SEL,"TABLES PARAM
wa_comp_code  LIKE LINE OF it_comp_code ,
it_transaction_number  TYPE STANDARD TABLE OF BAPI_JBD_STR_FTR_NUM_SEL,"TABLES PARAM
wa_transaction_number  LIKE LINE OF it_transaction_number ,
it_product_type  TYPE STANDARD TABLE OF BAPI_JBD_STR_PRODUCT_TYPE_SEL,"TABLES PARAM
wa_product_type  LIKE LINE OF it_product_type ,
it_transaction_type  TYPE STANDARD TABLE OF BAPI_JBD_STR_TRANS_TYPE_SEL,"TABLES PARAM
wa_transaction_type  LIKE LINE OF it_transaction_type ,
it_partner  TYPE STANDARD TABLE OF BAPI_JBD_STR_PARTNER_SEL,"TABLES PARAM
wa_partner  LIKE LINE OF it_partner ,
it_partner_external  TYPE STANDARD TABLE OF BAPI_JBD_STR_BPEXT_SEL,"TABLES PARAM
wa_partner_external  LIKE LINE OF it_partner_external ,
it_active_status  TYPE STANDARD TABLE OF BAPI_JBD_STR_SAKTIV_SEL,"TABLES PARAM
wa_active_status  LIKE LINE OF it_active_status ,
it_portfolio  TYPE STANDARD TABLE OF BAPI_JBD_STR_PORTFOLIO_SEL,"TABLES PARAM
wa_portfolio  LIKE LINE OF it_portfolio ,
it_transaction_currency  TYPE STANDARD TABLE OF BAPI_JBD_STR_TRANS_CURRCY_SEL,"TABLES PARAM
wa_transaction_currency  LIKE LINE OF it_transaction_currency ,
it_transaction_currency_iso  TYPE STANDARD TABLE OF BAPI_JBD_STR_TRANSCURR_ISO_SEL,"TABLES PARAM
wa_transaction_currency_iso  LIKE LINE OF it_transaction_currency_iso ,
it_entry_user  TYPE STANDARD TABLE OF BAPI_JBD_STR_CRUSER_SEL,"TABLES PARAM
wa_entry_user  LIKE LINE OF it_entry_user ,
it_entry_date  TYPE STANDARD TABLE OF BAPI_JBD_STR_DCRDAT_SEL,"TABLES PARAM
wa_entry_date  LIKE LINE OF it_entry_date ,
it_change_user  TYPE STANDARD TABLE OF BAPI_JBD_STR_CHUSER_SEL,"TABLES PARAM
wa_change_user  LIKE LINE OF it_change_user ,
it_change_date  TYPE STANDARD TABLE OF BAPI_JBD_STR_DCHDAT_SEL,"TABLES PARAM
wa_change_date  LIKE LINE OF it_change_date ,
it_transaction_list  TYPE STANDARD TABLE OF BAPI_JBD_STR_FTD_KEY,"TABLES PARAM
wa_transaction_list  LIKE LINE OF it_transaction_list ,
it_extensionin  TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM
wa_extensionin  LIKE LINE OF it_extensionin ,
it_extensionout  TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM
wa_extensionout  LIKE LINE OF it_extensionout ,
it_return  TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM
wa_return  LIKE LINE OF it_return .

DATA(ld_max_rows) = 'Check type of data required'.
DATA(ld_processextension) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_comp_code to it_comp_code.

"populate fields of struture and append to itab
append wa_transaction_number to it_transaction_number.

"populate fields of struture and append to itab
append wa_product_type to it_product_type.

"populate fields of struture and append to itab
append wa_transaction_type to it_transaction_type.

"populate fields of struture and append to itab
append wa_partner to it_partner.

"populate fields of struture and append to itab
append wa_partner_external to it_partner_external.

"populate fields of struture and append to itab
append wa_active_status to it_active_status.

"populate fields of struture and append to itab
append wa_portfolio to it_portfolio.

"populate fields of struture and append to itab
append wa_transaction_currency to it_transaction_currency.

"populate fields of struture and append to itab
append wa_transaction_currency_iso to it_transaction_currency_iso.

"populate fields of struture and append to itab
append wa_entry_user to it_entry_user.

"populate fields of struture and append to itab
append wa_entry_date to it_entry_date.

"populate fields of struture and append to itab
append wa_change_user to it_change_user.

"populate fields of struture and append to itab
append wa_change_date to it_change_date.

"populate fields of struture and append to itab
append wa_transaction_list to it_transaction_list.

"populate fields of struture and append to itab
append wa_extensionin to it_extensionin.

"populate fields of struture and append to itab
append wa_extensionout to it_extensionout.

"populate fields of struture and append to itab
append wa_return to it_return. . CALL FUNCTION 'BAPI_JBD_FTD_GET_LIST' * EXPORTING * max_rows = ld_max_rows * processextension = ld_processextension IMPORTING overflow_flag = ld_overflow_flag * TABLES * comp_code = it_comp_code * transaction_number = it_transaction_number * product_type = it_product_type * transaction_type = it_transaction_type * partner = it_partner * partner_external = it_partner_external * active_status = it_active_status * portfolio = it_portfolio * transaction_currency = it_transaction_currency * transaction_currency_iso = it_transaction_currency_iso * entry_user = it_entry_user * entry_date = it_entry_date * change_user = it_change_user * change_date = it_change_date * transaction_list = it_transaction_list * extensionin = it_extensionin * extensionout = it_extensionout * return = it_return . " BAPI_JBD_FTD_GET_LIST
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_overflow_flag  TYPE BAPI_JBD_STR_OVERFLOW_FLAG ,
ld_max_rows  TYPE BAPI_JBD_STR_MAX_ROWS ,
it_comp_code  TYPE STANDARD TABLE OF BAPI_JBD_STR_COMP_CODE_SEL ,
wa_comp_code  LIKE LINE OF it_comp_code,
ld_processextension  TYPE BAPI_JBD_STR_PROC_EXT ,
it_transaction_number  TYPE STANDARD TABLE OF BAPI_JBD_STR_FTR_NUM_SEL ,
wa_transaction_number  LIKE LINE OF it_transaction_number,
it_product_type  TYPE STANDARD TABLE OF BAPI_JBD_STR_PRODUCT_TYPE_SEL ,
wa_product_type  LIKE LINE OF it_product_type,
it_transaction_type  TYPE STANDARD TABLE OF BAPI_JBD_STR_TRANS_TYPE_SEL ,
wa_transaction_type  LIKE LINE OF it_transaction_type,
it_partner  TYPE STANDARD TABLE OF BAPI_JBD_STR_PARTNER_SEL ,
wa_partner  LIKE LINE OF it_partner,
it_partner_external  TYPE STANDARD TABLE OF BAPI_JBD_STR_BPEXT_SEL ,
wa_partner_external  LIKE LINE OF it_partner_external,
it_active_status  TYPE STANDARD TABLE OF BAPI_JBD_STR_SAKTIV_SEL ,
wa_active_status  LIKE LINE OF it_active_status,
it_portfolio  TYPE STANDARD TABLE OF BAPI_JBD_STR_PORTFOLIO_SEL ,
wa_portfolio  LIKE LINE OF it_portfolio,
it_transaction_currency  TYPE STANDARD TABLE OF BAPI_JBD_STR_TRANS_CURRCY_SEL ,
wa_transaction_currency  LIKE LINE OF it_transaction_currency,
it_transaction_currency_iso  TYPE STANDARD TABLE OF BAPI_JBD_STR_TRANSCURR_ISO_SEL ,
wa_transaction_currency_iso  LIKE LINE OF it_transaction_currency_iso,
it_entry_user  TYPE STANDARD TABLE OF BAPI_JBD_STR_CRUSER_SEL ,
wa_entry_user  LIKE LINE OF it_entry_user,
it_entry_date  TYPE STANDARD TABLE OF BAPI_JBD_STR_DCRDAT_SEL ,
wa_entry_date  LIKE LINE OF it_entry_date,
it_change_user  TYPE STANDARD TABLE OF BAPI_JBD_STR_CHUSER_SEL ,
wa_change_user  LIKE LINE OF it_change_user,
it_change_date  TYPE STANDARD TABLE OF BAPI_JBD_STR_DCHDAT_SEL ,
wa_change_date  LIKE LINE OF it_change_date,
it_transaction_list  TYPE STANDARD TABLE OF BAPI_JBD_STR_FTD_KEY ,
wa_transaction_list  LIKE LINE OF it_transaction_list,
it_extensionin  TYPE STANDARD TABLE OF BAPIPAREX ,
wa_extensionin  LIKE LINE OF it_extensionin,
it_extensionout  TYPE STANDARD TABLE OF BAPIPAREX ,
wa_extensionout  LIKE LINE OF it_extensionout,
it_return  TYPE STANDARD TABLE OF BAPIRET2 ,
wa_return  LIKE LINE OF it_return.

ld_max_rows = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_comp_code to it_comp_code.
ld_processextension = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_transaction_number to it_transaction_number.

"populate fields of struture and append to itab
append wa_product_type to it_product_type.

"populate fields of struture and append to itab
append wa_transaction_type to it_transaction_type.

"populate fields of struture and append to itab
append wa_partner to it_partner.

"populate fields of struture and append to itab
append wa_partner_external to it_partner_external.

"populate fields of struture and append to itab
append wa_active_status to it_active_status.

"populate fields of struture and append to itab
append wa_portfolio to it_portfolio.

"populate fields of struture and append to itab
append wa_transaction_currency to it_transaction_currency.

"populate fields of struture and append to itab
append wa_transaction_currency_iso to it_transaction_currency_iso.

"populate fields of struture and append to itab
append wa_entry_user to it_entry_user.

"populate fields of struture and append to itab
append wa_entry_date to it_entry_date.

"populate fields of struture and append to itab
append wa_change_user to it_change_user.

"populate fields of struture and append to itab
append wa_change_date to it_change_date.

"populate fields of struture and append to itab
append wa_transaction_list to it_transaction_list.

"populate fields of struture and append to itab
append wa_extensionin to it_extensionin.

"populate fields of struture and append to itab
append wa_extensionout to it_extensionout.

"populate fields of struture and append to itab
append wa_return to it_return.

SAP Documentation for FM BAPI_JBD_FTD_GET_LIST

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_JBD_FTD_GET_LIST or its description.