FM_FUNC_AREA_CREATE 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_FUNC_AREA_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FM_FUNCTIONAL_AREA
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FM_FUNC_AREA_CREATE' "Create Functional Area
EXPORTING
i_func_area = " fkber Functional Area
is_tfkb = " fmfa_tfkb_di Functional Area Direct Input Data
is_tfkbt = " fmfa_tfkbt_di Name of the functional areas
* i_flg_testrun = ABAP_TRUE " abap_bool Switch to Simulation Session for Write BAPIs
* i_flg_commit = ABAP_FALSE " abap_bool Perform Commit ?
IMPORTING
et_messages = " bapiret2_t Return parameter table
. " FM_FUNC_AREA_CREATE
The ABAP code below is a full code listing to execute function module FM_FUNC_AREA_CREATE 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).
| ld_et_messages | TYPE BAPIRET2_T . |
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_et_messages | TYPE BAPIRET2_T , |
| ld_i_func_area | TYPE FKBER , |
| ld_is_tfkb | TYPE FMFA_TFKB_DI , |
| ld_is_tfkbt | TYPE FMFA_TFKBT_DI , |
| ld_i_flg_testrun | TYPE ABAP_BOOL , |
| ld_i_flg_commit | TYPE ABAP_BOOL . |
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_FUNC_AREA_CREATE or its description.