SAP Reports / Programs

CNV_10996_I_JOBS_CREATE SAP ABAP Report - Define jobs for archive conversion







CNV_10996_I_JOBS_CREATE 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 CNV_10996_I_JOBS_CREATE 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

CNV_10996_JOBS - Define jobs for archive conversion


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 CNV_10996_I_JOBS_CREATE. "Basic submit
SUBMIT CNV_10996_I_JOBS_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_10996_I_JOBS_CREATE 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: GP_PHASE = D Conversion phase
Selection Text: GP_PREF = Start of job name
Selection Text: GP_SERV = D Target system for batch job
Selection Text: GP_STDP = Job status check
Selection Text: GP_TEST = Programs in test mode
Selection Text: GS_DOCS = Session
Selection Text: GP_PARA = Parallel processing program
Selection Text: GP_ABORT = Only canceled/with errors
Selection Text: GP_CHAIN = Concatenate jobs
Selection Text: GP_PACK = D Package number
Title: Define jobs for archive conversion
Text Symbol: 001 = Scope and type of jobs generated
Text Symbol: 002 = Attributes of jobs generated


INCLUDES used within this REPORT CNV_10996_I_JOBS_CREATE

INCLUDE CNV_10996_D.
INCLUDE: LBTCHDEF,
TSKHINCL.


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:

CNV_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING PACKID = GD_PACKID PHASE = GD_PHASE.

HELP_VALUES_GET_WITH_DD_NAME * CALL FUNCTION 'HELP_VALUES_GET_WITH_DD_NAME' * EXPORTING * SELECTFIELD = 'BTCSYSTEM' * TABLENAME = 'BTCTGTHTBL' * SHOW_ALL_VALUES_AT_FIRST_TIME = T_YES * IMPORTING * SELECT_VALUE = GD_SERVER_SEL * TABLES * FULL_TABLE = GT_BATCHSERVER.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING CALLED_BY_PROGRAM = SYST-CPROG CALLED_BY_DYNP = SYST-DYNNR "#EC DOM_EQUAL CALLED_FOR_TAB = 'TBTCO' CALLED_FOR_FIELD = 'CHECKSTAT' CALLED_FOR_TAB_FLD_BTCH_INPUT = 'GP_STDP' CALLED_BY_CUAPROG = SYST-CPROG CALLED_BY_CUASTAT = SYST-PFKEY MERGE_DZ_IF_AVAILABLE = T_YES.

ENQUEUE_ECNVSTATE CALL FUNCTION 'ENQUEUE_ECNVSTATE' EXPORTING MODE_CNVSTATE = 'E' MANDT = SY-MANDT PACKID = GP_PACK * PHASE = 'N' * KMS PHASE = gd_phase * TABNAME = PROGNAME = GD_DOCUMENT-PROGNAME X_PHASE = 'X' X_PROGNAME = 'X' _WAIT = ' ' _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' EXPORTING SERVICES = MS_BTC TABLES LIST = LT_SERVER_LIST. "#EC *

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = LP_JOBNAME IMPORTING JOBCOUNT = LP_JOBCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3 OTHERS = 4.

BP_JOB_COPY CALL FUNCTION 'BP_JOB_COPY' EXPORTING DIALOG = BTC_NO SOURCE_JOBCOUNT = LP_JOBCOUNT SOURCE_JOBNAME = LP_JOB_OLD TARGET_JOBNAME = LP_JOBNAME IMPORTING NEW_JOBHEAD = LD_JOBHEAD EXCEPTIONS CANT_CREATE_NEW_JOB = 1 CANT_ENQ_JOB = 2 CANT_READ_SOURCEDATA = 3 INVALID_OPCODE = 4 JOBNAME_MISSING = 5 JOB_COPY_CANCELED = 6 NO_COPY_PRIVILEGE_GIVEN = 7 NO_PLAN_PRIVILEGE_GIVEN = 8 OTHERS = 9.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = LP_JOBCOUNT JOBNAME = LP_JOBNAME ** LASTSTRTDT = NO_DATE ** LASTSTRTTM = NO_TIME PREDJOB_CHECKSTAT = LP_STATDEP ** pred_jobcount = ls_jobcount_previous ** pred_jobname = ls_jobname_previous ** SDLSTRTDT = NO_DATE ** SDLSTRTTM = NO_TIME ** STRTIMMED = ' ' TARGETSYSTEM = LP_SERVER ** IMPORTING ** JOB_WAS_RELEASED = EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7 OTHERS = 8.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING JOBSELECT_DIALOG = BTC_NO JOBSEL_PARAM_IN = LD_JOBSEL IMPORTING JOBSEL_PARAM_OUT = LD_JOBSEL TABLES JOBSELECT_JOBLIST = LT_JOBLIST "#EC * EXCEPTIONS INVALID_DIALOG_TYPE = 1 JOBNAME_MISSING = 2 NO_JOBS_FOUND = 3 SELECTION_CANCELED = 4 USERNAME_MISSING = 5 OTHERS = 6.

BP_JOBLIST_PROCESSOR CALL FUNCTION 'BP_JOBLIST_PROCESSOR' EXPORTING JOBLIST_OPCODE = BTC_JOBLIST_SHOW JOBLIST_REFR_PARAM = LD_JOBSEL TABLES JOBLIST = LT_JOBLIST "#EC * EXCEPTIONS INVALID_OPCODE = 1 JOBLIST_IS_EMPTY = 2 JOBLIST_PROCESSOR_CANCELED = 3 OTHERS = 4.



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