RSO_ENH_TEST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSO_ENH_TEST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSO_CONTENT_ADMIN
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSO_ENH_TEST' "Test Enhancements
EXPORTING
* i_appendnm = " rsappendnm Name of Append (Enhancement)
* i_s_main = " rso_s_main Main Object of Append
i_enhversion = 'A' " r3state Version A or I
i_debug = RS_C_FALSE " rs_bool Boolean
* i_langu = SY-LANGU " sylangu Language Key of Current Text Environment
i_lock = RS_C_FALSE " rs_bool With Lock
i_ignore_scopes = RS_C_TRUE " rs_bool = X: All Appends Regardless of Scopes
IMPORTING
enhheader = " enhheader Enhancement Header Table
e_t_string = " string_table Table of Strings
e_found_in_header = " rs_bool = X: Found in Header Table
TABLES
enhlog = " enhlog_it Enhancement Log
enhobj = " enhobj Enhancement Objects
enhtab = " enhtab Enhancements for Tables
sotr_text = " sotr_text Texts in OTR
enhdependent = " enhdependent Table of Dependent Enhancements
enhincinx = " enhincinx_it Enhancement: Tables by Means of Program Enhancements
enhobjcontract = " enhobjcontract_it Enhancement Objects
enhloadinval = " enhloadinval Programs whose load is invalidated at import
sotr_useu = " sotr_useu Where-Used List for Strings in the OTR
enhknownenhs = " enhknownenhs Other enhancement objects already named
EXCEPTIONS
CX_RS_NOT_FOUND = 1 " Object Not Found
CX_RSO_ENH_VERSION_NOT_FOUND = 2 " Enhancement Not Found
CX_RSO_ENH_NAME_INVALID = 3 " Name of Append Is Invalid
CX_RSO_ENH_MAIN_OBJ_BROKEN = 4 " Append Main Object Is Inconsistent/Corrupt
. " RSO_ENH_TEST
The ABAP code below is a full code listing to execute function module RSO_ENH_TEST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_enhheader | TYPE ENHHEADER , |
| ld_e_t_string | TYPE STRING_TABLE , |
| ld_e_found_in_header | TYPE RS_BOOL , |
| it_enhlog | TYPE STANDARD TABLE OF ENHLOG_IT,"TABLES PARAM |
| wa_enhlog | LIKE LINE OF it_enhlog , |
| it_enhobj | TYPE STANDARD TABLE OF ENHOBJ,"TABLES PARAM |
| wa_enhobj | LIKE LINE OF it_enhobj , |
| it_enhtab | TYPE STANDARD TABLE OF ENHTAB,"TABLES PARAM |
| wa_enhtab | LIKE LINE OF it_enhtab , |
| it_sotr_text | TYPE STANDARD TABLE OF SOTR_TEXT,"TABLES PARAM |
| wa_sotr_text | LIKE LINE OF it_sotr_text , |
| it_enhdependent | TYPE STANDARD TABLE OF ENHDEPENDENT,"TABLES PARAM |
| wa_enhdependent | LIKE LINE OF it_enhdependent , |
| it_enhincinx | TYPE STANDARD TABLE OF ENHINCINX_IT,"TABLES PARAM |
| wa_enhincinx | LIKE LINE OF it_enhincinx , |
| it_enhobjcontract | TYPE STANDARD TABLE OF ENHOBJCONTRACT_IT,"TABLES PARAM |
| wa_enhobjcontract | LIKE LINE OF it_enhobjcontract , |
| it_enhloadinval | TYPE STANDARD TABLE OF ENHLOADINVAL,"TABLES PARAM |
| wa_enhloadinval | LIKE LINE OF it_enhloadinval , |
| it_sotr_useu | TYPE STANDARD TABLE OF SOTR_USEU,"TABLES PARAM |
| wa_sotr_useu | LIKE LINE OF it_sotr_useu , |
| it_enhknownenhs | TYPE STANDARD TABLE OF ENHKNOWNENHS,"TABLES PARAM |
| wa_enhknownenhs | LIKE LINE OF it_enhknownenhs . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_enhheader | TYPE ENHHEADER , |
| ld_i_appendnm | TYPE RSAPPENDNM , |
| it_enhlog | TYPE STANDARD TABLE OF ENHLOG_IT , |
| wa_enhlog | LIKE LINE OF it_enhlog, |
| it_enhobj | TYPE STANDARD TABLE OF ENHOBJ , |
| wa_enhobj | LIKE LINE OF it_enhobj, |
| ld_i_s_main | TYPE RSO_S_MAIN , |
| ld_e_t_string | TYPE STRING_TABLE , |
| ld_i_enhversion | TYPE R3STATE , |
| it_enhtab | TYPE STANDARD TABLE OF ENHTAB , |
| wa_enhtab | LIKE LINE OF it_enhtab, |
| ld_e_found_in_header | TYPE RS_BOOL , |
| ld_i_debug | TYPE RS_BOOL , |
| it_sotr_text | TYPE STANDARD TABLE OF SOTR_TEXT , |
| wa_sotr_text | LIKE LINE OF it_sotr_text, |
| ld_i_langu | TYPE SYLANGU , |
| it_enhdependent | TYPE STANDARD TABLE OF ENHDEPENDENT , |
| wa_enhdependent | LIKE LINE OF it_enhdependent, |
| ld_i_lock | TYPE RS_BOOL , |
| it_enhincinx | TYPE STANDARD TABLE OF ENHINCINX_IT , |
| wa_enhincinx | LIKE LINE OF it_enhincinx, |
| ld_i_ignore_scopes | TYPE RS_BOOL , |
| it_enhobjcontract | TYPE STANDARD TABLE OF ENHOBJCONTRACT_IT , |
| wa_enhobjcontract | LIKE LINE OF it_enhobjcontract, |
| it_enhloadinval | TYPE STANDARD TABLE OF ENHLOADINVAL , |
| wa_enhloadinval | LIKE LINE OF it_enhloadinval, |
| it_sotr_useu | TYPE STANDARD TABLE OF SOTR_USEU , |
| wa_sotr_useu | LIKE LINE OF it_sotr_useu, |
| it_enhknownenhs | TYPE STANDARD TABLE OF ENHKNOWNENHS , |
| wa_enhknownenhs | LIKE LINE OF it_enhknownenhs. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSO_ENH_TEST or its description.
RSO_ENH_TEST - Test Enhancements RSO_ENH_SET_UPDATE_FLAG - (Re)Sets the Upgrade Indicator RSO_ENH_OBJ_REORG_TEXTS - Reorganizes Append Texts (Delete Superfluous) RSO_ENH_ADD_USAGE - Insert Relationship RSO_ELEM_VARIABLE_BY_IOBJ - Where-Used List for Variables with Regard to InfoObjects RSO_ELEM_QUERY_OBJ_BY_INFOCUBE - Where-Used List of Query Objects with Regard to InfoCube