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

Function RS_EU_CROSS 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_EU_CROSS'".
EXPORTING
* I_EXACT_SPELLING = ' ' "Internal use
* I_ANSWER = "Internal Use
* I_ACTUAL_INCLUDE = ' ' "
* WITH_GENERATED_OBJECTS = ' ' "
* I_FINDSTRING = "Search string
I_FIND_OBJ_CLS = "Class of object to be searched
* I_SCOPE_OBJ = ' ' "Search area
* I_SCOPE_OBJ_CLS = ' ' "Class of search area
* I_WITH_TEXTS = 'X' "Internal use
* I_WITH_NEXT = ' ' "Internal use
* I_EDITOR_CALL = ' ' "Internal use
* MONITOR_ACTIVATION = 'X' "Internal Use
IMPORTING
O_NAVIGATION = "Internal use
O_FCODE = "Last function code
O_SCOPE_OBJ_CLS = "
O_ANSWER = "Internal usage
TABLES
* I_MAINPROGRAMS = "Internal use
* I_SCOPE_OBJECTS = "
* I_ACTUAL_SOURCE = "
* I_SCOPE_OBJECT_CLS = "
EXCEPTIONS
NOT_EXECUTED = 1 NOT_FOUND = 2 ILLEGAL_OBJECT = 3 NO_CROSS_FOR_THIS_OBJECT = 4 WRONG_TYPE = 5 OBJECT_NOT_EXIST = 6
IMPORTING Parameters details for RS_EU_CROSS
I_EXACT_SPELLING - Internal use
Data type: RSEUV-TDEXACTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ANSWER - Internal Use
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ACTUAL_INCLUDE -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_GENERATED_OBJECTS -
Data type: SEU_BOOLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FINDSTRING - Search string
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FIND_OBJ_CLS - Class of object to be searched
Data type: EUOBJ-IDOptional: No
Call by Reference: No ( called with pass by value option)
I_SCOPE_OBJ - Search area
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SCOPE_OBJ_CLS - Class of search area
Data type: EUOBJ-IDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WITH_TEXTS - Internal use
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_WITH_NEXT - Internal use
Data type:Default: ' '
Optional: Yes
Call by Reference: Yes
I_EDITOR_CALL - Internal use
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
MONITOR_ACTIVATION - Internal Use
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RS_EU_CROSS
O_NAVIGATION - Internal use
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
O_FCODE - Last function code
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
O_SCOPE_OBJ_CLS -
Data type: EUOBJ-IDOptional: No
Call by Reference: No ( called with pass by value option)
O_ANSWER - Internal usage
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RS_EU_CROSS
I_MAINPROGRAMS - Internal use
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SCOPE_OBJECTS -
Data type: RSFINDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ACTUAL_SOURCE -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SCOPE_OBJECT_CLS -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_EXECUTED - Processing cancelled
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_FOUND - Nothing found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ILLEGAL_OBJECT - Incorrect object type ( not in Workbench )
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_CROSS_FOR_THIS_OBJECT - No usages found for this object class
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_TYPE - Incorrect object type
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OBJECT_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RS_EU_CROSS 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_not_executed | TYPE STRING, " | |||
| lv_o_navigation | TYPE STRING, " | |||
| lt_i_mainprograms | TYPE STANDARD TABLE OF STRING, " | |||
| lv_i_exact_spelling | TYPE RSEUV-TDEXACT, " SPACE | |||
| lv_i_answer | TYPE RSEUV, " | |||
| lv_i_actual_include | TYPE RSEUV, " SPACE | |||
| lv_with_generated_objects | TYPE SEU_BOOL, " ' ' | |||
| lv_o_fcode | TYPE SEU_BOOL, " | |||
| lv_not_found | TYPE SEU_BOOL, " | |||
| lv_i_findstring | TYPE SEU_BOOL, " | |||
| lt_i_scope_objects | TYPE STANDARD TABLE OF RSFIND, " | |||
| lv_illegal_object | TYPE RSFIND, " | |||
| lv_i_find_obj_cls | TYPE EUOBJ-ID, " | |||
| lt_i_actual_source | TYPE STANDARD TABLE OF EUOBJ, " | |||
| lv_o_scope_obj_cls | TYPE EUOBJ-ID, " | |||
| lv_o_answer | TYPE EUOBJ, " | |||
| lv_i_scope_obj | TYPE EUOBJ, " SPACE | |||
| lt_i_scope_object_cls | TYPE STANDARD TABLE OF EUOBJ, " | |||
| lv_no_cross_for_this_object | TYPE EUOBJ, " | |||
| lv_wrong_type | TYPE EUOBJ, " | |||
| lv_i_scope_obj_cls | TYPE EUOBJ-ID, " SPACE | |||
| lv_i_with_texts | TYPE EUOBJ, " 'X' | |||
| lv_object_not_exist | TYPE EUOBJ, " | |||
| lv_i_with_next | TYPE EUOBJ, " ' ' | |||
| lv_i_editor_call | TYPE EUOBJ, " ' ' | |||
| lv_monitor_activation | TYPE EUOBJ. " 'X' |
|   CALL FUNCTION 'RS_EU_CROSS' " |
| EXPORTING | ||
| I_EXACT_SPELLING | = lv_i_exact_spelling | |
| I_ANSWER | = lv_i_answer | |
| I_ACTUAL_INCLUDE | = lv_i_actual_include | |
| WITH_GENERATED_OBJECTS | = lv_with_generated_objects | |
| I_FINDSTRING | = lv_i_findstring | |
| I_FIND_OBJ_CLS | = lv_i_find_obj_cls | |
| I_SCOPE_OBJ | = lv_i_scope_obj | |
| I_SCOPE_OBJ_CLS | = lv_i_scope_obj_cls | |
| I_WITH_TEXTS | = lv_i_with_texts | |
| I_WITH_NEXT | = lv_i_with_next | |
| I_EDITOR_CALL | = lv_i_editor_call | |
| MONITOR_ACTIVATION | = lv_monitor_activation | |
| IMPORTING | ||
| O_NAVIGATION | = lv_o_navigation | |
| O_FCODE | = lv_o_fcode | |
| O_SCOPE_OBJ_CLS | = lv_o_scope_obj_cls | |
| O_ANSWER | = lv_o_answer | |
| TABLES | ||
| I_MAINPROGRAMS | = lt_i_mainprograms | |
| I_SCOPE_OBJECTS | = lt_i_scope_objects | |
| I_ACTUAL_SOURCE | = lt_i_actual_source | |
| I_SCOPE_OBJECT_CLS | = lt_i_scope_object_cls | |
| EXCEPTIONS | ||
| NOT_EXECUTED = 1 | ||
| NOT_FOUND = 2 | ||
| ILLEGAL_OBJECT = 3 | ||
| NO_CROSS_FOR_THIS_OBJECT = 4 | ||
| WRONG_TYPE = 5 | ||
| OBJECT_NOT_EXIST = 6 | ||
| . " RS_EU_CROSS | ||
ABAP code using 7.40 inline data declarations to call FM RS_EU_CROSS
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 TDEXACT FROM RSEUV INTO @DATA(ld_i_exact_spelling). | ||||
| DATA(ld_i_exact_spelling) | = ' '. | |||
| DATA(ld_i_actual_include) | = ' '. | |||
| DATA(ld_with_generated_objects) | = ' '. | |||
| "SELECT single ID FROM EUOBJ INTO @DATA(ld_i_find_obj_cls). | ||||
| "SELECT single ID FROM EUOBJ INTO @DATA(ld_o_scope_obj_cls). | ||||
| DATA(ld_i_scope_obj) | = ' '. | |||
| "SELECT single ID FROM EUOBJ INTO @DATA(ld_i_scope_obj_cls). | ||||
| DATA(ld_i_scope_obj_cls) | = ' '. | |||
| DATA(ld_i_with_texts) | = 'X'. | |||
| DATA(ld_i_with_next) | = ' '. | |||
| DATA(ld_i_editor_call) | = ' '. | |||
| DATA(ld_monitor_activation) | = 'X'. | |||
Search for further information about these or an SAP related objects