SAP Function Modules

BDL_FUNCTION_INTERFACE_GET SAP Function module - Provides all interface informations for RFC download functions







BDL_FUNCTION_INTERFACE_GET 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 BDL_FUNCTION_INTERFACE_GET into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM BDL_FUNCTION_INTERFACE_GET - BDL FUNCTION INTERFACE GET





CALL FUNCTION 'BDL_FUNCTION_INTERFACE_GET' "Provides all interface informations for RFC download functions
  EXPORTING
    funcname =                  " rs38l-name
  IMPORTING
    global_flag =               " rs38l-global
    remote_call =               " rs38l-remote
    update_task =               " rs38l-utask
* TABLES
*   exception_list =            " rsexc
*   export_parameter =          " rsexp
*   import_parameter =          " rsimp
*   changing_parameter =        " rscha
*   tables_parameter =          " rstbl
*   p_docu =                    " rsfdo
*   nametab_info =              " bdlnamtab
*   dfies_tab =                 " bdldfies
*   table_headers =             " bdltabhea
  EXCEPTIONS
    FUNCTION_NOT_FOUND = 1      "
    INVALID_NAME = 2            "
    X_ERROR = 3                 "
    NAMETAB_ERROR = 4           "
    .  "  BDL_FUNCTION_INTERFACE_GET

ABAP code example for Function Module BDL_FUNCTION_INTERFACE_GET





The ABAP code below is a full code listing to execute function module BDL_FUNCTION_INTERFACE_GET 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_global_flag  TYPE RS38L-GLOBAL ,
ld_remote_call  TYPE RS38L-REMOTE ,
ld_update_task  TYPE RS38L-UTASK ,
it_exception_list  TYPE STANDARD TABLE OF RSEXC,"TABLES PARAM
wa_exception_list  LIKE LINE OF it_exception_list ,
it_export_parameter  TYPE STANDARD TABLE OF RSEXP,"TABLES PARAM
wa_export_parameter  LIKE LINE OF it_export_parameter ,
it_import_parameter  TYPE STANDARD TABLE OF RSIMP,"TABLES PARAM
wa_import_parameter  LIKE LINE OF it_import_parameter ,
it_changing_parameter  TYPE STANDARD TABLE OF RSCHA,"TABLES PARAM
wa_changing_parameter  LIKE LINE OF it_changing_parameter ,
it_tables_parameter  TYPE STANDARD TABLE OF RSTBL,"TABLES PARAM
wa_tables_parameter  LIKE LINE OF it_tables_parameter ,
it_p_docu  TYPE STANDARD TABLE OF RSFDO,"TABLES PARAM
wa_p_docu  LIKE LINE OF it_p_docu ,
it_nametab_info  TYPE STANDARD TABLE OF BDLNAMTAB,"TABLES PARAM
wa_nametab_info  LIKE LINE OF it_nametab_info ,
it_dfies_tab  TYPE STANDARD TABLE OF BDLDFIES,"TABLES PARAM
wa_dfies_tab  LIKE LINE OF it_dfies_tab ,
it_table_headers  TYPE STANDARD TABLE OF BDLTABHEA,"TABLES PARAM
wa_table_headers  LIKE LINE OF it_table_headers .


DATA(ld_funcname) = some text here

"populate fields of struture and append to itab
append wa_exception_list to it_exception_list.

"populate fields of struture and append to itab
append wa_export_parameter to it_export_parameter.

"populate fields of struture and append to itab
append wa_import_parameter to it_import_parameter.

"populate fields of struture and append to itab
append wa_changing_parameter to it_changing_parameter.

"populate fields of struture and append to itab
append wa_tables_parameter to it_tables_parameter.

"populate fields of struture and append to itab
append wa_p_docu to it_p_docu.

"populate fields of struture and append to itab
append wa_nametab_info to it_nametab_info.

"populate fields of struture and append to itab
append wa_dfies_tab to it_dfies_tab.

"populate fields of struture and append to itab
append wa_table_headers to it_table_headers. . CALL FUNCTION 'BDL_FUNCTION_INTERFACE_GET' EXPORTING funcname = ld_funcname IMPORTING global_flag = ld_global_flag remote_call = ld_remote_call update_task = ld_update_task * TABLES * exception_list = it_exception_list * export_parameter = it_export_parameter * import_parameter = it_import_parameter * changing_parameter = it_changing_parameter * tables_parameter = it_tables_parameter * p_docu = it_p_docu * nametab_info = it_nametab_info * dfies_tab = it_dfies_tab * table_headers = it_table_headers EXCEPTIONS FUNCTION_NOT_FOUND = 1 INVALID_NAME = 2 X_ERROR = 3 NAMETAB_ERROR = 4 . " BDL_FUNCTION_INTERFACE_GET
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 4. "Exception "Add code for exception here 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_global_flag  TYPE RS38L-GLOBAL ,
ld_funcname  TYPE RS38L-NAME ,
it_exception_list  TYPE STANDARD TABLE OF RSEXC ,
wa_exception_list  LIKE LINE OF it_exception_list,
ld_remote_call  TYPE RS38L-REMOTE ,
it_export_parameter  TYPE STANDARD TABLE OF RSEXP ,
wa_export_parameter  LIKE LINE OF it_export_parameter,
ld_update_task  TYPE RS38L-UTASK ,
it_import_parameter  TYPE STANDARD TABLE OF RSIMP ,
wa_import_parameter  LIKE LINE OF it_import_parameter,
it_changing_parameter  TYPE STANDARD TABLE OF RSCHA ,
wa_changing_parameter  LIKE LINE OF it_changing_parameter,
it_tables_parameter  TYPE STANDARD TABLE OF RSTBL ,
wa_tables_parameter  LIKE LINE OF it_tables_parameter,
it_p_docu  TYPE STANDARD TABLE OF RSFDO ,
wa_p_docu  LIKE LINE OF it_p_docu,
it_nametab_info  TYPE STANDARD TABLE OF BDLNAMTAB ,
wa_nametab_info  LIKE LINE OF it_nametab_info,
it_dfies_tab  TYPE STANDARD TABLE OF BDLDFIES ,
wa_dfies_tab  LIKE LINE OF it_dfies_tab,
it_table_headers  TYPE STANDARD TABLE OF BDLTABHEA ,
wa_table_headers  LIKE LINE OF it_table_headers.


ld_funcname = some text here

"populate fields of struture and append to itab
append wa_exception_list to it_exception_list.

"populate fields of struture and append to itab
append wa_export_parameter to it_export_parameter.

"populate fields of struture and append to itab
append wa_import_parameter to it_import_parameter.

"populate fields of struture and append to itab
append wa_changing_parameter to it_changing_parameter.

"populate fields of struture and append to itab
append wa_tables_parameter to it_tables_parameter.

"populate fields of struture and append to itab
append wa_p_docu to it_p_docu.

"populate fields of struture and append to itab
append wa_nametab_info to it_nametab_info.

"populate fields of struture and append to itab
append wa_dfies_tab to it_dfies_tab.

"populate fields of struture and append to itab
append wa_table_headers to it_table_headers.

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 BDL_FUNCTION_INTERFACE_GET or its description.