SAP Function Modules

FMCA_FPF_MAP_WD_TO_DB SAP Function module - Mapping Web Dynpro Data to Database Data







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

Associated Function Group: FMCA_COCKPIT_UTIL
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FMCA_FPF_MAP_WD_TO_DB - FMCA FPF MAP WD TO DB





CALL FUNCTION 'FMCA_FPF_MAP_WD_TO_DB' "Mapping Web Dynpro Data to Database Data
* EXPORTING
*   is_fmca_return_wd =         " fmca_pobj_s_init_wd
*   it_fmca_form_wd =           " fmca_fobj_wd_t
*   it_status_wd =              " fmca_pobj_status_t_wd
*   it_brf_msg_wd =             " dfmca_brf_msg_wd_t
*   it_fpf_his_wd =             " fmca_fpf_his_t_wd
  IMPORTING
    es_fmca_return =            " fmca_pobj_s
    et_fmca_forms =             " fmca_forms_t
    et_status =                 " fmca_pobj_status_t
    et_brf_msg =                " fmca_brf_msg_t
    et_fpf_his =                " fmca_fpf_his_tab
    .  "  FMCA_FPF_MAP_WD_TO_DB

ABAP code example for Function Module FMCA_FPF_MAP_WD_TO_DB





The ABAP code below is a full code listing to execute function module FMCA_FPF_MAP_WD_TO_DB 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_es_fmca_return  TYPE FMCA_POBJ_S ,
ld_et_fmca_forms  TYPE FMCA_FORMS_T ,
ld_et_status  TYPE FMCA_POBJ_STATUS_T ,
ld_et_brf_msg  TYPE FMCA_BRF_MSG_T ,
ld_et_fpf_his  TYPE FMCA_FPF_HIS_TAB .

DATA(ld_is_fmca_return_wd) = 'Check type of data required'.
DATA(ld_it_fmca_form_wd) = 'Check type of data required'.
DATA(ld_it_status_wd) = 'Check type of data required'.
DATA(ld_it_brf_msg_wd) = 'Check type of data required'.
DATA(ld_it_fpf_his_wd) = 'Check type of data required'. . CALL FUNCTION 'FMCA_FPF_MAP_WD_TO_DB' * EXPORTING * is_fmca_return_wd = ld_is_fmca_return_wd * it_fmca_form_wd = ld_it_fmca_form_wd * it_status_wd = ld_it_status_wd * it_brf_msg_wd = ld_it_brf_msg_wd * it_fpf_his_wd = ld_it_fpf_his_wd IMPORTING es_fmca_return = ld_es_fmca_return et_fmca_forms = ld_et_fmca_forms et_status = ld_et_status et_brf_msg = ld_et_brf_msg et_fpf_his = ld_et_fpf_his . " FMCA_FPF_MAP_WD_TO_DB
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_es_fmca_return  TYPE FMCA_POBJ_S ,
ld_is_fmca_return_wd  TYPE FMCA_POBJ_S_INIT_WD ,
ld_et_fmca_forms  TYPE FMCA_FORMS_T ,
ld_it_fmca_form_wd  TYPE FMCA_FOBJ_WD_T ,
ld_et_status  TYPE FMCA_POBJ_STATUS_T ,
ld_it_status_wd  TYPE FMCA_POBJ_STATUS_T_WD ,
ld_et_brf_msg  TYPE FMCA_BRF_MSG_T ,
ld_it_brf_msg_wd  TYPE DFMCA_BRF_MSG_WD_T ,
ld_et_fpf_his  TYPE FMCA_FPF_HIS_TAB ,
ld_it_fpf_his_wd  TYPE FMCA_FPF_HIS_T_WD .

ld_is_fmca_return_wd = 'Check type of data required'.
ld_it_fmca_form_wd = 'Check type of data required'.
ld_it_status_wd = 'Check type of data required'.
ld_it_brf_msg_wd = 'Check type of data required'.
ld_it_fpf_his_wd = 'Check type of data required'.

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