SAP Function Modules

FM_CCF_PROCESS_MAIN_CHAIN SAP Function module







FM_CCF_PROCESS_MAIN_CHAIN 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 FM_CCF_PROCESS_MAIN_CHAIN into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FMYC_CCF_CHAIN
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FM_CCF_PROCESS_MAIN_CHAIN - FM CCF PROCESS MAIN CHAIN





CALL FUNCTION 'FM_CCF_PROCESS_MAIN_CHAIN' "
  EXPORTING
*   i_zero = SPACE              " fm_allow_zerocf
*   i_dias = SPACE              " fm_process_dialog  Process with Dialog
    i_f_control_data =          " ifm_ccf_control_data
    i_t_value_types =           " fmccf_t_value_types
  IMPORTING
    e_t_outlist =               " fmcfc_t_output_list_chain
    e_t_messages =              " fmccf_t_messages
* CHANGING
*   c_t_fmioi =                 " fmccf_t_fmioi
*   c_t_fmifiit =               " fmccf_t_fmifiit
*   c_t_orig_amounts =          " fmcfc_t_amounts  Amounts from Commitment Records (for Chain Carryforward)
*   c_t_orig_amounts_fi =       " fmcfc_t_amounts_fi  Amounts from FI Records (for Chain Carryforward)
    .  "  FM_CCF_PROCESS_MAIN_CHAIN

ABAP code example for Function Module FM_CCF_PROCESS_MAIN_CHAIN





The ABAP code below is a full code listing to execute function module FM_CCF_PROCESS_MAIN_CHAIN 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).

DATA:
ld_e_t_outlist  TYPE FMCFC_T_OUTPUT_LIST_CHAIN ,
ld_e_t_messages  TYPE FMCCF_T_MESSAGES .

DATA(ld_c_t_fmioi) = 'Check type of data required'.
DATA(ld_c_t_fmifiit) = 'Check type of data required'.
DATA(ld_c_t_orig_amounts) = 'Check type of data required'.
DATA(ld_c_t_orig_amounts_fi) = 'Check type of data required'.
DATA(ld_i_zero) = 'Check type of data required'.
DATA(ld_i_dias) = 'Check type of data required'.
DATA(ld_i_f_control_data) = 'Check type of data required'.
DATA(ld_i_t_value_types) = 'Check type of data required'. . CALL FUNCTION 'FM_CCF_PROCESS_MAIN_CHAIN' EXPORTING * i_zero = ld_i_zero * i_dias = ld_i_dias i_f_control_data = ld_i_f_control_data i_t_value_types = ld_i_t_value_types IMPORTING e_t_outlist = ld_e_t_outlist e_t_messages = ld_e_t_messages * CHANGING * c_t_fmioi = ld_c_t_fmioi * c_t_fmifiit = ld_c_t_fmifiit * c_t_orig_amounts = ld_c_t_orig_amounts * c_t_orig_amounts_fi = ld_c_t_orig_amounts_fi . " FM_CCF_PROCESS_MAIN_CHAIN
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_c_t_fmioi  TYPE FMCCF_T_FMIOI ,
ld_e_t_outlist  TYPE FMCFC_T_OUTPUT_LIST_CHAIN ,
ld_i_zero  TYPE FM_ALLOW_ZEROCF ,
ld_c_t_fmifiit  TYPE FMCCF_T_FMIFIIT ,
ld_e_t_messages  TYPE FMCCF_T_MESSAGES ,
ld_i_dias  TYPE FM_PROCESS_DIALOG ,
ld_c_t_orig_amounts  TYPE FMCFC_T_AMOUNTS ,
ld_i_f_control_data  TYPE IFM_CCF_CONTROL_DATA ,
ld_c_t_orig_amounts_fi  TYPE FMCFC_T_AMOUNTS_FI ,
ld_i_t_value_types  TYPE FMCCF_T_VALUE_TYPES .

ld_c_t_fmioi = 'Check type of data required'.
ld_i_zero = 'Check type of data required'.
ld_c_t_fmifiit = 'Check type of data required'.
ld_i_dias = 'Check type of data required'.
ld_c_t_orig_amounts = 'Check type of data required'.
ld_i_f_control_data = 'Check type of data required'.
ld_c_t_orig_amounts_fi = 'Check type of data required'.
ld_i_t_value_types = 'Check type of data required'.

Contribute (Add Comments)

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 FM_CCF_PROCESS_MAIN_CHAIN or its description.