SAP Reports / Programs | Production Planning and Control | Sales and Operations Planning | Sales Plan(PP-SOP-SP) SAP PP

RMCVISCP SAP ABAP Report - Copy Versions of Info Structures







RMCVISCP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RMCVISCP is used when you set up the Sales Information System...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 RMCVISCP into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WC21 - Batch Reorg Data in LIS


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 RMCVISCP. "Basic submit
SUBMIT RMCVISCP AND RETURN. "Return to original report after report execution complete
SUBMIT RMCVISCP 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: VRSIO_D = Version to be deleted
Selection Text: VRSIO_2 = Target version
Selection Text: VRSIO_1 = Source version
Selection Text: VON_DAT = From
Selection Text: VETXT = Version description
Selection Text: MCINF = D Info structure
Selection Text: DEL = Delete a version?
Selection Text: BIS_DAT = To
Title: Copy Versions of Info Structures
Text Symbol: 028 = reset
Text Symbol: 027 = is deleted
Text Symbol: 026 = after copying
Text Symbol: 025 = is deleted
Text Symbol: 001 = Data source
Text Symbol: 002 = Data target
Text Symbol: 003 = Delete data
Text Symbol: 004 = Period
Text Symbol: 005 = Date
Text Symbol: 006 = to
Text Symbol: 010 = Active version
Text Symbol: 011 = Inactive version
Text Symbol: 020 = Copy version
Text Symbol: 021 = Delete version
Text Symbol: 022 = Before copying takes place,
Text Symbol: 023 = Target version
Text Symbol: 024 = The version


INCLUDES used within this REPORT RMCVISCP

INCLUDE MMCP6TP1.


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:

MCP_MESSAGE_INIT CALL FUNCTION 'MCP_MESSAGE_INIT'.

MCS_MCINF_NO_SETUP CALL FUNCTION 'MCS_MCINF_NO_SETUP' EXPORTING I_MCAPP = ' ' TABLES T_MCINF = MCINF EXCEPTIONS NO_FIELD_SELECTED = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = HLP_TEXT TEXTLINE2 = TEXT-026 TITEL = TEXT-020 IMPORTING ANSWER = HLP_ANSWER EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = HLP_TEXT TITEL = TEXT-021 IMPORTING ANSWER = HLP_ANSWER EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = TEXT-022 TEXTLINE2 = HLP_TEXT TITEL = TEXT-020 IMPORTING ANSWER = HLP_ANSWER EXCEPTIONS OTHERS = 1.

MCP_MESSAGE_PRINT CALL FUNCTION 'MCP_MESSAGE_PRINT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING TABNAME = XTMC4-GSTRU IMPORTING SUBRC = LV_SUBRC.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING TABNAME = XTMC4-GSTRU IMPORTING SUBRC = LV_SUBRC.



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