SAP RS_CUA_INTERNAL_STD_FETCH Function Module for Internal use: Get standards
RS_CUA_INTERNAL_STD_FETCH is a standard rs cua internal std fetch SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Internal use: Get standards 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 cua internal std fetch FM, simply by entering the name RS_CUA_INTERNAL_STD_FETCH into the relevant SAP transaction such as SE37 or SE38.
Function Group: SMPI
Program Name: SAPLSMPI
Main Program: SAPLSMPI
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RS_CUA_INTERNAL_STD_FETCH 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_CUA_INTERNAL_STD_FETCH'"Internal use: Get standards.
EXPORTING
MOD_LANGU = "
OBJECT_CLASS = "
* WITHOUT_TEXTS_FROM_RSNORMDB = ' ' "
IMPORTING
STD_PATH = "
TABLES
ACT = "
SYNI = "
SYNC = "
SYT = "
MEN = "
PFK = "
BUT = "
FIN = "
SYS = "
MTX = "
FUN = "
EXP = "
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for RS_CUA_INTERNAL_STD_FETCH
MOD_LANGU -
Data type: SY-LANGUOptional: No
Call by Reference: No ( called with pass by value option)
OBJECT_CLASS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WITHOUT_TEXTS_FROM_RSNORMDB -
Data type: SYCHAR01Default: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RS_CUA_INTERNAL_STD_FETCH
STD_PATH -
Data type: RSMPE-MENUOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RS_CUA_INTERNAL_STD_FETCH
ACT -
Data type: RSMP_S_ACTOptional: No
Call by Reference: No ( called with pass by value option)
SYNI -
Data type: RSMP_S_SYIOptional: No
Call by Reference: No ( called with pass by value option)
SYNC -
Data type: RSMP_S_SYNOptional: No
Call by Reference: No ( called with pass by value option)
SYT -
Data type: RSMP_S_SYTOptional: No
Call by Reference: No ( called with pass by value option)
MEN -
Data type: RSMP_S_MENOptional: No
Call by Reference: No ( called with pass by value option)
PFK -
Data type: RSMP_S_PFKOptional: No
Call by Reference: No ( called with pass by value option)
BUT -
Data type: RSMP_S_BUTOptional: No
Call by Reference: No ( called with pass by value option)
FIN -
Data type: RSMP_S_FINOptional: No
Call by Reference: No ( called with pass by value option)
SYS -
Data type: RSMP_S_SYSOptional: No
Call by Reference: No ( called with pass by value option)
MTX -
Data type: RSMP_S_MTXOptional: No
Call by Reference: No ( called with pass by value option)
FUN -
Data type: RSMP_S_FUNOptional: No
Call by Reference: No ( called with pass by value option)
EXP -
Data type: RSMP_S_EXPOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RS_CUA_INTERNAL_STD_FETCH 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_act | TYPE STANDARD TABLE OF RSMP_S_ACT, " | |||
| lv_std_path | TYPE RSMPE-MENU, " | |||
| lv_mod_langu | TYPE SY-LANGU, " | |||
| lv_not_found | TYPE SY, " | |||
| lt_syni | TYPE STANDARD TABLE OF RSMP_S_SYI, " | |||
| lt_sync | TYPE STANDARD TABLE OF RSMP_S_SYN, " | |||
| lt_syt | TYPE STANDARD TABLE OF RSMP_S_SYT, " | |||
| lt_men | TYPE STANDARD TABLE OF RSMP_S_MEN, " | |||
| lv_object_class | TYPE RSMP_S_MEN, " | |||
| lt_pfk | TYPE STANDARD TABLE OF RSMP_S_PFK, " | |||
| lv_without_texts_from_rsnormdb | TYPE SYCHAR01, " SPACE | |||
| lt_but | TYPE STANDARD TABLE OF RSMP_S_BUT, " | |||
| lt_fin | TYPE STANDARD TABLE OF RSMP_S_FIN, " | |||
| lt_sys | TYPE STANDARD TABLE OF RSMP_S_SYS, " | |||
| lt_mtx | TYPE STANDARD TABLE OF RSMP_S_MTX, " | |||
| lt_fun | TYPE STANDARD TABLE OF RSMP_S_FUN, " | |||
| lt_exp | TYPE STANDARD TABLE OF RSMP_S_EXP. " |
|   CALL FUNCTION 'RS_CUA_INTERNAL_STD_FETCH' "Internal use: Get standards |
| EXPORTING | ||
| MOD_LANGU | = lv_mod_langu | |
| OBJECT_CLASS | = lv_object_class | |
| WITHOUT_TEXTS_FROM_RSNORMDB | = lv_without_texts_from_rsnormdb | |
| IMPORTING | ||
| STD_PATH | = lv_std_path | |
| TABLES | ||
| ACT | = lt_act | |
| SYNI | = lt_syni | |
| SYNC | = lt_sync | |
| SYT | = lt_syt | |
| MEN | = lt_men | |
| PFK | = lt_pfk | |
| BUT | = lt_but | |
| FIN | = lt_fin | |
| SYS | = lt_sys | |
| MTX | = lt_mtx | |
| FUN | = lt_fun | |
| EXP | = lt_exp | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " RS_CUA_INTERNAL_STD_FETCH | ||
ABAP code using 7.40 inline data declarations to call FM RS_CUA_INTERNAL_STD_FETCH
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 MENU FROM RSMPE INTO @DATA(ld_std_path). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_mod_langu). | ||||
| DATA(ld_without_texts_from_rsnormdb) | = ' '. | |||
Search for further information about these or an SAP related objects