FMCA_RETURN_READ 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_RETURN_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FMCA_RETURN
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FMCA_RETURN_READ' "
* EXPORTING
* i_return_id = " scmg_case_guid
* i_taxpayer = " gpart_kk Taxpayer
* i_reg_id = " vtref_kk Tax Number
* i_reg_type = SPACE " subap_kk Subapplication in Contract Accounts Receivable and Payable
* i_account = " vkont_kk Contract Account Number
* i_period_key = " persl_kk Key for Period Assignment
* i_revtype = " abtyp_ps Revenue Type
* i_formprocess = 'TAX_RETURN' " formproc_ps Form-Based Process
* i_bypass_buffer = SPACE " xfeld Ignore Buffer
* ix_read_duplicate = 'X' " xfeld
IMPORTING
et_return = " fmca_return_t Table Type for Uploading Tax Returns
et_forms = " fmca_forms_t Table Type for Uploading Tax Forms
et_notes = " fmca_pobj_note_t Table Type for Notes with Texts and Attributes
et_formdata = " fmca_form_field_data_t
et_messages = " tsmesg Message table message collector
et_status = " fmca_pobj_status_t
et_fpf_his = " fmca_fpf_his_t_wd
et_forms_with_data = " fmca_form_data_t
EXCEPTIONS
RETURN_NOT_FOUND = 1 "
REGISTRATION_NOT_FOUND = 2 "
FORM_NOT_FOUND = 3 " Form not found
INPUT_ERROR = 4 "
NO_AUTH = 5 " Authorization check failed
RETURN_NOT_UNIQUE = 6 "
REGISTRATION_NOT_UNIQUE = 7 "
ERROR_OCCURRED = 8 "
. " FMCA_RETURN_READ
The ABAP code below is a full code listing to execute function module FMCA_RETURN_READ 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).
| ld_et_return | TYPE FMCA_RETURN_T , |
| ld_et_forms | TYPE FMCA_FORMS_T , |
| ld_et_notes | TYPE FMCA_POBJ_NOTE_T , |
| ld_et_formdata | TYPE FMCA_FORM_FIELD_DATA_T , |
| ld_et_messages | TYPE TSMESG , |
| ld_et_status | TYPE FMCA_POBJ_STATUS_T , |
| ld_et_fpf_his | TYPE FMCA_FPF_HIS_T_WD , |
| ld_et_forms_with_data | TYPE FMCA_FORM_DATA_T . |
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_et_return | TYPE FMCA_RETURN_T , |
| ld_i_return_id | TYPE SCMG_CASE_GUID , |
| ld_et_forms | TYPE FMCA_FORMS_T , |
| ld_i_taxpayer | TYPE GPART_KK , |
| ld_et_notes | TYPE FMCA_POBJ_NOTE_T , |
| ld_i_reg_id | TYPE VTREF_KK , |
| ld_et_formdata | TYPE FMCA_FORM_FIELD_DATA_T , |
| ld_i_reg_type | TYPE SUBAP_KK , |
| ld_i_account | TYPE VKONT_KK , |
| ld_et_messages | TYPE TSMESG , |
| ld_i_period_key | TYPE PERSL_KK , |
| ld_et_status | TYPE FMCA_POBJ_STATUS_T , |
| ld_i_revtype | TYPE ABTYP_PS , |
| ld_et_fpf_his | TYPE FMCA_FPF_HIS_T_WD , |
| ld_i_formprocess | TYPE FORMPROC_PS , |
| ld_et_forms_with_data | TYPE FMCA_FORM_DATA_T , |
| ld_i_bypass_buffer | TYPE XFELD , |
| ld_ix_read_duplicate | TYPE XFELD . |
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_RETURN_READ or its description.