SAP FMCA_RETURN_GETLIST Function Module for
FMCA_RETURN_GETLIST is a standard fmca return getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for fmca return getlist FM, simply by entering the name FMCA_RETURN_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCA_RETURN
Program Name: SAPLFMCA_RETURN
Main Program: SAPLFMCA_RETURN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FMCA_RETURN_GETLIST pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'FMCA_RETURN_GETLIST'".
EXPORTING
I_REVTYPE_R = "
* IX_AUTHORIZATION_CHECK = 'X' "Checkbox
* I_BYPASS_BUFFER = "
I_PERIOD_KEY_R = "
* I_TAXPAYER_R = "
* I_ACCOUNT_R = "
* I_REG_ID_R = "Ranges Structure for Contract Object Key
* I_RETURN_ID_R = "
* I_FORMPROC_R = "Table Type for FMCAR_FORMPROC
* I_FBTYP_R = "
* I_X_DUP = 'X' "
IMPORTING
ET_RETURN = "Table Type for Uploading Tax Returns
ET_FORMS = "Table Type for Uploading Tax Forms
ET_NOTES = "Table Type for Notes with Texts and Attributes
ET_FORMDATA = "Table type for form field data
ET_MESSAGES = "Message table message collector
ET_STATUS = "
ET_FPF_HIS_DISP = "
EXCEPTIONS
NOT_FOUND = 1 NOTE_ERROR = 2 KPRO_ERROR = 3 ERROR_OCCURRED = 4
IMPORTING Parameters details for FMCA_RETURN_GETLIST
I_REVTYPE_R -
Data type: FMCA_RT_ABTYPOptional: No
Call by Reference: No ( called with pass by value option)
IX_AUTHORIZATION_CHECK - Checkbox
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: Yes
I_BYPASS_BUFFER -
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PERIOD_KEY_R -
Data type: FKK_RT_PERSLOptional: No
Call by Reference: No ( called with pass by value option)
I_TAXPAYER_R -
Data type: BAPIDPSOB_BP_ACC_PARTNER_TOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ACCOUNT_R -
Data type: BAPIDPSOB_BP_ACC_ACCOUNT_TOptional: Yes
Call by Reference: No ( called with pass by value option)
I_REG_ID_R - Ranges Structure for Contract Object Key
Data type: BAPIDPSOB_PSOBJECTKEY_TOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RETURN_ID_R -
Data type: FMCA_RETURN_ID_RTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FORMPROC_R - Table Type for FMCAR_FORMPROC
Data type: FMCA_RT_FORMPROCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FBTYP_R -
Data type: FMCA_RT_FBTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_X_DUP -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FMCA_RETURN_GETLIST
ET_RETURN - Table Type for Uploading Tax Returns
Data type: FMCA_RETURN_TOptional: No
Call by Reference: Yes
ET_FORMS - Table Type for Uploading Tax Forms
Data type: FMCA_FORMS_TOptional: No
Call by Reference: Yes
ET_NOTES - Table Type for Notes with Texts and Attributes
Data type: FMCA_POBJ_NOTE_TOptional: No
Call by Reference: Yes
ET_FORMDATA - Table type for form field data
Data type: FMCA_FORM_FIELD_DATA_TOptional: No
Call by Reference: Yes
ET_MESSAGES - Message table message collector
Data type: TSMESGOptional: No
Call by Reference: Yes
ET_STATUS -
Data type: FMCA_POBJ_STATUS_TOptional: No
Call by Reference: Yes
ET_FPF_HIS_DISP -
Data type: FMCA_FPF_HIS_T_WDOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND - Nothing Found
Data type:Optional: No
Call by Reference: Yes
NOTE_ERROR -
Data type:Optional: No
Call by Reference: Yes
KPRO_ERROR -
Data type:Optional: No
Call by Reference: Yes
ERROR_OCCURRED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FMCA_RETURN_GETLIST Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_et_return | TYPE FMCA_RETURN_T, " | |||
| lv_not_found | TYPE FMCA_RETURN_T, " | |||
| lv_i_revtype_r | TYPE FMCA_RT_ABTYP, " | |||
| lv_ix_authorization_check | TYPE XFELD, " 'X' | |||
| lv_i_bypass_buffer | TYPE XFELD, " | |||
| lv_et_forms | TYPE FMCA_FORMS_T, " | |||
| lv_note_error | TYPE FMCA_FORMS_T, " | |||
| lv_i_period_key_r | TYPE FKK_RT_PERSL, " | |||
| lv_et_notes | TYPE FMCA_POBJ_NOTE_T, " | |||
| lv_kpro_error | TYPE FMCA_POBJ_NOTE_T, " | |||
| lv_i_taxpayer_r | TYPE BAPIDPSOB_BP_ACC_PARTNER_T, " | |||
| lv_et_formdata | TYPE FMCA_FORM_FIELD_DATA_T, " | |||
| lv_i_account_r | TYPE BAPIDPSOB_BP_ACC_ACCOUNT_T, " | |||
| lv_error_occurred | TYPE BAPIDPSOB_BP_ACC_ACCOUNT_T, " | |||
| lv_i_reg_id_r | TYPE BAPIDPSOB_PSOBJECTKEY_T, " | |||
| lv_et_messages | TYPE TSMESG, " | |||
| lv_et_status | TYPE FMCA_POBJ_STATUS_T, " | |||
| lv_i_return_id_r | TYPE FMCA_RETURN_ID_RT, " | |||
| lv_i_formproc_r | TYPE FMCA_RT_FORMPROC, " | |||
| lv_et_fpf_his_disp | TYPE FMCA_FPF_HIS_T_WD, " | |||
| lv_i_fbtyp_r | TYPE FMCA_RT_FBT, " | |||
| lv_i_x_dup | TYPE XFELD. " 'X' |
|   CALL FUNCTION 'FMCA_RETURN_GETLIST' " |
| EXPORTING | ||
| I_REVTYPE_R | = lv_i_revtype_r | |
| IX_AUTHORIZATION_CHECK | = lv_ix_authorization_check | |
| I_BYPASS_BUFFER | = lv_i_bypass_buffer | |
| I_PERIOD_KEY_R | = lv_i_period_key_r | |
| I_TAXPAYER_R | = lv_i_taxpayer_r | |
| I_ACCOUNT_R | = lv_i_account_r | |
| I_REG_ID_R | = lv_i_reg_id_r | |
| I_RETURN_ID_R | = lv_i_return_id_r | |
| I_FORMPROC_R | = lv_i_formproc_r | |
| I_FBTYP_R | = lv_i_fbtyp_r | |
| I_X_DUP | = lv_i_x_dup | |
| IMPORTING | ||
| ET_RETURN | = lv_et_return | |
| ET_FORMS | = lv_et_forms | |
| ET_NOTES | = lv_et_notes | |
| ET_FORMDATA | = lv_et_formdata | |
| ET_MESSAGES | = lv_et_messages | |
| ET_STATUS | = lv_et_status | |
| ET_FPF_HIS_DISP | = lv_et_fpf_his_disp | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| NOTE_ERROR = 2 | ||
| KPRO_ERROR = 3 | ||
| ERROR_OCCURRED = 4 | ||
| . " FMCA_RETURN_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM FMCA_RETURN_GETLIST
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_ix_authorization_check) | = 'X'. | |||
| DATA(ld_i_x_dup) | = 'X'. | |||
Search for further information about these or an SAP related objects