INST_CLIENT_COPY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Client Copy Scheduling The clients required in the system are not copied until the installation has been completed...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 INST_CLIENT_COPY into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: LANG = Language vector
Title: Client Copy During Installation
Text Symbol: 001 = No authorization to run report
Text Symbol: 003 = Error when creating job &
Text Symbol: 004 = Error occurred when submitting job &
Text Symbol: 009 = Error occurred when scheduling job &
Text Symbol: 010 = Client copy jobs scheduled
Text Symbol: DEF = You cannot execute this report program
Text Symbol: P01 = Parameter CLNT1 is not defined
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = JOBNAME JOBGROUP = ' ' IMPORTING JOBCOUNT = CURRJCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3.
JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING JOBNAME = JOBNAME JOBCOUNT = CURRJCOUNT AUTHCKNAM = 'SAP*' REPORT = ZPROGRAM VARIANT = ZVARIANT EXCEPTIONS JOB_SUBMIT_FAILED = 1 BAD_PRIPARAMS = 2 INVALID_JOBDATA = 3 JOBNAME_MISSING = 4 JOB_NOTEX = 5 LOCK_FAILED = 6 PROGRAM_MISSING = 7 PROG_ABAP_AND_EXTPG_SET = 8 OTHERS = 9.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBNAME = JOBNAME JOBCOUNT = CURRJCOUNT EVENT_PARAM = ' ' SDLSTRTDT = ZDATUM SDLSTRTTM = ZUZEIT PRED_JOBCOUNT = ZJOBCOUNT PRED_JOBNAME = ZJOBNAME PREDJOB_CHECKSTAT = CHECKSTAT EXCEPTIONS JOB_CLOSE_FAILED = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 CANT_START_IMMEDIATE = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 0 TEXT = NUL.
BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBNAME = ITJOBPAR-JOBNAME JOBCOUNT = ITJOBPAR-JOBCOUNT.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = JOBNAME JOBGROUP = ' ' IMPORTING JOBCOUNT = CURRJCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBNAME = JOBNAME JOBCOUNT = CURRJCOUNT EVENT_PARAM = ' ' SDLSTRTDT = ZDATUM SDLSTRTTM = ZUZEIT PRED_JOBCOUNT = ZJOBCOUNT PRED_JOBNAME = ZJOBNAME PREDJOB_CHECKSTAT = CHECKSTAT EXCEPTIONS JOB_CLOSE_FAILED = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 CANT_START_IMMEDIATE = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.