SAP /SAPSLL/CUSTODY_SPLIT_CREATE Function Module for
/SAPSLL/CUSTODY_SPLIT_CREATE is a standard /sapsll/custody split create 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 /sapsll/custody split create FM, simply by entering the name /SAPSLL/CUSTODY_SPLIT_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: /SAPSLL/CUHD_INTACT
Program Name: /SAPSLL/SAPLCUHD_INTACT
Main Program: /SAPSLL/SAPLCUHD_INTACT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function /SAPSLL/CUSTODY_SPLIT_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 '/SAPSLL/CUSTODY_SPLIT_CREATE'".
EXPORTING
IT_DATA = "
IV_GUID_CUIT = "
IS_SK = "
IMPORTING
EV_HANDLE = "
CHANGING
CS_OBJ = "
EXCEPTIONS
INTERNAL_ERROR = 1 NO_ACTIVITY_SEQUENCE = 2 DOCUMENT_NOT_CREATED = 3
IMPORTING Parameters details for /SAPSLL/CUSTODY_SPLIT_CREATE
IT_DATA -
Data type: /SAPSLL/CUHD_LOAD_ITEM_GRID_TOptional: No
Call by Reference: Yes
IV_GUID_CUIT -
Data type: /SAPSLL/GUID_16Optional: No
Call by Reference: Yes
IS_SK -
Data type: /SAPSLL/CUHD_SK_SOptional: No
Call by Reference: Yes
EXPORTING Parameters details for /SAPSLL/CUSTODY_SPLIT_CREATE
EV_HANDLE -
Data type: BALLOGHNDLOptional: No
Call by Reference: Yes
CHANGING Parameters details for /SAPSLL/CUSTODY_SPLIT_CREATE
CS_OBJ -
Data type: /SAPSLL/CUHD_OBJ_SOptional: No
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: Yes
NO_ACTIVITY_SEQUENCE -
Data type:Optional: No
Call by Reference: Yes
DOCUMENT_NOT_CREATED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for /SAPSLL/CUSTODY_SPLIT_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_cs_obj | TYPE /SAPSLL/CUHD_OBJ_S, " | |||
| lv_it_data | TYPE /SAPSLL/CUHD_LOAD_ITEM_GRID_T, " | |||
| lv_ev_handle | TYPE BALLOGHNDL, " | |||
| lv_internal_error | TYPE BALLOGHNDL, " | |||
| lv_iv_guid_cuit | TYPE /SAPSLL/GUID_16, " | |||
| lv_no_activity_sequence | TYPE /SAPSLL/GUID_16, " | |||
| lv_is_sk | TYPE /SAPSLL/CUHD_SK_S, " | |||
| lv_document_not_created | TYPE /SAPSLL/CUHD_SK_S. " |
|   CALL FUNCTION '/SAPSLL/CUSTODY_SPLIT_CREATE' " |
| EXPORTING | ||
| IT_DATA | = lv_it_data | |
| IV_GUID_CUIT | = lv_iv_guid_cuit | |
| IS_SK | = lv_is_sk | |
| IMPORTING | ||
| EV_HANDLE | = lv_ev_handle | |
| CHANGING | ||
| CS_OBJ | = lv_cs_obj | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| NO_ACTIVITY_SEQUENCE = 2 | ||
| DOCUMENT_NOT_CREATED = 3 | ||
| . " /SAPSLL/CUSTODY_SPLIT_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM /SAPSLL/CUSTODY_SPLIT_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.Search for further information about these or an SAP related objects