SAP Function Modules

GET_DATA_FROM_FICA SAP Function module - Interface to FICA EC Sales List







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

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


Pattern for FM GET_DATA_FROM_FICA - GET DATA FROM FICA





CALL FUNCTION 'GET_DATA_FROM_FICA' "Interface to FICA EC Sales List
  EXPORTING
    fica_param =                " fot_fkk_ecsl_in
    fica_mwskz =                " tty_mwskz     Table Type for Tax Indicator
    rfcdest =                   " rfcdest       Logical Destination (Specified in Function Call)
  IMPORTING
    fica_output =               " tty_ecsl_out  Table Type for Result (interface to FI-CA)
    return_list =               " ttab_output   Table Type for Output List
    .  "  GET_DATA_FROM_FICA

ABAP code example for Function Module GET_DATA_FROM_FICA





The ABAP code below is a full code listing to execute function module GET_DATA_FROM_FICA 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_fica_output  TYPE TTY_ECSL_OUT ,
ld_return_list  TYPE TTAB_OUTPUT .

DATA(ld_fica_param) = 'Check type of data required'.
DATA(ld_fica_mwskz) = 'Check type of data required'.
DATA(ld_rfcdest) = 'Check type of data required'. . CALL FUNCTION 'GET_DATA_FROM_FICA' EXPORTING fica_param = ld_fica_param fica_mwskz = ld_fica_mwskz rfcdest = ld_rfcdest IMPORTING fica_output = ld_fica_output return_list = ld_return_list . " GET_DATA_FROM_FICA
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_fica_output  TYPE TTY_ECSL_OUT ,
ld_fica_param  TYPE FOT_FKK_ECSL_IN ,
ld_return_list  TYPE TTAB_OUTPUT ,
ld_fica_mwskz  TYPE TTY_MWSKZ ,
ld_rfcdest  TYPE RFCDEST .

ld_fica_param = 'Check type of data required'.
ld_fica_mwskz = 'Check type of data required'.
ld_rfcdest = '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 GET_DATA_FROM_FICA or its description.