BKK_CLOSING_INC_CLOS_ID 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 BKK_CLOSING_INC_CLOS_ID into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FBM5
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BKK_CLOSING_INC_CLOS_ID' "BCA: Increment Year/Sequential Number
EXPORTING
i_curr_year_last = " bkkm2-curr_year Year of Last Balancing Run
i_curr_nr_last = " bkkm2-curr_nr Sequential Number of Last Balancing Run
* i_closdate = SY-DATUM " bkkm2-next_date Balancing Date
* i_curr_nr_last6 = " bkkm2-curr_nr6 Sequence Number
* i_clostype = " bkkm2-clos_typ Consolidation Frequency
IMPORTING
e_curr_year = " bkkm2-curr_year Year of New Balancing Run
e_curr_nr = " bkkm2-curr_nr Sequential Number of New Balancing Run
e_curr_nr6 = " bkkm2-curr_nr6 Sequence Number
. " BKK_CLOSING_INC_CLOS_ID
The ABAP code below is a full code listing to execute function module BKK_CLOSING_INC_CLOS_ID 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_e_curr_year | TYPE BKKM2-CURR_YEAR , |
| ld_e_curr_nr | TYPE BKKM2-CURR_NR , |
| ld_e_curr_nr6 | TYPE BKKM2-CURR_NR6 . |
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_curr_year | TYPE BKKM2-CURR_YEAR , |
| ld_i_curr_year_last | TYPE BKKM2-CURR_YEAR , |
| ld_e_curr_nr | TYPE BKKM2-CURR_NR , |
| ld_i_curr_nr_last | TYPE BKKM2-CURR_NR , |
| ld_e_curr_nr6 | TYPE BKKM2-CURR_NR6 , |
| ld_i_closdate | TYPE BKKM2-NEXT_DATE , |
| ld_i_curr_nr_last6 | TYPE BKKM2-CURR_NR6 , |
| ld_i_clostype | TYPE BKKM2-CLOS_TYP . |
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 BKK_CLOSING_INC_CLOS_ID or its description.
BKK_CLOSING_INC_CLOS_ID - BCA: Increment Year/Sequential Number BKK_CLOSING_GET_RUNS - Balancing DB: Get Current Balancing Runs BKK_CLOSING_GET_PARAM - BCA: Read Balancing Parameters BKK_CLOSING_GET_NEW_DATA - BCA: Get Balancing Data Already Flagged for Update BKK_CLOSING_GET_NEAREST_KEYDAT - Find Nearest Key Date BKK_CLOSING_GET_LAST_YEAR_NR_T - BCA: Get Year/Sequential Number of Last Balancing Run (List)