SAP Function Modules

FMCA_AMD_RETURN_PROCESS SAP Function module - Amendment Processing for Tax Return







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

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


Pattern for FM FMCA_AMD_RETURN_PROCESS - FMCA AMD RETURN PROCESS





CALL FUNCTION 'FMCA_AMD_RETURN_PROCESS' "Amendment Processing for Tax Return
  EXPORTING
    is_control =                " fmca_brf_process_control  BRF: Process control
  IMPORTING
    ev_return_void =            " boolean       Boolean Variable (X=True, -=False, Space=Unknown)
    ev_error =                  " boolean       Boolean Variable (X=True, -=False, Space=Unknown)
  CHANGING
    cs_fmca_return =            " fmca_pobj_s   Upload Structure for Process Objects
    ct_forms =                  " fmca_forms_t  Table Type for Uploading Tax Forms
    ct_form_field_data =        " fmca_form_field_data_t  Table type for form field data
    ct_message =                " bapiret2_tab_kk  FI-CA: Standard Table for Structure BAPIRET2
*   ct_brf_message =            " fmca_brf_msg_t  1767236 messages to be stored
    .  "  FMCA_AMD_RETURN_PROCESS

ABAP code example for Function Module FMCA_AMD_RETURN_PROCESS





The ABAP code below is a full code listing to execute function module FMCA_AMD_RETURN_PROCESS 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_ev_return_void  TYPE BOOLEAN ,
ld_ev_error  TYPE BOOLEAN .

DATA(ld_cs_fmca_return) = 'Check type of data required'.
DATA(ld_ct_forms) = 'Check type of data required'.
DATA(ld_ct_form_field_data) = 'Check type of data required'.
DATA(ld_ct_message) = 'Check type of data required'.
DATA(ld_ct_brf_message) = 'Check type of data required'.
DATA(ld_is_control) = 'Check type of data required'. . CALL FUNCTION 'FMCA_AMD_RETURN_PROCESS' EXPORTING is_control = ld_is_control IMPORTING ev_return_void = ld_ev_return_void ev_error = ld_ev_error CHANGING cs_fmca_return = ld_cs_fmca_return ct_forms = ld_ct_forms ct_form_field_data = ld_ct_form_field_data ct_message = ld_ct_message * ct_brf_message = ld_ct_brf_message . " FMCA_AMD_RETURN_PROCESS
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_cs_fmca_return  TYPE FMCA_POBJ_S ,
ld_ev_return_void  TYPE BOOLEAN ,
ld_is_control  TYPE FMCA_BRF_PROCESS_CONTROL ,
ld_ct_forms  TYPE FMCA_FORMS_T ,
ld_ev_error  TYPE BOOLEAN ,
ld_ct_form_field_data  TYPE FMCA_FORM_FIELD_DATA_T ,
ld_ct_message  TYPE BAPIRET2_TAB_KK ,
ld_ct_brf_message  TYPE FMCA_BRF_MSG_T .

ld_cs_fmca_return = 'Check type of data required'.
ld_is_control = 'Check type of data required'.
ld_ct_forms = 'Check type of data required'.
ld_ct_form_field_data = 'Check type of data required'.
ld_ct_message = 'Check type of data required'.
ld_ct_brf_message = '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_AMD_RETURN_PROCESS or its description.