SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | F4 Help(BC-DWB-DIC-F4) SAP BC

RUTHVMIG SAP ABAP Report - Migration of help views to new search helps







RUTHVMIG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program generates the appropriate search helps for help views created before Release 4...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RUTHVMIG into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RUTHVMIG. "Basic submit
SUBMIT RUTHVMIG AND RETURN. "Return to original report after report execution complete
SUBMIT RUTHVMIG VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: VIEWNAME = Help view name
Selection Text: TEST = Test run only
Selection Text: DEVCLASS = Package
Selection Text: CONN = Only attachment to check table
Title: Migration of help views to new search helps
Text Symbol: 200 = SAP objects modified by help view migration
Text Symbol: 104 = Help view created in Release 4.0
Text Symbol: 103 = Help view is used as selection method
Text Symbol: 102 = Table already has a search help attachment
Text Symbol: 101 = Search help already exists
Text Symbol: 016 = Changed manually:
Text Symbol: 015 = Selection Conditions:
Text Symbol: 014 = Text table as root:
Text Symbol: 013 = No text foreign key:
Text Symbol: 012 = Join with several FRK:
Text Symbol: 011 = Too many base tables:
Text Symbol: 009 = Attached to check table
Text Symbol: 008 = Attach. to check table missing
Text Symbol: 007 = Check table does not exist
Text Symbol: 006 = Automatic attachment not possible
Text Symbol: 005 = Search help attachment already exists
Text Symbol: 003 = View is included in migrated search help
Text Symbol: 002 = View can be migrated
Text Symbol: 001 = !!! Old interface !!!


INCLUDES used within this REPORT RUTHVMIG

INCLUDE RADBTOUM.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG' EXCEPTIONS OTHERS = 0.

DD_VIHD_GET CALL FUNCTION 'DD_VIHD_GET' EXPORTING GET_STATE = 'A' VIEW_NAME = VIEWNAME IMPORTING DD25V_WA_A = DD25V_WA EXCEPTIONS ILLEGAL_VALUE = 1 OTHERS = 2.

DD_VIEW_GET CALL FUNCTION 'DD_VIEW_GET' EXPORTING GET_STATE = VIEW_GET_STATE PRID = 0 VIEW_NAME = VIEWNAME WITHTEXT = 'X' IMPORTING DD25V_WA_A = DD25V_WA TABLES DD26V_TAB_A = DD26V_TAB DD27P_TAB_A = DD27P_TAB DD28V_TAB_A = DD28V_TAB EXCEPTIONS ACCESS_FAILURE = 1 OTHERS = 2.

GET_HELPVIEW_PROGNAME CALL FUNCTION 'GET_HELPVIEW_PROGNAME' EXPORTING VIEWNAME = DD25V_WA-VIEWNAME IMPORTING PROGNAME = REPID EXCEPTIONS OTHERS = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = DD25V_WA-ROOTTAB TABLES DFIES_TAB = PRIMFLD_TAB EXCEPTIONS OTHERS = 3.

DD_SHLP_PUT CALL FUNCTION 'DD_SHLP_PUT' EXPORTING DD30V_WA = DD30V_WA PUT_STATE = 'N' PRID = PRID SHLP_NAME = DD30V_WA-SHLPNAME TABLES * DD31V_TAB = DD31V_TAB DD32P_TAB = DD32P_TAB * DD33V_TAB = DD33V_TAB EXCEPTIONS OTHERS = 4.

DD_SHLP_ACT CALL FUNCTION 'DD_SHLP_ACT' EXPORTING SHLPNAME = DD30V_WA-SHLPNAME PRID = PRID IMPORTING * RESULTS = RC = RC EXCEPTIONS PARAMETER_ERROR = 1 ACTOK_FAILURE = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = CHECKTABLE TABLES DFIES_TAB = DFIES_TAB EXCEPTIONS OTHERS = 3.

DD_TBSH_PUT CALL FUNCTION 'DD_TBSH_PUT' EXPORTING PUT_STATE = 'A' PRID = PRID * REPLACE = ' ' TABL_NAME = CHECKTABLE TABLES DD35V_TAB = DD35V_TAB DD36M_TAB = DD36M_TAB EXCEPTIONS OTHERS = 4.

GET_HELPVIEW_PROGNAME CALL FUNCTION 'GET_HELPVIEW_PROGNAME' EXPORTING VIEWNAME = VIEWNAME * GENERATE = ' ' IMPORTING PROGNAME = REPID EXCEPTIONS OTHERS = 0.

TR_CHECK_NAME_CLASS CALL FUNCTION 'TR_CHECK_NAME_CLASS' EXPORTING WI_OBJECT = 'VIEW' WI_OBJNAME = OBJNAME WI_PGMID = 'R3TR' IMPORTING WE_NAME_CLASS = NAME_CLASS EXCEPTIONS OTHERS = 1.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' TABLES XMSG = XMSG EXCEPTIONS OTHERS = 3.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING WI_TEST_MODUS = SPACE WI_TADIR_PGMID = TADIR_WA-PGMID WI_TADIR_OBJECT = TADIR_WA-OBJECT WI_TADIR_OBJ_NAME = TADIR_WA-OBJ_NAME WI_TADIR_AUTHOR = TADIR_WA-AUTHOR WI_TADIR_DEVCLASS = TADIR_WA-DEVCLASS WI_TADIR_MASTERLANG = TADIR_WA-MASTERLANG EXCEPTIONS OTHERS = 1.

TRINT_MOVE_TADIR_ATTRIBUTES CALL FUNCTION 'TRINT_MOVE_TADIR_ATTRIBUTES' CHANGING IT_MOVE = TADIR_MOVE.

DD_SHHD_GET CALL FUNCTION 'DD_SHHD_GET' EXPORTING GET_STATE = 'A' SHLP_NAME = SHLPNAME IMPORTING DD30V_WA_A = DD30V_WA EXCEPTIONS ILLEGAL_VALUE = 1 OP_FAILURE = 2 OTHERS = 3.

DD_VIEW_GET CALL FUNCTION 'DD_VIEW_GET' EXPORTING GET_STATE = VIEW_GET_STATE PRID = 0 VIEW_NAME = VIEWNAME WITHTEXT = 'X' IMPORTING DD25V_WA_A = DD25V_WA TABLES DD26V_TAB_A = DD26V_TAB DD27P_TAB_A = DD27P_TAB DD28V_TAB_A = DD28V_TAB EXCEPTIONS ACCESS_FAILURE = 1 OTHERS = 2.

DD_SHHD_GET CALL FUNCTION 'DD_SHHD_GET' EXPORTING GET_STATE = 'A' PRID = PRID SHLP_NAME = SHLPNAME WITHTEXT = ' ' IMPORTING DD30V_WA_A = DD30V_WA EXCEPTIONS ILLEGAL_VALUE = 1 OP_FAILURE = 2 OTHERS = 3.

TR_CHECK_NAME_CLASS CALL FUNCTION 'TR_CHECK_NAME_CLASS' EXPORTING WI_PGMID = 'R3TR' WI_OBJECT = 'TABL' WI_OBJNAME = OBJNAME IMPORTING WE_NAME_CLASS = NAME_CLASS EXCEPTIONS NAMESPACE_NOT_EXISTING = 1 INVALID_OBJECT = 2 OTHERS = 3.

TR_CHECK_NAME_CLASS





CALL FUNCTION 'TR_CHECK_NAME_CLASS' EXPORTING WI_PGMID = 'R3TR' WI_OBJECT = 'SHLP' WI_OBJNAME = OBJNAME IMPORTING WE_NAME_CLASS = NAME_CLASS EXCEPTIONS NAMESPACE_NOT_EXISTING = 1 INVALID_OBJECT = 2 OTHERS = 3.

CLM_INSERT_PROT_ONLY CALL FUNCTION 'CLM_INSERT_PROT_ONLY' TABLES PROT_OBJECT_LIST = PROTS EXCEPTIONS INSERT_FAILED = 1 OTHERS = 2.

TR_INSERT_NEW_COMM CALL FUNCTION 'TR_INSERT_NEW_COMM' EXPORTING WI_KURZTEXT = LS_E07T-AS4TEXT WI_TRFUNCTION = LS_E070-TRFUNCTION * WI_STRKORR = ' ' * WI_CATEGORY = ' ' * IV_TARSYSTEM = ' ' * WI_CLIENT = ' ' * WI_TARGET_CLIENT = ' ' * IV_TARDEVCL = ' ' * IV_DEVCLASS = ' ' * IV_TARLAYER = ' ' * WI_PROTECT = ' ' * IV_SIMULATION = ' ' IMPORTING WE_TRKORR = LV_TRKORR WE_E070 = LS_E070 WE_E07T = LS_E07T * WE_E070C = * ES_E070M = EXCEPTIONS CLIENT_RANGE_FULL = 1 E070L_INSERT_ERROR = 2 E070L_UPDATE_ERROR = 3 E070_INSERT_ERROR = 4 E07T_INSERT_ERROR = 5 E070C_INSERT_ERROR = 6 E070M_INSERT_ERROR = 7 NO_SYSTEMNAME = 8 NO_SYSTEMTYPE = 9 SAP_RANGE_FULL = 10 UNALLOWED_TRFUNCTION = 11 UNALLOWED_USER = 12 ORDER_NOT_FOUND = 13 INVALID_TARGETSYSTEM = 14 INVALID_TARGET_DEVCLASS = 15 INVALID_DEVCLASS = 16 INVALID_TARGET_LAYER = 17 INVALID_STATUS = 18 NOT_AN_ORDER = 19 ORDER_LOCK_FAILED = 20 NO_AUTHORIZATION = 21 WRONG_CLIENT = 22 FILE_ACCESS_ERROR = 23 WRONG_CATEGORY = 24 INTERNAL_ERROR = 25 OTHERS = 26.

TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING WI_TRKORR = LV_TRKORR WI_DIALOG = ' ' * WI_LANGU = SY-LANGU WI_SEL_E070 = 'X' * WI_SEL_E071 = ' ' * WI_SEL_E071K = ' ' * IV_SEL_E071KF = ' ' WI_SEL_E07T = 'X' * WI_SEL_E070C = ' ' * IV_SEL_E070M = ' ' IMPORTING WE_E070 = LS_E070 WE_E07T = LS_E07T * WE_E070C = * ES_E070M = * WE_E07T_DOESNT_EXIST = * WE_E070C_DOESNT_EXIST = * EV_E070M_DOESNT_EXIST = TABLES WT_E071 = LT_E071 WT_E071K = LT_E071K * ET_E071KF = EXCEPTIONS NOT_EXIST_E070 = 1 NO_AUTHORIZATION = 2 OTHERS = 3.

TR_MODIFY_COMM CALL FUNCTION 'TR_MODIFY_COMM' EXPORTING WI_E070 = LS_E070 WI_E07T = LS_E07T WI_SEL_E071 = 'X' * WI_SEL_E071K = ' ' WI_SEL_E07T = ' ' * WI_SEL_E070C = ' ' * WI_E070C = ' ' * IMPORTING * WE_E070 = * WE_E07T = * WE_E070C = TABLES WT_E071 = E071_TAB WT_E071K = LT_E071K EXCEPTIONS * db_access_error = 1 CHOSEN_PROJECT_CLOSED = 2 LOCKED_ENTRIES = 3 LOCKED_OBJECT_NOT_DELETED = 4 ORDERNAME_FORBIDDEN = 5 ORDERNUMBER_EMPTY = 6 ORDER_CHANGE_BUT_LOCKED_OBJECT = 7 ORDER_RELEASED = 8 ORDER_USER_LOCKED = 9 TR_CHECK_KEYSYNTAX_ERROR = 10 TR_ENQUEUE_FAILED = 11 NO_AUTHORIZATION = 12 WRONG_CLIENT = 13 UNALLOWED_SOURCE_CLIENT = 14 UNALLOWED_USER = 15 * unallowed_trfunction = 16 * unallowed_trstatus = 17 * no_systemname = 18 * no_systemtype = 19 * invalid_change_of_types = 20 OTHERS = 21.

COMM_TABLE_SORT CALL FUNCTION 'COMM_TABLE_SORT' TABLES SORT_TAB = E071_TAB.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RUTHVMIG or its description.