SAP K_SC_SPLIT_FIX_VARIABLE Function Module for
K_SC_SPLIT_FIX_VARIABLE is a standard k sc split fix variable SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for k sc split fix variable FM, simply by entering the name K_SC_SPLIT_FIX_VARIABLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: KSL1
Program Name: SAPLKSL1
Main Program: SAPLKSL1
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function K_SC_SPLIT_FIX_VARIABLE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'K_SC_SPLIT_FIX_VARIABLE'".
EXPORTING
* I_FLG_TEST = 'X' "
I_OBJNR = "
I_RKBKPL = "
* I_WSDAT = SY-DATLO "
* I_SHOW_TT = ' ' "
* I_CUMUL_PERAB = '001' "
* I_CUMUL = ' ' "
* I_ORGVG = ' ' "
TABLES
T_ACT = "
* T_COIOB = "
* T_LKO77V = "
IMPORTING Parameters details for K_SC_SPLIT_FIX_VARIABLE
I_FLG_TEST -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJNR -
Data type: COSL-OBJNROptional: No
Call by Reference: No ( called with pass by value option)
I_RKBKPL -
Data type: RKBKPLOptional: No
Call by Reference: No ( called with pass by value option)
I_WSDAT -
Data type: AUAK-WSDATDefault: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SHOW_TT -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CUMUL_PERAB -
Data type: AUAK-PERIODefault: '001'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CUMUL -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ORGVG -
Data type: COBK-ORGVGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for K_SC_SPLIT_FIX_VARIABLE
T_ACT -
Data type: KV012Optional: No
Call by Reference: No ( called with pass by value option)
T_COIOB -
Data type: COIOBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_LKO77V -
Data type: LKO77VOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for K_SC_SPLIT_FIX_VARIABLE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_t_act | TYPE STANDARD TABLE OF KV012, " | |||
| lv_i_flg_test | TYPE KV012, " 'X' | |||
| lv_i_objnr | TYPE COSL-OBJNR, " | |||
| lt_t_coiob | TYPE STANDARD TABLE OF COIOB, " | |||
| lv_i_rkbkpl | TYPE RKBKPL, " | |||
| lt_t_lko77v | TYPE STANDARD TABLE OF LKO77V, " | |||
| lv_i_wsdat | TYPE AUAK-WSDAT, " SY-DATLO | |||
| lv_i_show_tt | TYPE AUAK, " SPACE | |||
| lv_i_cumul_perab | TYPE AUAK-PERIO, " '001' | |||
| lv_i_cumul | TYPE AUAK, " SPACE | |||
| lv_i_orgvg | TYPE COBK-ORGVG. " SPACE |
|   CALL FUNCTION 'K_SC_SPLIT_FIX_VARIABLE' " |
| EXPORTING | ||
| I_FLG_TEST | = lv_i_flg_test | |
| I_OBJNR | = lv_i_objnr | |
| I_RKBKPL | = lv_i_rkbkpl | |
| I_WSDAT | = lv_i_wsdat | |
| I_SHOW_TT | = lv_i_show_tt | |
| I_CUMUL_PERAB | = lv_i_cumul_perab | |
| I_CUMUL | = lv_i_cumul | |
| I_ORGVG | = lv_i_orgvg | |
| TABLES | ||
| T_ACT | = lt_t_act | |
| T_COIOB | = lt_t_coiob | |
| T_LKO77V | = lt_t_lko77v | |
| . " K_SC_SPLIT_FIX_VARIABLE | ||
ABAP code using 7.40 inline data declarations to call FM K_SC_SPLIT_FIX_VARIABLE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_i_flg_test) | = 'X'. | |||
| "SELECT single OBJNR FROM COSL INTO @DATA(ld_i_objnr). | ||||
| "SELECT single WSDAT FROM AUAK INTO @DATA(ld_i_wsdat). | ||||
| DATA(ld_i_wsdat) | = SY-DATLO. | |||
| DATA(ld_i_show_tt) | = ' '. | |||
| "SELECT single PERIO FROM AUAK INTO @DATA(ld_i_cumul_perab). | ||||
| DATA(ld_i_cumul_perab) | = '001'. | |||
| DATA(ld_i_cumul) | = ' '. | |||
| "SELECT single ORGVG FROM COBK INTO @DATA(ld_i_orgvg). | ||||
| DATA(ld_i_orgvg) | = ' '. | |||
Search for further information about these or an SAP related objects