FKR2_GET_CUSTOMIZING 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 FKR2_GET_CUSTOMIZING into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKR2
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FKR2_GET_CUSTOMIZING' "
EXPORTING
i_dfkkrk = " dfkkrk
* i_dfkkrp = " dfkkrp
* TABLES
* t_tfk001 = " tfk001
* t_tfk001t = " tfk001t
* t_tfk045e = " tfk045e
* CHANGING
* c_tfk045a = " tfk045a
* c_tfk045b = " tfk045b
* c_tfk045c = " tfk045c
* c_t001 = " t001 Company Code Data
* c_tfk001b = " tfk001b Responsible Company Code
EXCEPTIONS
PARAMS_MISSING = 1 "
NO_DATA_FOUND = 2 " No data found
. " FKR2_GET_CUSTOMIZING
The ABAP code below is a full code listing to execute function module FKR2_GET_CUSTOMIZING 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).
| it_t_tfk001 | TYPE STANDARD TABLE OF TFK001,"TABLES PARAM |
| wa_t_tfk001 | LIKE LINE OF it_t_tfk001 , |
| it_t_tfk001t | TYPE STANDARD TABLE OF TFK001T,"TABLES PARAM |
| wa_t_tfk001t | LIKE LINE OF it_t_tfk001t , |
| it_t_tfk045e | TYPE STANDARD TABLE OF TFK045E,"TABLES PARAM |
| wa_t_tfk045e | LIKE LINE OF it_t_tfk045e . |
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_tfk045a | TYPE TFK045A , |
| ld_i_dfkkrk | TYPE DFKKRK , |
| it_t_tfk001 | TYPE STANDARD TABLE OF TFK001 , |
| wa_t_tfk001 | LIKE LINE OF it_t_tfk001, |
| ld_c_tfk045b | TYPE TFK045B , |
| ld_i_dfkkrp | TYPE DFKKRP , |
| it_t_tfk001t | TYPE STANDARD TABLE OF TFK001T , |
| wa_t_tfk001t | LIKE LINE OF it_t_tfk001t, |
| ld_c_tfk045c | TYPE TFK045C , |
| it_t_tfk045e | TYPE STANDARD TABLE OF TFK045E , |
| wa_t_tfk045e | LIKE LINE OF it_t_tfk045e, |
| ld_c_t001 | TYPE T001 , |
| ld_c_tfk001b | TYPE TFK001B . |
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 FKR2_GET_CUSTOMIZING or its description.