SAP SPLITTERCONTROL_CREATE Function Module for Create a splitter control !! INTERNAL USE ONLY!!
SPLITTERCONTROL_CREATE is a standard splittercontrol create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create a splitter control !! INTERNAL USE ONLY!! processing and below is the pattern details for this FM, 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 splittercontrol create FM, simply by entering the name SPLITTERCONTROL_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNT1
Program Name: SAPLCNT1
Main Program:
Appliation area: S
Release date: 29-Apr-1998
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SPLITTERCONTROL_CREATE 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 'SPLITTERCONTROL_CREATE'"Create a splitter control !! INTERNAL USE ONLY!!.
EXPORTING
OWNER_REPID = "Report that Creates the Control
OWNER_DYNNR = "Screen to which the control is assigned
* NO_FLUSH = 'X' "-----
* DOCK_AT = DOCK_AT_LEFT "Orientation within the window
* WIDTH = 42 "Horizontal size in 1/8 character
* HEIGHT = 42 "Vertical size in 1/8 character
CHANGING
H_CONTROL = "Control Handle
EXCEPTIONS
CREATE_ERROR = 1
IMPORTING Parameters details for SPLITTERCONTROL_CREATE
OWNER_REPID - Report that Creates the Control
Data type: SY-REPIDOptional: No
Call by Reference: No ( called with pass by value option)
OWNER_DYNNR - Screen to which the control is assigned
Data type: SY-DYNNROptional: No
Call by Reference: No ( called with pass by value option)
NO_FLUSH - -----
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
DOCK_AT - Orientation within the window
Data type: IDefault: DOCK_AT_LEFT
Optional: Yes
Call by Reference: No ( called with pass by value option)
WIDTH - Horizontal size in 1/8 character
Data type: IDefault: 42
Optional: Yes
Call by Reference: No ( called with pass by value option)
HEIGHT - Vertical size in 1/8 character
Data type: IDefault: 42
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for SPLITTERCONTROL_CREATE
H_CONTROL - Control Handle
Data type: CNTL_HANDLEOptional: No
Call by Reference: Yes
EXCEPTIONS details
CREATE_ERROR - Error when creating the control
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SPLITTERCONTROL_CREATE 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: | ||||
| lv_h_control | TYPE CNTL_HANDLE, " | |||
| lv_owner_repid | TYPE SY-REPID, " | |||
| lv_create_error | TYPE SY, " | |||
| lv_owner_dynnr | TYPE SY-DYNNR, " | |||
| lv_no_flush | TYPE C, " 'X' | |||
| lv_dock_at | TYPE I, " DOCK_AT_LEFT | |||
| lv_width | TYPE I, " 42 | |||
| lv_height | TYPE I. " 42 |
|   CALL FUNCTION 'SPLITTERCONTROL_CREATE' "Create a splitter control !! INTERNAL USE ONLY!! |
| EXPORTING | ||
| OWNER_REPID | = lv_owner_repid | |
| OWNER_DYNNR | = lv_owner_dynnr | |
| NO_FLUSH | = lv_no_flush | |
| DOCK_AT | = lv_dock_at | |
| WIDTH | = lv_width | |
| HEIGHT | = lv_height | |
| CHANGING | ||
| H_CONTROL | = lv_h_control | |
| EXCEPTIONS | ||
| CREATE_ERROR = 1 | ||
| . " SPLITTERCONTROL_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM SPLITTERCONTROL_CREATE
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.| "SELECT single REPID FROM SY INTO @DATA(ld_owner_repid). | ||||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_owner_dynnr). | ||||
| DATA(ld_no_flush) | = 'X'. | |||
| DATA(ld_dock_at) | = DOCK_AT_LEFT. | |||
| DATA(ld_width) | = 42. | |||
| DATA(ld_height) | = 42. | |||
Search for further information about these or an SAP related objects