SAP RS_PROGNAME_SPLIT Function Module for
RS_PROGNAME_SPLIT is a standard rs progname split 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 rs progname split FM, simply by entering the name RS_PROGNAME_SPLIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: SEQ0
Program Name: SAPLSEQ0
Main Program: SAPLSEQ0
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RS_PROGNAME_SPLIT 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 'RS_PROGNAME_SPLIT'".
EXPORTING
PROGNAME_WITH_NAME' ' = "
IMPORTING
NAME' ' = "
FUGR_INCLUDE_NUMBER = "
FUGR_SUFFIX = "
FUGR_IS_RESERVED_EXIT_NAME = "
SLDB_IS_RESERVED_NAME = "
SLDB_LOGDB_NAME = "
MST_IS_RESERVED_NAME = "
TYPE_IS_RESERVED_NAME = "
TYPE_NAME = "
MENU_IS_RESERVED_NAME = "
MENU_NAME = "
PROGNAME_WITHOUT_NAME' ' = "
CLASS_IS_RESERVED_NAME = "
CLASS_IS_NAME = "
CLASS_NAME = "
CLASS_IS_METHOD_NAME = "
CLASS_METHOD_NAME = "
CNTX_IS_RESERVED_NAME = "
FUGR_IS_NAME = "
FUGR_IS_RESERVED_NAME = "
FUGR_IS_FUNCTIONPOOL_NAME = "
FUGR_IS_INCLUDE_NAME = "
FUGR_IS_FUNCTIONMODULE_NAME = "
FUGR_IS_HIDDEN_NAME = "
FUGR_GROUP = "
EXCEPTIONS
DELIMITER_ERROR = 1
IMPORTING Parameters details for RS_PROGNAME_SPLIT
PROGNAME_WITH_NAMESPACE -
Data type: RS38L-INCLUDEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RS_PROGNAME_SPLIT
NAMESPACE -
Data type: RS38L-NAMESPACEOptional: No
Call by Reference: No ( called with pass by value option)
FUGR_INCLUDE_NUMBER -
Data type: TFDIR-INCLUDEOptional: No
Call by Reference: No ( called with pass by value option)
FUGR_SUFFIX -
Data type: RS38L-SUFFIXOptional: No
Call by Reference: No ( called with pass by value option)
FUGR_IS_RESERVED_EXIT_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
SLDB_IS_RESERVED_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
SLDB_LOGDB_NAME -
Data type: LDBD-LDBNAMEOptional: No
Call by Reference: No ( called with pass by value option)
MST_IS_RESERVED_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TYPE_IS_RESERVED_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TYPE_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
MENU_IS_RESERVED_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
MENU_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
PROGNAME_WITHOUT_NAMESPACE -
Data type: RS38L-INCLUDEOptional: No
Call by Reference: No ( called with pass by value option)
CLASS_IS_RESERVED_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
CLASS_IS_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
CLASS_NAME -
Data type: SEOCLSNAMEOptional: No
Call by Reference: No ( called with pass by value option)
CLASS_IS_METHOD_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
CLASS_METHOD_NAME -
Data type: SEOCPDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
CNTX_IS_RESERVED_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FUGR_IS_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FUGR_IS_RESERVED_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FUGR_IS_FUNCTIONPOOL_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FUGR_IS_INCLUDE_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FUGR_IS_FUNCTIONMODULE_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FUGR_IS_HIDDEN_NAME -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
FUGR_GROUP -
Data type: RS38L-AREAOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DELIMITER_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RS_PROGNAME_SPLIT 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_namespace | TYPE RS38L-NAMESPACE, " | |||
| lv_delimiter_error | TYPE RS38L, " | |||
| lv_progname_with_namespace | TYPE RS38L-INCLUDE, " | |||
| lv_fugr_include_number | TYPE TFDIR-INCLUDE, " | |||
| lv_fugr_suffix | TYPE RS38L-SUFFIX, " | |||
| lv_fugr_is_reserved_exit_name | TYPE C, " | |||
| lv_sldb_is_reserved_name | TYPE C, " | |||
| lv_sldb_logdb_name | TYPE LDBD-LDBNAME, " | |||
| lv_mst_is_reserved_name | TYPE C, " | |||
| lv_type_is_reserved_name | TYPE C, " | |||
| lv_type_name | TYPE C, " | |||
| lv_menu_is_reserved_name | TYPE C, " | |||
| lv_menu_name | TYPE C, " | |||
| lv_progname_without_namespace | TYPE RS38L-INCLUDE, " | |||
| lv_class_is_reserved_name | TYPE C, " | |||
| lv_class_is_name | TYPE C, " | |||
| lv_class_name | TYPE SEOCLSNAME, " | |||
| lv_class_is_method_name | TYPE C, " | |||
| lv_class_method_name | TYPE SEOCPDNAME, " | |||
| lv_cntx_is_reserved_name | TYPE C, " | |||
| lv_fugr_is_name | TYPE C, " | |||
| lv_fugr_is_reserved_name | TYPE C, " | |||
| lv_fugr_is_functionpool_name | TYPE C, " | |||
| lv_fugr_is_include_name | TYPE C, " | |||
| lv_fugr_is_functionmodule_name | TYPE C, " | |||
| lv_fugr_is_hidden_name | TYPE C, " | |||
| lv_fugr_group | TYPE RS38L-AREA. " |
|   CALL FUNCTION 'RS_PROGNAME_SPLIT' " |
| EXPORTING | ||
| PROGNAME_WITH_NAMESPACE | = lv_progname_with_namespace | |
| IMPORTING | ||
| NAMESPACE | = lv_namespace | |
| FUGR_INCLUDE_NUMBER | = lv_fugr_include_number | |
| FUGR_SUFFIX | = lv_fugr_suffix | |
| FUGR_IS_RESERVED_EXIT_NAME | = lv_fugr_is_reserved_exit_name | |
| SLDB_IS_RESERVED_NAME | = lv_sldb_is_reserved_name | |
| SLDB_LOGDB_NAME | = lv_sldb_logdb_name | |
| MST_IS_RESERVED_NAME | = lv_mst_is_reserved_name | |
| TYPE_IS_RESERVED_NAME | = lv_type_is_reserved_name | |
| TYPE_NAME | = lv_type_name | |
| MENU_IS_RESERVED_NAME | = lv_menu_is_reserved_name | |
| MENU_NAME | = lv_menu_name | |
| PROGNAME_WITHOUT_NAMESPACE | = lv_progname_without_namespace | |
| CLASS_IS_RESERVED_NAME | = lv_class_is_reserved_name | |
| CLASS_IS_NAME | = lv_class_is_name | |
| CLASS_NAME | = lv_class_name | |
| CLASS_IS_METHOD_NAME | = lv_class_is_method_name | |
| CLASS_METHOD_NAME | = lv_class_method_name | |
| CNTX_IS_RESERVED_NAME | = lv_cntx_is_reserved_name | |
| FUGR_IS_NAME | = lv_fugr_is_name | |
| FUGR_IS_RESERVED_NAME | = lv_fugr_is_reserved_name | |
| FUGR_IS_FUNCTIONPOOL_NAME | = lv_fugr_is_functionpool_name | |
| FUGR_IS_INCLUDE_NAME | = lv_fugr_is_include_name | |
| FUGR_IS_FUNCTIONMODULE_NAME | = lv_fugr_is_functionmodule_name | |
| FUGR_IS_HIDDEN_NAME | = lv_fugr_is_hidden_name | |
| FUGR_GROUP | = lv_fugr_group | |
| EXCEPTIONS | ||
| DELIMITER_ERROR = 1 | ||
| . " RS_PROGNAME_SPLIT | ||
ABAP code using 7.40 inline data declarations to call FM RS_PROGNAME_SPLIT
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 NAMESPACE FROM RS38L INTO @DATA(ld_namespace). | ||||
| "SELECT single INCLUDE FROM RS38L INTO @DATA(ld_progname_with_namespace). | ||||
| "SELECT single INCLUDE FROM TFDIR INTO @DATA(ld_fugr_include_number). | ||||
| "SELECT single SUFFIX FROM RS38L INTO @DATA(ld_fugr_suffix). | ||||
| "SELECT single LDBNAME FROM LDBD INTO @DATA(ld_sldb_logdb_name). | ||||
| "SELECT single INCLUDE FROM RS38L INTO @DATA(ld_progname_without_namespace). | ||||
| "SELECT single AREA FROM RS38L INTO @DATA(ld_fugr_group). | ||||
Search for further information about these or an SAP related objects