SAP RS_PROGNAME_CONCATENATE Function Module for Constructs a program name from individual parts









RS_PROGNAME_CONCATENATE is a standard rs progname concatenate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Constructs a program name from individual parts 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 rs progname concatenate FM, simply by entering the name RS_PROGNAME_CONCATENATE 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_CONCATENATE 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_CONCATENATE'"Constructs a program name from individual parts
EXPORTING
* FUGR_GROUP = "
* FUGR_INCLUDE_NUMBER = "
* SLDB_NAME = "
* MENU_NAME = "
* TYPE_NAME = "
* MST_NAME = "
* CNTX_NAME = "
* CLAS_NAME = "
* INTF_NAME = "

IMPORTING
FUGR_PROGNAME_GROUP = "
CNTX_PROGNAME = "
INTF_PROGNAME = "
CLAS_PROGNAME = "
FUGR_PROGNAME_INCLUDE = "
FUGR_PROGNAME_TOP = "
FUGR_PROGNAME_UXX = "
SLDB_PROGNAME_DB = "
SLDB_PROGNAME_SEL = "
MENU_PROGNAME = "
TYPE_PROGNAME = "
MST_PROGNAME = "

EXCEPTIONS
DELIMITER_ERROR = 1
.



IMPORTING Parameters details for RS_PROGNAME_CONCATENATE

FUGR_GROUP -

Data type: RS38L-AREA
Optional: Yes
Call by Reference: No ( called with pass by value option)

FUGR_INCLUDE_NUMBER -

Data type: TFDIR-INCLUDE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SLDB_NAME -

Data type: LDBD-LDBNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

MENU_NAME -

Data type: TSTC-TCODE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TYPE_NAME -

Data type: TRDIR-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

MST_NAME -

Data type: DD02L-TABNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

CNTX_NAME -

Data type: TRDIR-NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

CLAS_NAME -

Data type: SEOCLASS-CLSNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

INTF_NAME -

Data type: SEOCLASS-CLSNAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RS_PROGNAME_CONCATENATE

FUGR_PROGNAME_GROUP -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

CNTX_PROGNAME -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

INTF_PROGNAME -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

CLAS_PROGNAME -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

FUGR_PROGNAME_INCLUDE -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

FUGR_PROGNAME_TOP -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

FUGR_PROGNAME_UXX -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

SLDB_PROGNAME_DB -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

SLDB_PROGNAME_SEL -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

MENU_PROGNAME -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

TYPE_PROGNAME -

Data type: TRDIR-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

MST_PROGNAME -

Data type: TRDIR-NAME
Optional: 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_CONCATENATE 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_fugr_group  TYPE RS38L-AREA, "   
lv_delimiter_error  TYPE RS38L, "   
lv_fugr_progname_group  TYPE TRDIR-NAME, "   
lv_cntx_progname  TYPE TRDIR-NAME, "   
lv_intf_progname  TYPE TRDIR-NAME, "   
lv_clas_progname  TYPE TRDIR-NAME, "   
lv_fugr_include_number  TYPE TFDIR-INCLUDE, "   
lv_fugr_progname_include  TYPE TRDIR-NAME, "   
lv_sldb_name  TYPE LDBD-LDBNAME, "   
lv_fugr_progname_top  TYPE TRDIR-NAME, "   
lv_menu_name  TYPE TSTC-TCODE, "   
lv_fugr_progname_uxx  TYPE TRDIR-NAME, "   
lv_type_name  TYPE TRDIR-NAME, "   
lv_sldb_progname_db  TYPE TRDIR-NAME, "   
lv_mst_name  TYPE DD02L-TABNAME, "   
lv_sldb_progname_sel  TYPE TRDIR-NAME, "   
lv_cntx_name  TYPE TRDIR-NAME, "   
lv_menu_progname  TYPE TRDIR-NAME, "   
lv_clas_name  TYPE SEOCLASS-CLSNAME, "   
lv_type_progname  TYPE TRDIR-NAME, "   
lv_intf_name  TYPE SEOCLASS-CLSNAME, "   
lv_mst_progname  TYPE TRDIR-NAME. "   

  CALL FUNCTION 'RS_PROGNAME_CONCATENATE'  "Constructs a program name from individual parts
    EXPORTING
         FUGR_GROUP = lv_fugr_group
         FUGR_INCLUDE_NUMBER = lv_fugr_include_number
         SLDB_NAME = lv_sldb_name
         MENU_NAME = lv_menu_name
         TYPE_NAME = lv_type_name
         MST_NAME = lv_mst_name
         CNTX_NAME = lv_cntx_name
         CLAS_NAME = lv_clas_name
         INTF_NAME = lv_intf_name
    IMPORTING
         FUGR_PROGNAME_GROUP = lv_fugr_progname_group
         CNTX_PROGNAME = lv_cntx_progname
         INTF_PROGNAME = lv_intf_progname
         CLAS_PROGNAME = lv_clas_progname
         FUGR_PROGNAME_INCLUDE = lv_fugr_progname_include
         FUGR_PROGNAME_TOP = lv_fugr_progname_top
         FUGR_PROGNAME_UXX = lv_fugr_progname_uxx
         SLDB_PROGNAME_DB = lv_sldb_progname_db
         SLDB_PROGNAME_SEL = lv_sldb_progname_sel
         MENU_PROGNAME = lv_menu_progname
         TYPE_PROGNAME = lv_type_progname
         MST_PROGNAME = lv_mst_progname
    EXCEPTIONS
        DELIMITER_ERROR = 1
. " RS_PROGNAME_CONCATENATE




ABAP code using 7.40 inline data declarations to call FM RS_PROGNAME_CONCATENATE

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 AREA FROM RS38L INTO @DATA(ld_fugr_group).
 
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_fugr_progname_group).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_cntx_progname).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_intf_progname).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_clas_progname).
 
"SELECT single INCLUDE FROM TFDIR INTO @DATA(ld_fugr_include_number).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_fugr_progname_include).
 
"SELECT single LDBNAME FROM LDBD INTO @DATA(ld_sldb_name).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_fugr_progname_top).
 
"SELECT single TCODE FROM TSTC INTO @DATA(ld_menu_name).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_fugr_progname_uxx).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_type_name).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_sldb_progname_db).
 
"SELECT single TABNAME FROM DD02L INTO @DATA(ld_mst_name).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_sldb_progname_sel).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_cntx_name).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_menu_progname).
 
"SELECT single CLSNAME FROM SEOCLASS INTO @DATA(ld_clas_name).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_type_progname).
 
"SELECT single CLSNAME FROM SEOCLASS INTO @DATA(ld_intf_name).
 
"SELECT single NAME FROM TRDIR INTO @DATA(ld_mst_progname).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!