SAP Function Modules

FMCY_START_RELEASE SAP Function module - Start the carry over process for one packet







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

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


Pattern for FM FMCY_START_RELEASE - FMCY START RELEASE





CALL FUNCTION 'FMCY_START_RELEASE' "Start the carry over  process for one packet
  EXPORTING
    i_t_lines_combi =           " fmcy_t_combination  Use for block builder
    i_s_combination =           " fmcy_s_combination  Use for block builder
    i_hierachyctrl =            " bucy_s_hierarchyctrl  Checkbox
    i_f_entrydocctrl =          " bump_s_entrydocctrl  Entry document settings for mass posting
    i_ref_log =                 " cl_bubas_appl_log_ctx  Application log with context
    i_flg_test =                " xfeld         Checkbox
    i_flg_detail_list =         " xfeld         Checkbox
    i_fmarea =                  " fikrs         Financial Management Area
    i_docfam =                  " bued_docfam   Document Year
    i_flg_enqueue =             " flag          General Flag
    i_sfiscyear =               " gjahr         Fiscal Year
    i_sversion =                " buku_version  Budget version
    i_tperiod =                 " buku_period   Budgeting period
    i_f_dimgrouping =           " fmmp_s_dimgroup  Grouping FM dimensions for mass postings
    i_tbudtype =                " buku_budtype  Budget Type
    i_t_budcat_ceffyear =       " fmmp_t_budcat_ceffyear  Budget category - YCEs - AVC ledger
    i_sbudtype =                " buku_budtype  Budget Type
    i_speriod =                 " buku_period   Budgeting period
    i_tdistkey =                " spred         Distribution Key
    i_f_general_ctrl =          " bump_s_generalctrl  General settings for mass posting
*   i_ceffyear_shift = 0        " i             YCE shift
    i_sprocess =                " buku_process  Internal Budgeting Process
    i_tprocess =                " buku_process  Internal Budgeting Process
    i_fiscyear_shift = 0        " i
*   i_t_dimparts =              " fmku_t_dimparts  FM dimensions
    i_updatemode =              " bucy_updatemode  Update Mode in Mass Transactions
    i_t_sptcombination =        " buku_t_ptcombination  Process/budget type combinations
    i_dimseltabs =              " fmbs_s_dimseltabs  Select options for dimensions
*   i_flg_nohana =              " xfeld         Checkbox
*   i_dbcon =                   " dbcon_name    Logical name for a database connection
*   i_flg_db_hana =             " xfeld         Checkbox
  IMPORTING
    e_copied_records =          " int4          Natural Number
    e_t_detail =                " fmmp_t_line_docnr  FM - Kernel Utilities - Table of result of checks
    e_docyear =                 " buku_docyear  Document Year
    e_posted_docs =             " i
    e_t_docnr =                 " fmmp_t_header_with_log  FM list table for MP proposals (header)
    .  "  FMCY_START_RELEASE

ABAP code example for Function Module FMCY_START_RELEASE





The ABAP code below is a full code listing to execute function module FMCY_START_RELEASE 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_copied_records  TYPE INT4 ,
ld_e_t_detail  TYPE FMMP_T_LINE_DOCNR ,
ld_e_docyear  TYPE BUKU_DOCYEAR ,
ld_e_posted_docs  TYPE I ,
ld_e_t_docnr  TYPE FMMP_T_HEADER_WITH_LOG .

DATA(ld_i_t_lines_combi) = 'Check type of data required'.
DATA(ld_i_s_combination) = 'Check type of data required'.
DATA(ld_i_hierachyctrl) = 'Check type of data required'.
DATA(ld_i_f_entrydocctrl) = 'Check type of data required'.
DATA(ld_i_ref_log) = 'Check type of data required'.
DATA(ld_i_flg_test) = 'Check type of data required'.
DATA(ld_i_flg_detail_list) = 'Check type of data required'.
DATA(ld_i_fmarea) = 'Check type of data required'.
DATA(ld_i_docfam) = 'Check type of data required'.
DATA(ld_i_flg_enqueue) = 'Check type of data required'.
DATA(ld_i_sfiscyear) = 'Check type of data required'.
DATA(ld_i_sversion) = 'Check type of data required'.
DATA(ld_i_tperiod) = 'Check type of data required'.
DATA(ld_i_f_dimgrouping) = 'Check type of data required'.
DATA(ld_i_tbudtype) = 'Check type of data required'.
DATA(ld_i_t_budcat_ceffyear) = 'Check type of data required'.
DATA(ld_i_sbudtype) = 'Check type of data required'.
DATA(ld_i_speriod) = 'Check type of data required'.
DATA(ld_i_tdistkey) = 'Check type of data required'.
DATA(ld_i_f_general_ctrl) = 'Check type of data required'.
DATA(ld_i_ceffyear_shift) = 'Check type of data required'.
DATA(ld_i_sprocess) = 'Check type of data required'.
DATA(ld_i_tprocess) = 'Check type of data required'.
DATA(ld_i_fiscyear_shift) = 'Check type of data required'.
DATA(ld_i_t_dimparts) = 'Check type of data required'.
DATA(ld_i_updatemode) = 'Check type of data required'.
DATA(ld_i_t_sptcombination) = 'Check type of data required'.
DATA(ld_i_dimseltabs) = 'Check type of data required'.
DATA(ld_i_flg_nohana) = 'Check type of data required'.
DATA(ld_i_dbcon) = 'Check type of data required'.
DATA(ld_i_flg_db_hana) = 'Check type of data required'. . CALL FUNCTION 'FMCY_START_RELEASE' EXPORTING i_t_lines_combi = ld_i_t_lines_combi i_s_combination = ld_i_s_combination i_hierachyctrl = ld_i_hierachyctrl i_f_entrydocctrl = ld_i_f_entrydocctrl i_ref_log = ld_i_ref_log i_flg_test = ld_i_flg_test i_flg_detail_list = ld_i_flg_detail_list i_fmarea = ld_i_fmarea i_docfam = ld_i_docfam i_flg_enqueue = ld_i_flg_enqueue i_sfiscyear = ld_i_sfiscyear i_sversion = ld_i_sversion i_tperiod = ld_i_tperiod i_f_dimgrouping = ld_i_f_dimgrouping i_tbudtype = ld_i_tbudtype i_t_budcat_ceffyear = ld_i_t_budcat_ceffyear i_sbudtype = ld_i_sbudtype i_speriod = ld_i_speriod i_tdistkey = ld_i_tdistkey i_f_general_ctrl = ld_i_f_general_ctrl * i_ceffyear_shift = ld_i_ceffyear_shift i_sprocess = ld_i_sprocess i_tprocess = ld_i_tprocess i_fiscyear_shift = ld_i_fiscyear_shift * i_t_dimparts = ld_i_t_dimparts i_updatemode = ld_i_updatemode i_t_sptcombination = ld_i_t_sptcombination i_dimseltabs = ld_i_dimseltabs * i_flg_nohana = ld_i_flg_nohana * i_dbcon = ld_i_dbcon * i_flg_db_hana = ld_i_flg_db_hana IMPORTING e_copied_records = ld_e_copied_records e_t_detail = ld_e_t_detail e_docyear = ld_e_docyear e_posted_docs = ld_e_posted_docs e_t_docnr = ld_e_t_docnr . " FMCY_START_RELEASE
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_e_copied_records  TYPE INT4 ,
ld_i_t_lines_combi  TYPE FMCY_T_COMBINATION ,
ld_e_t_detail  TYPE FMMP_T_LINE_DOCNR ,
ld_i_s_combination  TYPE FMCY_S_COMBINATION ,
ld_e_docyear  TYPE BUKU_DOCYEAR ,
ld_i_hierachyctrl  TYPE BUCY_S_HIERARCHYCTRL ,
ld_e_posted_docs  TYPE I ,
ld_i_f_entrydocctrl  TYPE BUMP_S_ENTRYDOCCTRL ,
ld_e_t_docnr  TYPE FMMP_T_HEADER_WITH_LOG ,
ld_i_ref_log  TYPE CL_BUBAS_APPL_LOG_CTX ,
ld_i_flg_test  TYPE XFELD ,
ld_i_flg_detail_list  TYPE XFELD ,
ld_i_fmarea  TYPE FIKRS ,
ld_i_docfam  TYPE BUED_DOCFAM ,
ld_i_flg_enqueue  TYPE FLAG ,
ld_i_sfiscyear  TYPE GJAHR ,
ld_i_sversion  TYPE BUKU_VERSION ,
ld_i_tperiod  TYPE BUKU_PERIOD ,
ld_i_f_dimgrouping  TYPE FMMP_S_DIMGROUP ,
ld_i_tbudtype  TYPE BUKU_BUDTYPE ,
ld_i_t_budcat_ceffyear  TYPE FMMP_T_BUDCAT_CEFFYEAR ,
ld_i_sbudtype  TYPE BUKU_BUDTYPE ,
ld_i_speriod  TYPE BUKU_PERIOD ,
ld_i_tdistkey  TYPE SPRED ,
ld_i_f_general_ctrl  TYPE BUMP_S_GENERALCTRL ,
ld_i_ceffyear_shift  TYPE I ,
ld_i_sprocess  TYPE BUKU_PROCESS ,
ld_i_tprocess  TYPE BUKU_PROCESS ,
ld_i_fiscyear_shift  TYPE I ,
ld_i_t_dimparts  TYPE FMKU_T_DIMPARTS ,
ld_i_updatemode  TYPE BUCY_UPDATEMODE ,
ld_i_t_sptcombination  TYPE BUKU_T_PTCOMBINATION ,
ld_i_dimseltabs  TYPE FMBS_S_DIMSELTABS ,
ld_i_flg_nohana  TYPE XFELD ,
ld_i_dbcon  TYPE DBCON_NAME ,
ld_i_flg_db_hana  TYPE XFELD .

ld_i_t_lines_combi = 'Check type of data required'.
ld_i_s_combination = 'Check type of data required'.
ld_i_hierachyctrl = 'Check type of data required'.
ld_i_f_entrydocctrl = 'Check type of data required'.
ld_i_ref_log = 'Check type of data required'.
ld_i_flg_test = 'Check type of data required'.
ld_i_flg_detail_list = 'Check type of data required'.
ld_i_fmarea = 'Check type of data required'.
ld_i_docfam = 'Check type of data required'.
ld_i_flg_enqueue = 'Check type of data required'.
ld_i_sfiscyear = 'Check type of data required'.
ld_i_sversion = 'Check type of data required'.
ld_i_tperiod = 'Check type of data required'.
ld_i_f_dimgrouping = 'Check type of data required'.
ld_i_tbudtype = 'Check type of data required'.
ld_i_t_budcat_ceffyear = 'Check type of data required'.
ld_i_sbudtype = 'Check type of data required'.
ld_i_speriod = 'Check type of data required'.
ld_i_tdistkey = 'Check type of data required'.
ld_i_f_general_ctrl = 'Check type of data required'.
ld_i_ceffyear_shift = 'Check type of data required'.
ld_i_sprocess = 'Check type of data required'.
ld_i_tprocess = 'Check type of data required'.
ld_i_fiscyear_shift = 'Check type of data required'.
ld_i_t_dimparts = 'Check type of data required'.
ld_i_updatemode = 'Check type of data required'.
ld_i_t_sptcombination = 'Check type of data required'.
ld_i_dimseltabs = 'Check type of data required'.
ld_i_flg_nohana = 'Check type of data required'.
ld_i_dbcon = 'Check type of data required'.
ld_i_flg_db_hana = '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 FMCY_START_RELEASE or its description.