SAP Function Modules

FMCY_SET_PROCESS_BUDTYPE SAP Function module - Set the process budget type combination







FMCY_SET_PROCESS_BUDTYPE 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_SET_PROCESS_BUDTYPE 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_SET_PROCESS_BUDTYPE - FMCY SET PROCESS BUDTYPE





CALL FUNCTION 'FMCY_SET_PROCESS_BUDTYPE' "Set the process budget type combination
  EXPORTING
    i_fmarea =                  " fikrs         Financial Management Area
*   i_bud =                     " flag          Flag for budget
*   i_rel =                     " flag          Flag for release
*   i_sta =                     " flag          Flag for statistical
  IMPORTING
    e_cancel =                  " flag          General Flag
  CHANGING
    c_t_ptcomb =                " buku_t_ptcombination  Process/budget type combinations
    .  "  FMCY_SET_PROCESS_BUDTYPE

ABAP code example for Function Module FMCY_SET_PROCESS_BUDTYPE





The ABAP code below is a full code listing to execute function module FMCY_SET_PROCESS_BUDTYPE 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_cancel  TYPE FLAG .

DATA(ld_c_t_ptcomb) = 'Check type of data required'.
DATA(ld_i_fmarea) = 'Check type of data required'.
DATA(ld_i_bud) = 'Check type of data required'.
DATA(ld_i_rel) = 'Check type of data required'.
DATA(ld_i_sta) = 'Check type of data required'. . CALL FUNCTION 'FMCY_SET_PROCESS_BUDTYPE' EXPORTING i_fmarea = ld_i_fmarea * i_bud = ld_i_bud * i_rel = ld_i_rel * i_sta = ld_i_sta IMPORTING e_cancel = ld_e_cancel CHANGING c_t_ptcomb = ld_c_t_ptcomb . " FMCY_SET_PROCESS_BUDTYPE
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_ptcomb  TYPE BUKU_T_PTCOMBINATION ,
ld_e_cancel  TYPE FLAG ,
ld_i_fmarea  TYPE FIKRS ,
ld_i_bud  TYPE FLAG ,
ld_i_rel  TYPE FLAG ,
ld_i_sta  TYPE FLAG .

ld_c_t_ptcomb = 'Check type of data required'.
ld_i_fmarea = 'Check type of data required'.
ld_i_bud = 'Check type of data required'.
ld_i_rel = 'Check type of data required'.
ld_i_sta = '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_SET_PROCESS_BUDTYPE or its description.