SAP FMCA_RETURN_READ_BY_ID Function Module for
FMCA_RETURN_READ_BY_ID is a standard fmca return read by id 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 read by id FM, simply by entering the name FMCA_RETURN_READ_BY_ID 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_READ_BY_ID 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_READ_BY_ID'".
EXPORTING
* IV_FBNUM = "
* IV_RETURN_GUID = "
* IX_AUTHORITY_CHECK = 'X' "
* IS_RETURN_READ_CTRL = "
* I_BYPASS_BUFFER = "
IMPORTING
ES_RETURN = "
ET_FORMS = "
ET_NOTES = "
ET_FORMDATA = "
ET_STATUS = "
ET_FPF_HIS = "
ET_FORMS_WITH_DATA = "
ET_WI_LIST = "
EXCEPTIONS
RETURN_NOT_FOUND = 1 INPUT_ERROR = 2 NO_AUTH = 3 ERROR_OCCURRED = 4
IMPORTING Parameters details for FMCA_RETURN_READ_BY_ID
IV_FBNUM -
Data type: FBNUM_PSOptional: Yes
Call by Reference: Yes
IV_RETURN_GUID -
Data type: FMCA_RETURN_GUIDOptional: Yes
Call by Reference: Yes
IX_AUTHORITY_CHECK -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: Yes
IS_RETURN_READ_CTRL -
Data type: FMCA_RETURN_READ_CTRLOptional: Yes
Call by Reference: Yes
I_BYPASS_BUFFER -
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FMCA_RETURN_READ_BY_ID
ES_RETURN -
Data type: FMCA_POBJ_SOptional: No
Call by Reference: Yes
ET_FORMS -
Data type: FMCA_FORMS_TOptional: No
Call by Reference: Yes
ET_NOTES -
Data type: FMCA_POBJ_NOTE_TOptional: No
Call by Reference: Yes
ET_FORMDATA -
Data type: FMCA_FORM_FIELD_DATA_TOptional: No
Call by Reference: Yes
ET_STATUS -
Data type: FMCA_POBJ_STATUS_TOptional: No
Call by Reference: Yes
ET_FPF_HIS -
Data type: FMCA_FPF_HIS_T_WDOptional: No
Call by Reference: Yes
ET_FORMS_WITH_DATA -
Data type: FMCA_FORM_DATA_TOptional: No
Call by Reference: Yes
ET_WI_LIST -
Data type: SWRTWIHDROptional: No
Call by Reference: Yes
EXCEPTIONS details
RETURN_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INPUT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTH - Authorization check failed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_OCCURRED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FMCA_RETURN_READ_BY_ID 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_iv_fbnum | TYPE FBNUM_PS, " | |||
| lv_es_return | TYPE FMCA_POBJ_S, " | |||
| lv_return_not_found | TYPE FMCA_POBJ_S, " | |||
| lv_et_forms | TYPE FMCA_FORMS_T, " | |||
| lv_input_error | TYPE FMCA_FORMS_T, " | |||
| lv_iv_return_guid | TYPE FMCA_RETURN_GUID, " | |||
| lv_no_auth | TYPE FMCA_RETURN_GUID, " | |||
| lv_et_notes | TYPE FMCA_POBJ_NOTE_T, " | |||
| lv_ix_authority_check | TYPE XFELD, " 'X' | |||
| lv_et_formdata | TYPE FMCA_FORM_FIELD_DATA_T, " | |||
| lv_error_occurred | TYPE FMCA_FORM_FIELD_DATA_T, " | |||
| lv_is_return_read_ctrl | TYPE FMCA_RETURN_READ_CTRL, " | |||
| lv_et_status | TYPE FMCA_POBJ_STATUS_T, " | |||
| lv_i_bypass_buffer | TYPE XFELD, " | |||
| lv_et_fpf_his | TYPE FMCA_FPF_HIS_T_WD, " | |||
| lv_et_forms_with_data | TYPE FMCA_FORM_DATA_T, " | |||
| lv_et_wi_list | TYPE SWRTWIHDR. " |
|   CALL FUNCTION 'FMCA_RETURN_READ_BY_ID' " |
| EXPORTING | ||
| IV_FBNUM | = lv_iv_fbnum | |
| IV_RETURN_GUID | = lv_iv_return_guid | |
| IX_AUTHORITY_CHECK | = lv_ix_authority_check | |
| IS_RETURN_READ_CTRL | = lv_is_return_read_ctrl | |
| I_BYPASS_BUFFER | = lv_i_bypass_buffer | |
| IMPORTING | ||
| ES_RETURN | = lv_es_return | |
| ET_FORMS | = lv_et_forms | |
| ET_NOTES | = lv_et_notes | |
| ET_FORMDATA | = lv_et_formdata | |
| ET_STATUS | = lv_et_status | |
| ET_FPF_HIS | = lv_et_fpf_his | |
| ET_FORMS_WITH_DATA | = lv_et_forms_with_data | |
| ET_WI_LIST | = lv_et_wi_list | |
| EXCEPTIONS | ||
| RETURN_NOT_FOUND = 1 | ||
| INPUT_ERROR = 2 | ||
| NO_AUTH = 3 | ||
| ERROR_OCCURRED = 4 | ||
| . " FMCA_RETURN_READ_BY_ID | ||
ABAP code using 7.40 inline data declarations to call FM FMCA_RETURN_READ_BY_ID
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_authority_check) | = 'X'. | |||
Search for further information about these or an SAP related objects