SAP CFC_MAIN_CONTROL_PLOT Function Module for
CFC_MAIN_CONTROL_PLOT is a standard cfc main control plot 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 cfc main control plot FM, simply by entering the name CFC_MAIN_CONTROL_PLOT into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKKCFCS
Program Name: SAPLFKKCFCS
Main Program: SAPLFKKCFCS
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CFC_MAIN_CONTROL_PLOT 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 'CFC_MAIN_CONTROL_PLOT'".
EXPORTING
I_APPL_OBJ = "Application Object
* I_CLARIFY_TAB_WA = "
* I_KEYSTRUCT_WA = "
* I_STARTVIEW = ' ' "Start view for the clarification worklist (title element)
* IX_USE_ITEMTABLE = ' ' "
* IX_ADMIN_CALLING = ' ' "
* IX_CALLED_BY_BOR = ' ' "
* I_BORKEY_STARTOBJ = ' ' "
* I_TABIX_STARTOBJ = 0 "
IMPORTING
E_EXIT_CLARIFY = "
TABLES
* I_APPL_TAB = "
IMPORTING Parameters details for CFC_MAIN_CONTROL_PLOT
I_APPL_OBJ - Application Object
Data type: CFC_APPLOBJOptional: No
Call by Reference: No ( called with pass by value option)
I_CLARIFY_TAB_WA -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEYSTRUCT_WA -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_STARTVIEW - Start view for the clarification worklist (title element)
Data type: CFC_STARTVIEWDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IX_USE_ITEMTABLE -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IX_ADMIN_CALLING -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IX_CALLED_BY_BOR -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BORKEY_STARTOBJ -
Data type: SWO_TYPEIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TABIX_STARTOBJ -
Data type: SYTABIXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CFC_MAIN_CONTROL_PLOT
E_EXIT_CLARIFY -
Data type: CFC_EXIT_CLARIFYOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CFC_MAIN_CONTROL_PLOT
I_APPL_TAB -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CFC_MAIN_CONTROL_PLOT 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_appl_obj | TYPE CFC_APPLOBJ, " | |||
| lt_i_appl_tab | TYPE STANDARD TABLE OF CFC_APPLOBJ, " | |||
| lv_e_exit_clarify | TYPE CFC_EXIT_CLARIFY, " | |||
| lv_i_clarify_tab_wa | TYPE CFC_EXIT_CLARIFY, " | |||
| lv_i_keystruct_wa | TYPE CFC_EXIT_CLARIFY, " | |||
| lv_i_startview | TYPE CFC_STARTVIEW, " SPACE | |||
| lv_ix_use_itemtable | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_ix_admin_calling | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_ix_called_by_bor | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_borkey_startobj | TYPE SWO_TYPEID, " SPACE | |||
| lv_i_tabix_startobj | TYPE SYTABIX. " 0 |
|   CALL FUNCTION 'CFC_MAIN_CONTROL_PLOT' " |
| EXPORTING | ||
| I_APPL_OBJ | = lv_i_appl_obj | |
| I_CLARIFY_TAB_WA | = lv_i_clarify_tab_wa | |
| I_KEYSTRUCT_WA | = lv_i_keystruct_wa | |
| I_STARTVIEW | = lv_i_startview | |
| IX_USE_ITEMTABLE | = lv_ix_use_itemtable | |
| IX_ADMIN_CALLING | = lv_ix_admin_calling | |
| IX_CALLED_BY_BOR | = lv_ix_called_by_bor | |
| I_BORKEY_STARTOBJ | = lv_i_borkey_startobj | |
| I_TABIX_STARTOBJ | = lv_i_tabix_startobj | |
| IMPORTING | ||
| E_EXIT_CLARIFY | = lv_e_exit_clarify | |
| TABLES | ||
| I_APPL_TAB | = lt_i_appl_tab | |
| . " CFC_MAIN_CONTROL_PLOT | ||
ABAP code using 7.40 inline data declarations to call FM CFC_MAIN_CONTROL_PLOT
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_startview) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_use_itemtable). | ||||
| DATA(ld_ix_use_itemtable) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_admin_calling). | ||||
| DATA(ld_ix_admin_calling) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_ix_called_by_bor). | ||||
| DATA(ld_ix_called_by_bor) | = ' '. | |||
| DATA(ld_i_borkey_startobj) | = ' '. | |||
Search for further information about these or an SAP related objects