SAP Reports / Programs

CNVC_SCWB_REFRESH_OBJECT SAP ABAP Report - Refresh Comparison (Optional)







CNVC_SCWB_REFRESH_OBJECT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In this activity, the system executes the following activities: Load Attributes for Objects Determine Relevant Objects Compare Dependent Objects Compare Independent Objects Compile Comparison Results This activity allows you to get an overview of the latest status during harmonization of the participating systems...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 CNVC_SCWB_REFRESH_OBJECT 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 CNVC_SCWB_REFRESH_OBJECT. "Basic submit
SUBMIT CNVC_SCWB_REFRESH_OBJECT AND RETURN. "Return to original report after report execution complete
SUBMIT CNVC_SCWB_REFRESH_OBJECT 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: SO_TYP = D Object Type
Selection Text: SO_TRQS = Transport Requests
Selection Text: SO_NAM = D Object Name
Selection Text: P_TEST = Test Mode
Selection Text: P_BGD = Process in background
Title: Refresh Comparison (Optional)
Text Symbol: W01 = Warning
Text Symbol: T13 = available
Text Symbol: T12 = Number of parallel jobs should not be exceed the total free workprocesses
Text Symbol: T11 = Number of Parallel Jobs
Text Symbol: T10 = Free background workprocesses available
Text Symbol: T09 =
Text Symbol: T08 = RECOMMENDED
Text Symbol: T07 = scheduled
Text Symbol: T06 = Refresh comparison for Package ID:
Text Symbol: T05 = depdendent objects found
Text Symbol: T04 = Found dependent obj type:
Text Symbol: T03 = refreshing object
Text Symbol: T02 = No entries found. Possibly chosen object type is not active
Text Symbol: T01 = This program could run long, are you sure want to run it in dialog?
Text Symbol: I03 = Execute report in background.
Text Symbol: I02 = Redirecting to selection screen.
Text Symbol: I01 = Canceled
Text Symbol: E01 = Error
Text Symbol: 005 = No
Text Symbol: 004 = Yes
Text Symbol: 003 = Do you want to continue?
Text Symbol: 002 = You have selected all available background processes.


INCLUDES used within this REPORT CNVC_SCWB_REFRESH_OBJECT

INCLUDE: CNVC_SCWB_PARAMS,
INCLUDE CNVC_SCWB_FORMS.


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:

CNVCF_SCNG_RUNID_GETACTIVE * CALL FUNCTION 'CNVCF_SCNG_RUNID_GETACTIVE' * IMPORTING * RUNID = P_RUNID.

CNVCF_SCWB_CHECK_RUNID * CALL FUNCTION 'CNVCF_SCWB_CHECK_RUNID' * EXPORTING * iv_runid = p_runid * EXCEPTIONS * INITIAL = 1 * TOO_LONG = 2 * ILLEGAL_CHAR = 3 * NOT_EXIST = 4 * OTHERS = 5 * .

CNV_MBT_RFC_PCL CALL FUNCTION 'CNV_MBT_RFC_PCL' EXPORTING PACKID = P_PACK IMPORTING DESTINATION_ID = LV_DEST EXCEPTIONS NO_DESTINATIONS_FOR_PACKID = 1 NO_PCL_DESTINATION_FOR_PACKID = 2 OTHERS = 3.

CNV_MBT_PC_PROG_START_BGR CALL FUNCTION 'CNV_MBT_PC_PROG_START_BGR' DESTINATION LV_DEST EXPORTING PROGNAME = LC_PROG_R JOB_NAME = LC_FILL_JOB IMPORTING JOBCOUNT = LS_SUBSTATE-JOBCOUNT TABLES LT_PARAMS = LT_PARAMS EXCEPTIONS PROGRAM_DOES_NOT_EXIST = 1 NO_AUTHORITY = 2 SCHEDULING_ERROR = 3 COMMUNICATION_FAILURE = 98 MESSAGE GD_MSGTEXT SYSTEM_FAILURE = 99 MESSAGE GD_MSGTEXT OTHERS = 4.

JOB_OPEN * CALL FUNCTION 'JOB_OPEN' * EXPORTING * jobname = gv_jobname * IMPORTING * jobcount = gv_jobcount.

JOB_CLOSE * CALL FUNCTION 'JOB_CLOSE' * EXPORTING * jobname = gv_jobname * jobcount = gv_jobcount * strtimmed = 'X'.

CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' TABLES IM_CNVMBTSUBSTATE = LT_SUBSTATE EXCEPTIONS UPDATE_FAILED = 1 OTHERS = 2.

CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING PACKID = P_PACK PHASE = P_PHASE ACTIVITY_ID = P_ACT_ID IR_LOGGER = GR_LOGGER.

CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' TABLES IM_CNVMBTSUBSTATE = LT_SUBSTATE EXCEPTIONS UPDATE_FAILED = 1 OTHERS = 2.

CNV_MBT_ADM_MAX_JOBS_GET CALL FUNCTION 'CNV_MBT_ADM_MAX_JOBS_GET' EXPORTING PACKID = P_PACK EXEC_TARGET = 'P' IMPORTING EX_JOBS_MAX = LV_JOBS_MAX "no. of max. used WPs

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TEXT_QUESTION = GV_TEXT TEXT_BUTTON_1 = 'Yes'(004) TEXT_BUTTON_2 = 'No'(005) DISPLAY_CANCEL_BUTTON = 'X' START_COLUMN = 25 START_ROW = 6 IMPORTING ANSWER = GV_ANSW EXCEPTIONS TEXT_NOT_FOUND = 1.

CNV_MBT_ADM_MAX_JOBS_SET CALL FUNCTION 'CNV_MBT_ADM_MAX_JOBS_SET' EXPORTING PACKID = P_PACK PHASE = P_PHASE ACTIVITY_ID = P_ACT_ID NO_POPUP = 'X' NEW_VALUE = GV_MAX_JOBS.

CNV_MBT_ADM_MAX_JOBS_SET CALL FUNCTION 'CNV_MBT_ADM_MAX_JOBS_SET' EXPORTING PACKID = P_PACK PHASE = P_PHASE ACTIVITY_ID = P_ACT_ID NO_POPUP = 'X' NEW_VALUE = GV_MAX_JOBS.

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = ls_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OBJNAM' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'SO_TYP-LOW' value_org = 'S' TABLES value_tab = gt_objectlist EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.



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