SAP Reports / Programs | Basis Components | Use Subcomponents | Background Processing(BC-CCM-BTC) SAP BC

BTC_TEST_START_CONDITIONS SAP ABAP Report - Test Program for Background Processing Start Conditions







BTC_TEST_START_CONDITIONS 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 BTC_TEST_START_CONDITIONS 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 BTC_TEST_START_CONDITIONS. "Basic submit
SUBMIT BTC_TEST_START_CONDITIONS AND RETURN. "Return to original report after report execution complete
SUBMIT BTC_TEST_START_CONDITIONS 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: WD_NR = D .
Selection Text: WDAYCDIR = D .
Selection Text: STRTTM = D .
Selection Text: STRTDT = D .
Selection Text: LASTTM = D .
Selection Text: LASTDT = D .
Selection Text: IMMED = D .
Selection Text: EVENTPAR = D .
Selection Text: CALID = D .
Selection Text: PREDJOB = Name of Previous Job
Selection Text: PREDCNT = Number of Previous Job
Selection Text: PRDWEEKS = Weekly
Selection Text: PRDMNTHS = Monthly
Selection Text: PRDMINS = Every Minute
Selection Text: PRDHOURS = Hourly
Selection Text: PRDDAYS = Daily
Selection Text: NOTBEF = Do Not Execute Before
Selection Text: EVENT_ID = Event Name
Selection Text: EVENTPER = Event Periodic
Selection Text: DIRECT = No Conversion to Time-Based
Selection Text: CHECKST = Start Status-Dependent
Selection Text: BTCPRDBH = Restrictions for Start Date
Title: Test Program for Background Processing Start Conditions
Text Symbol: 006 = Description
Text Symbol: 005 = Value
Text Symbol: 004 = Move Job to Next Working Day
Text Symbol: 003 = Move Job to Previous Working Day
Text Symbol: 002 = Do Not Execute on Sundays or Holidays
Text Symbol: 001 = Execute, Regardless of Sundays and Holidays


INCLUDES used within this REPORT BTC_TEST_START_CONDITIONS

INCLUDE LBTCHDEF.


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:

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'VALUE' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' dynprofield = 'BTCPRDBH' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' * VALUE_ORG = 'C' * MULTIPLE_CHOICE = ' ' * display = i_display * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = lt_values field_tab = lt_fields return_tab = lt_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CALENDARID' * dynpprog = 'SAPLBTCH' * dynpnr = sy-dynnr dynprofield = 'CALID' value_org = 'C' TABLES value_tab = lt_cal field_tab = lt_fields return_tab = lt_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING * DELANFREP = ' ' * JOBGROUP = ' ' jobname = jobname * SDLSTRTDT = NO_DATE * SDLSTRTTM = NO_TIME * JOBCLASS = * CHECK_JOBCLASS = IMPORTING jobcount = jobcount * INFO = * CHANGING * RET = EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING * ARCPARAMS = authcknam = sy-uname * COMMANDNAME = ' ' * OPERATINGSYSTEM = ' ' * EXTPGM_NAME = ' ' * EXTPGM_PARAM = ' ' * EXTPGM_SET_TRACE_ON = ' ' * EXTPGM_STDERR_IN_JOBLOG = 'X' * EXTPGM_STDOUT_IN_JOBLOG = 'X' * EXTPGM_SYSTEM = ' ' * EXTPGM_RFCDEST = ' ' * EXTPGM_WAIT_FOR_TERMINATION = 'X' jobcount = jobcount jobname = jobname * LANGUAGE = SY-LANGU * PRIPARAMS = ' ' report = 'BTCTEST' * VARIANT = ' ' * IMPORTING * STEP_NUMBER = EXCEPTIONS bad_priparams = 1 bad_xpgflags = 2 invalid_jobdata = 3 jobname_missing = 4 job_notex = 5 job_submit_failed = 6 lock_failed = 7 program_missing = 8 prog_abap_and_extpg_set = 9 OTHERS = 10.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' * AT_OPMODE_PERIODIC = ' ' calendar_id = calid event_id = event_id event_param = eventpar event_periodic = eventper jobcount = jobcount jobname = jobname laststrtdt = lastdt laststrttm = lasttm prddays = prddays prdhours = prdhours prdmins = prdmins prdmonths = prdmnths prdweeks = prdweeks predjob_checkstat = checkst pred_jobcount = predcnt pred_jobname = predjob sdlstrtdt = strtdt sdlstrttm = strttm startdate_restriction = btcprdbh strtimmed = immed * TARGETSYSTEM = ' ' start_on_workday_not_before = notbef start_on_workday_nr = wd_nr workday_count_direction = wdaycdir * RECIPIENT_OBJ = * TARGETSERVER = ' ' * DONT_RELEASE = ' ' * TARGETGROUP = ' ' direct_start = direct * IMPORTING * JOB_WAS_RELEASED = * CHANGING * RET = EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9.



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