SAP K_SC_SPLIT_BASIS_SPL_TOOL Function Module for
K_SC_SPLIT_BASIS_SPL_TOOL is a standard k sc split basis spl tool 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 basis spl tool FM, simply by entering the name K_SC_SPLIT_BASIS_SPL_TOOL 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_BASIS_SPL_TOOL 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_BASIS_SPL_TOOL'".
EXPORTING
* I_FLG_TEST = 'X' "
* I_ORGVG = ' ' "
I_OBJNR = "
I_RKBKPL = "
I_WRTTP = "
* I_DONT_SPLIT_TC = ' ' "
* I_WSDAT = SY-DATLO "
* I_SHOW_TT = ' ' "
* I_CUMUL_PERAB = '001' "
* I_CUMUL = ' ' "
TABLES
T_ACT = "
T_TAR = "
T_REC = "
T_COIOB = "
* T_LKO77V = "
IMPORTING Parameters details for K_SC_SPLIT_BASIS_SPL_TOOL
I_FLG_TEST -
Data type:Default: 'X'
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)
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_WRTTP -
Data type: COSL-WRTTPOptional: No
Call by Reference: No ( called with pass by value option)
I_DONT_SPLIT_TC -
Data type:Default: SPACE
Optional: Yes
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)
TABLES Parameters details for K_SC_SPLIT_BASIS_SPL_TOOL
T_ACT -
Data type: KV012Optional: No
Call by Reference: No ( called with pass by value option)
T_TAR -
Data type: KV012Optional: No
Call by Reference: No ( called with pass by value option)
T_REC -
Data type: KV011Optional: No
Call by Reference: No ( called with pass by value option)
T_COIOB -
Data type: COIOBOptional: No
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_BASIS_SPL_TOOL 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_orgvg | TYPE COBK-ORGVG, " SPACE | |||
| lt_t_tar | TYPE STANDARD TABLE OF KV012, " | |||
| lv_i_objnr | TYPE COSL-OBJNR, " | |||
| lt_t_rec | TYPE STANDARD TABLE OF KV011, " | |||
| lv_i_rkbkpl | TYPE RKBKPL, " | |||
| lv_i_wrttp | TYPE COSL-WRTTP, " | |||
| lt_t_coiob | TYPE STANDARD TABLE OF COIOB, " | |||
| lt_t_lko77v | TYPE STANDARD TABLE OF LKO77V, " | |||
| lv_i_dont_split_tc | TYPE LKO77V, " SPACE | |||
| 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 |
|   CALL FUNCTION 'K_SC_SPLIT_BASIS_SPL_TOOL' " |
| EXPORTING | ||
| I_FLG_TEST | = lv_i_flg_test | |
| I_ORGVG | = lv_i_orgvg | |
| I_OBJNR | = lv_i_objnr | |
| I_RKBKPL | = lv_i_rkbkpl | |
| I_WRTTP | = lv_i_wrttp | |
| I_DONT_SPLIT_TC | = lv_i_dont_split_tc | |
| I_WSDAT | = lv_i_wsdat | |
| I_SHOW_TT | = lv_i_show_tt | |
| I_CUMUL_PERAB | = lv_i_cumul_perab | |
| I_CUMUL | = lv_i_cumul | |
| TABLES | ||
| T_ACT | = lt_t_act | |
| T_TAR | = lt_t_tar | |
| T_REC | = lt_t_rec | |
| T_COIOB | = lt_t_coiob | |
| T_LKO77V | = lt_t_lko77v | |
| . " K_SC_SPLIT_BASIS_SPL_TOOL | ||
ABAP code using 7.40 inline data declarations to call FM K_SC_SPLIT_BASIS_SPL_TOOL
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 ORGVG FROM COBK INTO @DATA(ld_i_orgvg). | ||||
| DATA(ld_i_orgvg) | = ' '. | |||
| "SELECT single OBJNR FROM COSL INTO @DATA(ld_i_objnr). | ||||
| "SELECT single WRTTP FROM COSL INTO @DATA(ld_i_wrttp). | ||||
| DATA(ld_i_dont_split_tc) | = ' '. | |||
| "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) | = ' '. | |||
Search for further information about these or an SAP related objects