SAP Function /OSP/JOB_SCHEDULE - Schedule a job in background scheduler

Parameter Reference Type Length Default Optional Text
IS_SCHEDULING_INFO /OSP/S_REPORT_SCHEDULING_INFO u 28 X Scheduling information of reports
IT_EVENT_ID /OSP/TT_EVENT_INFO h 65 X Event ID in Broadcasting Framework
IT_GW_CONVALUE /OSP/TT_VAR_MAP h 204 X Mapping Table
IT_MENDOCINO_METADATA /OSP/TT_REPORT_METADATA h 203 X Mendocino meta data table type
IV_ALV_VARIANT DISVARIANT u 122 X Layout (External Use)
IV_GWCVAR /OSP/DT_RP_LONG_DESC C 255 X Report Long Description
IV_GW_CALL /OSP/DT_FLAG C 1 X Flag
IV_GW_DATE SYDATUM D 8 X Current Date of Application Server
IV_GW_LANGU SYLANGU C 1 X Language Key of Current Text Environment
IV_GW_REPORT_ID SYSUUID_C C 32 X UUID in character form
IV_GW_TIMEOUT /OSP/DT_MDR_SET_VALUE C 25 X Setting value
IV_IMMEDIATE /OSP/DT_FLAG C 1 X Flag
IV_OUTPUT_FORMAT CHAR10 C 10 X Pass Value as XML, XLS, MHTML, MHTML_2000 and XLSX.
IV_REPORT_NAME /OSP/DT_PROGNAME C 40 ABAP Program Name
IV_REPORT_TYPE /OSP/DT_RP_BW_TYP C 2 'AL' X BW Report Type
IV_SAPID /OSP/DT_SAPID C 32 X SAP ID - GUID
IV_USER_NAME /OSP/DT_UNAME C 12 SAP System, User Logon Name
IV_VARIANT /OSP/DT_VARIANT C 14 ABAP: Name of variant (without program name)

Parameter Reference Type Length Text
ET_JOBLIST /OSP/TT_REPORT_JOB_LIST h 40 Details of the report background jobs
ET_RETURN BAPIRET2_T h 548 Return parameter table

Exception Text
CANT_START_IMMEDIATE Cant start immediate
INVALID_DAY_OF_WEEK Invalid day of week
INVALID_JOB_DATA Invalid job data
INVALID_SCHEDULING_DATA Invalid Scheduling data
INVALID_START_DATE Invalid start date
INVALID_TARGET Invalid target
JOBNAME_MISSING Job name missing
JOB_CLOSE_FAILED Job close failed
JOB_CREATION_FAILED Job creation failed
JOB_NAME_GENERATION_FAILED Job name generation failed
JOB_NOSTEPS Job no steps
JOB_NOTEX Job notex
LOCK_FAILED Lock failed