SAP Function Modules

TABLE_EXPORT_TO_MSACCESS_RFCFE SAP Function module







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

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


Pattern for FM TABLE_EXPORT_TO_MSACCESS_RFCFE - TABLE EXPORT TO MSACCESS RFCFE





CALL FUNCTION 'TABLE_EXPORT_TO_MSACCESS_RFCFE' "
  EXPORTING
    dbname =                    " t390d-dbname
*   langu =                     " sy-langu
*   flg_append =                " rc27x-flg_sel
  IMPORTING
    status =                    " sy-subrc
  TABLES
    data =                      " access_com
    texte =                     " acc_texte
*   parameter =                 " access_par
    .  "  TABLE_EXPORT_TO_MSACCESS_RFCFE

ABAP code example for Function Module TABLE_EXPORT_TO_MSACCESS_RFCFE





The ABAP code below is a full code listing to execute function module TABLE_EXPORT_TO_MSACCESS_RFCFE 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_status  TYPE SY-SUBRC ,
it_data  TYPE STANDARD TABLE OF ACCESS_COM,"TABLES PARAM
wa_data  LIKE LINE OF it_data ,
it_texte  TYPE STANDARD TABLE OF ACC_TEXTE,"TABLES PARAM
wa_texte  LIKE LINE OF it_texte ,
it_parameter  TYPE STANDARD TABLE OF ACCESS_PAR,"TABLES PARAM
wa_parameter  LIKE LINE OF it_parameter .


SELECT single DBNAME
FROM T390D
INTO @DATA(ld_dbname).

DATA(ld_langu) = 'Check type of data required'.

DATA(ld_flg_append) = some text here

"populate fields of struture and append to itab
append wa_data to it_data.

"populate fields of struture and append to itab
append wa_texte to it_texte.

"populate fields of struture and append to itab
append wa_parameter to it_parameter. . CALL FUNCTION 'TABLE_EXPORT_TO_MSACCESS_RFCFE' EXPORTING dbname = ld_dbname * langu = ld_langu * flg_append = ld_flg_append IMPORTING status = ld_status TABLES data = it_data texte = it_texte * parameter = it_parameter . " TABLE_EXPORT_TO_MSACCESS_RFCFE
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_status  TYPE SY-SUBRC ,
ld_dbname  TYPE T390D-DBNAME ,
it_data  TYPE STANDARD TABLE OF ACCESS_COM ,
wa_data  LIKE LINE OF it_data,
ld_langu  TYPE SY-LANGU ,
it_texte  TYPE STANDARD TABLE OF ACC_TEXTE ,
wa_texte  LIKE LINE OF it_texte,
ld_flg_append  TYPE RC27X-FLG_SEL ,
it_parameter  TYPE STANDARD TABLE OF ACCESS_PAR ,
wa_parameter  LIKE LINE OF it_parameter.


SELECT single DBNAME
FROM T390D
INTO ld_dbname.


"populate fields of struture and append to itab
append wa_data to it_data.
ld_langu = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_texte to it_texte.

ld_flg_append = some text here

"populate fields of struture and append to itab
append wa_parameter to it_parameter.

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