SAP Reports / Programs

RSWAD_SAP_METADATA_VERS_COPY SAP ABAP Report - RSWADSAPMETADATAVERSCOPY







RSWAD_SAP_METADATA_VERS_COPY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RSWAD_SAP_METADATA_VERS_COPY 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 RSWAD_SAP_METADATA_VERS_COPY. "Basic submit
SUBMIT RSWAD_SAP_METADATA_VERS_COPY AND RETURN. "Return to original report after report execution complete
SUBMIT RSWAD_SAP_METADATA_VERS_COPY VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


BW Web Metadata Transport
Selection Text: T_VERS = Metadata target version
Selection Text: S_PARNM = Parameter Name
Selection Text: S_MDITE = Generic Item Name
Selection Text: S_ITMNM = Item Name
Selection Text: S_ICL = MItem class
Selection Text: S_GRPNM = Group Name
Selection Text: S_CMDNM = Command Name
Selection Text: P_VERS = Metadata source version
Selection Text: P_REQ = Transport request number
Selection Text: P_OBJV = Object Version
Selection Text: P_NSP = Namespace
Selection Text: B_TRAN = Write to transport request
Selection Text: B_TEST = Test Only
Selection Text: B_SRCSYS = Source System object only.
Selection Text: B_OVER = Overwrite
Selection Text: B_MIM = Include Mime Rep. objects
Selection Text: B_DEPA = Collect dependent Parameters
Selection Text: B_DELE = Delete
Selection Text: B_ADD = Add new elements only
Selection Text: BRPARAM = Affect Parameters
Selection Text: BRMDI = Affect Generic Items
Selection Text: BRITEM = Affect Items
Selection Text: BRGRP = Affect Groups
Selection Text: BRCMD = Affect Commands.
Text Symbol: TSE = Selection options
Text Symbol: TOV = Overwrite behaviour
Text Symbol: TMI = Objects in Mime Repository
Text Symbol: TIX = General Transport Settings
Text Symbol: TIP = Parameters
Text Symbol: TIM = Generic items
Text Symbol: TII = Items
Text Symbol: TIG = Groups
Text Symbol: TIC = Commands
Text Symbol: 062 = Select objects to manipulate
Text Symbol: 020 = Final opportunity to exit. Objects to be affected
Text Symbol: 019 = A partial deletion will not check for cross-references of used parameters, instead blindly delete.
Text Symbol: 018 = Attention: you chose to delete metadata.





Text Symbol: 016 = If improperly used, this may irrevocably damage the metadata of that version.
Text Symbol: 015 = Attention: you chose to write to a target version that already exists.
Text Symbol: 002 = No
Text Symbol: 001 = Yes


INCLUDES used within this REPORT RSWAD_SAP_METADATA_VERS_COPY

INCLUDE ICONS.


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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING * TITLEBAR = ' ' TEXT_QUESTION = l_text TEXT_BUTTON_1 = 'Yes'(001) TEXT_BUTTON_2 = 'No'(002) DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = '' IMPORTING ANSWER = l_answer.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING * TITLEBAR = ' ' TEXT_QUESTION = l_text TEXT_BUTTON_1 = 'Yes'(001) TEXT_BUTTON_2 = 'No'(002) DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = '' IMPORTING ANSWER = l_answer.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING WI_TEST_MODUS = 'X' WI_TADIR_PGMID = l_s_ko200-pgmid WI_TADIR_OBJECT = l_s_ko200-object WI_TADIR_OBJ_NAME = l_object_name IMPORTING NEW_TADIR_ENTRY = l_tadir.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = l_s_ko200.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_ko200 = l_s_ko200.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING WI_TEST_MODUS = 'X' WI_TADIR_PGMID = l_s_ko200-pgmid WI_TADIR_OBJECT = l_s_ko200-object WI_TADIR_OBJ_NAME = l_object_name IMPORTING NEW_TADIR_ENTRY = l_tadir.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = l_s_ko200.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_ko200 = l_s_ko200.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING WI_TEST_MODUS = 'X' WI_TADIR_PGMID = l_pgmid WI_TADIR_OBJECT = l_object WI_TADIR_OBJ_NAME = l_obj_name IMPORTING NEW_TADIR_ENTRY = l_tadir.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = 'RSZWMD_S_TLOGO_SELECTION' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = l_t_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 * OTHERS = 3 .

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = 'X' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_prog i_callback_pf_status_set = 'ALV_SEL_STATUS' i_callback_user_command = 'ALV_SEL_CALLBACK' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = 'RSZWMD_S_TLOGO_SELECTION' * I_BACKGROUND_ID = ' ' i_grid_title = 'Select objects to copy'(062) * I_GRID_SETTINGS = is_layout = l_s_layout it_fieldcat = l_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = IMPORTING e_exit_caused_by_caller = l_c1 es_exit_caused_by_user = l_c2 TABLES t_outtab = g_t_objects EXCEPTIONS program_error = 1 * OTHERS = 2 .

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' "#EC * EXPORTING textline1 = 'This report will destroy BW Web Metadata in the target system if improperly used!'(002) textline2 = 'OK to continue? '(003) titel = l_title2 * START_COLUMN = 25 * START_ROW = 6 defaultoption = 'N' IMPORTING answer = l_answer. "#EC *

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = 'X' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_prog i_callback_pf_status_set = 'ALV_SEL_STATUS' i_callback_user_command = 'ALV_SEL_CALLBACK' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = 'RSZWMD_S_TLOGO_SELECTION' * I_BACKGROUND_ID = ' ' i_grid_title = l_title * I_GRID_SETTINGS = is_layout = l_s_layout it_fieldcat = l_t_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = IMPORTING e_exit_caused_by_caller = l_c1 es_exit_caused_by_user = l_c2 TABLES t_outtab = g_t_objects EXCEPTIONS program_error = 1 * OTHERS = 2 .



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 RSWAD_SAP_METADATA_VERS_COPY or its description.