SAP RS_EU_CROSSREF Function Module for









RS_EU_CROSSREF is a standard rs eu crossref 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 crossref FM, simply by entering the name RS_EU_CROSSREF into the relevant SAP transaction such as SE37 or SE38.

Function Group: SEUA
Program Name: SAPLSEUA
Main Program: SAPLSEUA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RS_EU_CROSSREF 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_CROSSREF'"
EXPORTING
I_FIND_OBJ_CLS = "Class of objects to be searched
* WITH_GENERATED_OBJECTS = ' ' "
* I_FULL_NAME = "
* I_SCOPE_OBJKEY = "
* I_NO_FULLNAME_CONVERSION = "
* I_SCOPE_OBJ_CLS = ' ' "Class of search area
* REKURSIV = ' ' "Recursive call to function module
* I_ANSWER = ' ' "
* I_ACTUAL_INCLUDE = ' ' "
* NO_DIALOG = ' ' "
* EXPAND_SOURCE_IN_BATCH_MODE = 'X' "
* EXPAND_SOURCE_IN_ONLINE_MODE = ' ' "
* WITHOUT_TEXT = ' ' "

IMPORTING
O_SCOPE_OBJ_CLS = "Chosen search area
O_ANSWER = "
O_HITS = "

TABLES
* I_FINDSTRINGS = "Table of objects to be searched
* O_REPOSITORY = "
* O_FOUNDS = "Table of found usages
* O_FINDSTRINGS = "
* I_SCOPE_OBJECTS = "
* I_ACTUAL_SOURCE = "
* I_SCOPE_OBJECT_CLS = "
* I_SCOPE_DEVCLASS = "
* I_EXCLUDE_SCOPE_OBJECT_CLS = "

EXCEPTIONS
NOT_EXECUTED = 1 NOT_FOUND = 2 ILLEGAL_OBJECT = 3 NO_CROSS_FOR_THIS_OBJECT = 4 BATCH = 5 BATCHJOB_ERROR = 6 WRONG_TYPE = 7 OBJECT_NOT_EXIST = 8
.



IMPORTING Parameters details for RS_EU_CROSSREF

I_FIND_OBJ_CLS - Class of objects to be searched

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

WITH_GENERATED_OBJECTS -

Data type: SEU_BOOL
Default: ' '
Optional: No
Call by Reference: No ( called with pass by value option)

I_FULL_NAME -

Data type: STRING
Optional: Yes
Call by Reference: Yes

I_SCOPE_OBJKEY -

Data type: STAB_RANGE_OBJ
Optional: Yes
Call by Reference: Yes

I_NO_FULLNAME_CONVERSION -

Data type: BOOLE_D
Optional: Yes
Call by Reference: Yes

I_SCOPE_OBJ_CLS - Class of search area

Data type: EUOBJ-ID
Default: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)

REKURSIV - Recursive call to function module

Data type: ANY
Default: ' '
Optional: No
Call by Reference: No ( called with pass by value option)

I_ANSWER -

Data type: ANY
Default: ' '
Optional: No
Call by Reference: No ( called with pass by value option)

I_ACTUAL_INCLUDE -

Data type: ANY
Default: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)

NO_DIALOG -

Data type: ANY
Default: ' '
Optional: No
Call by Reference: No ( called with pass by value option)

EXPAND_SOURCE_IN_BATCH_MODE -

Data type: ANY
Default: 'X'
Optional: No
Call by Reference: No ( called with pass by value option)

EXPAND_SOURCE_IN_ONLINE_MODE -

Data type: ANY
Default: ' '
Optional: No
Call by Reference: No ( called with pass by value option)

WITHOUT_TEXT -

Data type: ANY
Default: ' '
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RS_EU_CROSSREF

O_SCOPE_OBJ_CLS - Chosen search area

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

O_ANSWER -

Data type: ANY
Optional: No
Call by Reference: No ( called with pass by value option)

O_HITS -

Data type: SYTABIX
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RS_EU_CROSSREF

I_FINDSTRINGS - Table of objects to be searched

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

O_REPOSITORY -

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

O_FOUNDS - Table of found usages

Data type: RSFINDLST
Optional: Yes
Call by Reference: Yes

O_FINDSTRINGS -

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

I_SCOPE_OBJECTS -

Data type: RSFIND
Optional: Yes
Call by Reference: Yes

I_ACTUAL_SOURCE -

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

I_SCOPE_OBJECT_CLS -

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

I_SCOPE_DEVCLASS -

Data type: RANGE_DEV
Optional: Yes
Call by Reference: Yes

I_EXCLUDE_SCOPE_OBJECT_CLS -

Data type: STANDARD TABLE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NOT_EXECUTED - Termination by user

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 - Object type does not exist in Workbench

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

NO_CROSS_FOR_THIS_OBJECT - No where-used list exists for this object class

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

BATCH - started in background

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

BATCHJOB_ERROR - Background job error

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_CROSSREF 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, "   
lt_i_findstrings  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_i_find_obj_cls  TYPE EUOBJ-ID, "   
lv_o_scope_obj_cls  TYPE EUOBJ-ID, "   
lv_with_generated_objects  TYPE SEU_BOOL, "   ' '
lv_i_full_name  TYPE STRING, "   
lv_i_scope_objkey  TYPE STAB_RANGE_OBJ, "   
lv_i_no_fullname_conversion  TYPE BOOLE_D, "   
lv_o_answer  TYPE ANY, "   
lv_not_found  TYPE ANY, "   
lt_o_repository  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_i_scope_obj_cls  TYPE EUOBJ-ID, "   SPACE
lv_o_hits  TYPE SYTABIX, "   
lt_o_founds  TYPE STANDARD TABLE OF RSFINDLST, "   
lv_rekursiv  TYPE ANY, "   ' '
lv_illegal_object  TYPE ANY, "   
lv_i_answer  TYPE ANY, "   ' '
lt_o_findstrings  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_no_cross_for_this_object  TYPE STANDARD TABLE, "   
lv_batch  TYPE STANDARD TABLE, "   
lt_i_scope_objects  TYPE STANDARD TABLE OF RSFIND, "   
lv_i_actual_include  TYPE ANY, "   SPACE
lv_no_dialog  TYPE ANY, "   ' '
lv_batchjob_error  TYPE ANY, "   
lt_i_actual_source  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_wrong_type  TYPE STANDARD TABLE, "   
lt_i_scope_object_cls  TYPE STANDARD TABLE OF STANDARD TABLE, "   
lv_expand_source_in_batch_mode  TYPE ANY, "   'X'
lt_i_scope_devclass  TYPE STANDARD TABLE OF RANGE_DEV, "   
lv_object_not_exist  TYPE RANGE_DEV, "   
lv_expand_source_in_online_mode  TYPE ANY, "   ' '
lv_without_text  TYPE ANY, "   ' '
lt_i_exclude_scope_object_cls  TYPE STANDARD TABLE OF STANDARD TABLE. "   

  CALL FUNCTION 'RS_EU_CROSSREF'  "
    EXPORTING
         I_FIND_OBJ_CLS = lv_i_find_obj_cls
         WITH_GENERATED_OBJECTS = lv_with_generated_objects
         I_FULL_NAME = lv_i_full_name
         I_SCOPE_OBJKEY = lv_i_scope_objkey
         I_NO_FULLNAME_CONVERSION = lv_i_no_fullname_conversion
         I_SCOPE_OBJ_CLS = lv_i_scope_obj_cls
         REKURSIV = lv_rekursiv
         I_ANSWER = lv_i_answer
         I_ACTUAL_INCLUDE = lv_i_actual_include
         NO_DIALOG = lv_no_dialog
         EXPAND_SOURCE_IN_BATCH_MODE = lv_expand_source_in_batch_mode
         EXPAND_SOURCE_IN_ONLINE_MODE = lv_expand_source_in_online_mode
         WITHOUT_TEXT = lv_without_text
    IMPORTING
         O_SCOPE_OBJ_CLS = lv_o_scope_obj_cls
         O_ANSWER = lv_o_answer
         O_HITS = lv_o_hits
    TABLES
         I_FINDSTRINGS = lt_i_findstrings
         O_REPOSITORY = lt_o_repository
         O_FOUNDS = lt_o_founds
         O_FINDSTRINGS = lt_o_findstrings
         I_SCOPE_OBJECTS = lt_i_scope_objects
         I_ACTUAL_SOURCE = lt_i_actual_source
         I_SCOPE_OBJECT_CLS = lt_i_scope_object_cls
         I_SCOPE_DEVCLASS = lt_i_scope_devclass
         I_EXCLUDE_SCOPE_OBJECT_CLS = lt_i_exclude_scope_object_cls
    EXCEPTIONS
        NOT_EXECUTED = 1
        NOT_FOUND = 2
        ILLEGAL_OBJECT = 3
        NO_CROSS_FOR_THIS_OBJECT = 4
        BATCH = 5
        BATCHJOB_ERROR = 6
        WRONG_TYPE = 7
        OBJECT_NOT_EXIST = 8
. " RS_EU_CROSSREF




ABAP code using 7.40 inline data declarations to call FM RS_EU_CROSSREF

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 ID FROM EUOBJ INTO @DATA(ld_i_find_obj_cls).
 
"SELECT single ID FROM EUOBJ INTO @DATA(ld_o_scope_obj_cls).
 
DATA(ld_with_generated_objects) = ' '.
 
 
 
 
 
 
 
"SELECT single ID FROM EUOBJ INTO @DATA(ld_i_scope_obj_cls).
DATA(ld_i_scope_obj_cls) = ' '.
 
 
 
DATA(ld_rekursiv) = ' '.
 
 
DATA(ld_i_answer) = ' '.
 
 
 
 
 
DATA(ld_i_actual_include) = ' '.
 
DATA(ld_no_dialog) = ' '.
 
 
 
 
 
DATA(ld_expand_source_in_batch_mode) = 'X'.
 
 
 
DATA(ld_expand_source_in_online_mode) = ' '.
 
DATA(ld_without_text) = ' '.
 
 


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!