SAP FM_CCL_PROCESS_MAIN_P Function Module for









FM_CCL_PROCESS_MAIN_P is a standard fm ccl process main p 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 ccl process main p FM, simply by entering the name FM_CCL_PROCESS_MAIN_P into the relevant SAP transaction such as SE37 or SE38.

Function Group: FMYC_CCL
Program Name: SAPLFMYC_CCL
Main Program: SAPLFMYC_CCL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FM_CCL_PROCESS_MAIN_P 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_CCL_PROCESS_MAIN_P'"
EXPORTING
I_FLG_ITEMLOG = "Detail List
I_F_CONTROL_DATA = "
I_F_SELDIM = "FM Obligation Closeout: Select Options for FM Dimensions

TABLES
T_ACCOUNTS = "Funds Management Account Assignments
* T_OITEMS = "Commitment Documents Funds Management
* T_FIDOCS = "FI Line Item Table in Funds Management
* T_TOTALS = "FM FYC: Output Structure for Closing Open Items
* T_OUTLIST = "
* T_MESSAGES = "Return Parameter(s)
.



IMPORTING Parameters details for FM_CCL_PROCESS_MAIN_P

I_FLG_ITEMLOG - Detail List

Data type: FM_CCF_ITEMLOG
Optional: No
Call by Reference: No ( called with pass by value option)

I_F_CONTROL_DATA -

Data type: IFM_CCL_CONTROL_DATA
Optional: No
Call by Reference: No ( called with pass by value option)

I_F_SELDIM - FM Obligation Closeout: Select Options for FM Dimensions

Data type: IFM_CCL_SELDIM
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FM_CCL_PROCESS_MAIN_P

T_ACCOUNTS - Funds Management Account Assignments

Data type: IFM_DIMENSIONS
Optional: No
Call by Reference: Yes

T_OITEMS - Commitment Documents Funds Management

Data type: IFM_CCL_OITEMS
Optional: Yes
Call by Reference: Yes

T_FIDOCS - FI Line Item Table in Funds Management

Data type: IFM_CCL_FIDOCS
Optional: Yes
Call by Reference: Yes

T_TOTALS - FM FYC: Output Structure for Closing Open Items

Data type: IFM_CCL_TOTALS_LIST
Optional: Yes
Call by Reference: Yes

T_OUTLIST -

Data type: IFM_CCL_OUTPUT_LIST
Optional: Yes
Call by Reference: Yes

T_MESSAGES - Return Parameter(s)

Data type: IFM_CCL_MESSAGES
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for FM_CCL_PROCESS_MAIN_P 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:
lt_t_accounts  TYPE STANDARD TABLE OF IFM_DIMENSIONS, "   
lv_i_flg_itemlog  TYPE FM_CCF_ITEMLOG, "   
lt_t_oitems  TYPE STANDARD TABLE OF IFM_CCL_OITEMS, "   
lv_i_f_control_data  TYPE IFM_CCL_CONTROL_DATA, "   
lt_t_fidocs  TYPE STANDARD TABLE OF IFM_CCL_FIDOCS, "   
lv_i_f_seldim  TYPE IFM_CCL_SELDIM, "   
lt_t_totals  TYPE STANDARD TABLE OF IFM_CCL_TOTALS_LIST, "   
lt_t_outlist  TYPE STANDARD TABLE OF IFM_CCL_OUTPUT_LIST, "   
lt_t_messages  TYPE STANDARD TABLE OF IFM_CCL_MESSAGES. "   

  CALL FUNCTION 'FM_CCL_PROCESS_MAIN_P'  "
    EXPORTING
         I_FLG_ITEMLOG = lv_i_flg_itemlog
         I_F_CONTROL_DATA = lv_i_f_control_data
         I_F_SELDIM = lv_i_f_seldim
    TABLES
         T_ACCOUNTS = lt_t_accounts
         T_OITEMS = lt_t_oitems
         T_FIDOCS = lt_t_fidocs
         T_TOTALS = lt_t_totals
         T_OUTLIST = lt_t_outlist
         T_MESSAGES = lt_t_messages
. " FM_CCL_PROCESS_MAIN_P




ABAP code using 7.40 inline data declarations to call FM FM_CCL_PROCESS_MAIN_P

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.

 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!