SAP ABAP Function Module JOB_CLOSE (Close Background Request With COMMIT WORK)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-BTC (Application Component) Background Processing
     SBTI (Package) User Interface and Job-API of Background Processing
Basic Data
Function Module JOB_CLOSE Close Background Request With COMMIT WORK  
Function Group BTCH   Background processing  
Program Name SAPLBTCH   Background Processing 
INCLUDE Name LBTCHU25    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Changing RET TYPE I Special Additional Error Code
Exporting JOB_WAS_RELEASED TYPE BTCH0000-CHAR1 = 'X', if Job Was Released
Importing AT_OPMODE TYPE SPFBA-BANAME SPACE Job Start for Operation Mode: Operation Mode Name
Importing AT_OPMODE_PERIODIC TYPE BTCH0000-CHAR1 SPACE Job Start is Periodic According to Operation Mode
Importing CALENDAR_ID TYPE TBTCJOB-CALENDARID SPACE Factory Calendar ID for Start Date Restriction
Importing EVENT_ID TYPE TBTCJOB-EVENTID SPACE Job Start After Event: Event Name
Importing EVENT_PARAM TYPE TBTCJOB-EVENTPARM SPACE Job Start After Event: Event Parameter
Importing EVENT_PERIODIC TYPE BTCH0000-CHAR1 SPACE Job Start is Periodic According to Event
Importing JOBCOUNT TYPE TBTCJOB-JOBCOUNT Job number
Importing JOBNAME TYPE TBTCJOB-JOBNAME Job Name
Importing LASTSTRTDT TYPE TBTCJOB-LASTSTRTDT NO_DATE No Start After: Date
Importing LASTSTRTTM TYPE TBTCJOB-LASTSTRTTM NO_TIME No Start After: Time
Importing PRDDAYS TYPE TBTCJOB-PRDDAYS 0 Day Portion of Job Repetition Period
Importing PRDHOURS TYPE TBTCJOB-PRDHOURS 0 Minute Portion of Job Repetition Period
Importing PRDMINS TYPE TBTCJOB-PRDMINS 0 Hour Portion of Job Repetition Period
Importing PRDMONTHS TYPE TBTCJOB-PRDMONTHS 0 Month Portion of Job Repetition Period
Importing PRDWEEKS TYPE TBTCJOB-PRDWEEKS 0 Week Portion of Job Repetition Period
Importing PREDJOB_CHECKSTAT TYPE TBTCSTRT-CHECKSTAT SPACE Start Job Only if Predecessor Runs Without Error
Importing PRED_JOBCOUNT TYPE TBTCJOB-JOBCOUNT SPACE Job Start After Predecessor Job: Predecessor Job Count
Importing PRED_JOBNAME TYPE TBTCJOB-JOBNAME SPACE Job Start After Predecessor Job: Predecessor Job Name
Importing SDLSTRTDT TYPE TBTCJOB-SDLSTRTDT NO_DATE Start Date of Background Job
Importing SDLSTRTTM TYPE TBTCJOB-SDLSTRTTM NO_TIME Time of Start Date of Background Job
Importing STARTDATE_RESTRICTION TYPE TBTCJOB-PRDBEHAV BTC_PROCESS_ALWAYS Restrictions for Start Date
Importing STRTIMMED TYPE BTCH0000-CHAR1 SPACE Immediate Execution of Background Job
Importing TARGETSYSTEM TYPE SPACE Target System of Job
Importing START_ON_WORKDAY_NOT_BEFORE TYPE TBTCSTRT-NOTBEFORE SY-DATUM Earliest Start Date for Start 'On Workday'
Importing START_ON_WORKDAY_NR TYPE TBTCSTRT-WDAYNO 0 Number of Workday on Which Job is to Start
Importing WORKDAY_COUNT_DIRECTION TYPE TBTCSTRT-WDAYCDIR 0 Direction of Workday Count
Importing RECIPIENT_OBJ TYPE SWOTOBJID The Mail Recipient of the Spool Lists
Importing TARGETSERVER TYPE BTCTGTSRVR-SRVNAME SPACE Target Application Server for Job
Importing DONT_RELEASE TYPE BTCH0000-CHAR1 SPACE Job Not Released in Spite of Start Condition
Importing TARGETGROUP TYPE BPSRVGRP SPACE Target Application Server Group for Job
Importing DIRECT_START TYPE BTCH0000-CHAR1 "X" - Start Without Converting to Time-Based Job
Exception CANT_START_IMMEDIATE TYPE Cannot Start Immediately
Exception INVALID_STARTDATE TYPE Start Condition is Invalid
Exception JOBNAME_MISSING TYPE Job Name Missing (Wildcards Allowed)
Exception JOB_CLOSE_FAILED TYPE Error During JOB_CLOSE, See SYSLOG
Exception JOB_NOSTEPS TYPE Job Specified Does Not Contain Any Steps
Exception JOB_NOTEX TYPE Specified Job Does Not Exist
Exception LOCK_FAILED TYPE Lock Attempt Failed
Exception INVALID_TARGET TYPE Target Server or Group is Invalid
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19950113 
SAP Release Created in