SAP FM_CCF_REVERSE_MAIN Function Module for
FM_CCF_REVERSE_MAIN is a standard fm ccf reverse main 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 fm ccf reverse main FM, simply by entering the name FM_CCF_REVERSE_MAIN into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMYC_CCF
Program Name: SAPLFMYC_CCF
Main Program: SAPLFMYC_CCF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FM_CCF_REVERSE_MAIN 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 'FM_CCF_REVERSE_MAIN'".
EXPORTING
* I_DIAS = ' ' "Process with Dialog
* I_ITEMLOG = ' ' "Detail List
* I_TASK = ' ' "
I_F_CONTROL_DATA = "
I_T_FMCCFD = "
IMPORTING
E_T_OUTLIST = "
E_T_SUMLIST = "
E_T_MESSAGES = "
IMPORTING Parameters details for FM_CCF_REVERSE_MAIN
I_DIAS - Process with Dialog
Data type: FM_PROCESS_DIALOGDefault: SPACE
Optional: No
Call by Reference: Yes
I_ITEMLOG - Detail List
Data type: FM_CCF_ITEMLOGDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_TASK -
Data type: FM_TASKNAMEDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_F_CONTROL_DATA -
Data type: IFM_CCF_CONTROL_DATAOptional: No
Call by Reference: Yes
I_T_FMCCFD -
Data type: FMCCF_T_FMCCFDOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FM_CCF_REVERSE_MAIN
E_T_OUTLIST -
Data type: FMCCF_T_OUTPUT_LISTOptional: No
Call by Reference: Yes
E_T_SUMLIST -
Data type: FMCCF_T_TOTALS_LISTOptional: No
Call by Reference: Yes
E_T_MESSAGES -
Data type: FMCCF_T_MESSAGESOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FM_CCF_REVERSE_MAIN 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_i_dias | TYPE FM_PROCESS_DIALOG, " SPACE | |||
| lv_e_t_outlist | TYPE FMCCF_T_OUTPUT_LIST, " | |||
| lv_i_itemlog | TYPE FM_CCF_ITEMLOG, " SPACE | |||
| lv_e_t_sumlist | TYPE FMCCF_T_TOTALS_LIST, " | |||
| lv_i_task | TYPE FM_TASKNAME, " SPACE | |||
| lv_e_t_messages | TYPE FMCCF_T_MESSAGES, " | |||
| lv_i_f_control_data | TYPE IFM_CCF_CONTROL_DATA, " | |||
| lv_i_t_fmccfd | TYPE FMCCF_T_FMCCFD. " |
|   CALL FUNCTION 'FM_CCF_REVERSE_MAIN' " |
| EXPORTING | ||
| I_DIAS | = lv_i_dias | |
| I_ITEMLOG | = lv_i_itemlog | |
| I_TASK | = lv_i_task | |
| I_F_CONTROL_DATA | = lv_i_f_control_data | |
| I_T_FMCCFD | = lv_i_t_fmccfd | |
| IMPORTING | ||
| E_T_OUTLIST | = lv_e_t_outlist | |
| E_T_SUMLIST | = lv_e_t_sumlist | |
| E_T_MESSAGES | = lv_e_t_messages | |
| . " FM_CCF_REVERSE_MAIN | ||
ABAP code using 7.40 inline data declarations to call FM FM_CCF_REVERSE_MAIN
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_i_dias) | = ' '. | |||
| DATA(ld_i_itemlog) | = ' '. | |||
| DATA(ld_i_task) | = ' '. | |||
Search for further information about these or an SAP related objects