SAP Function /OSP/SCHEDULE_WEEKDAY_JOB - Schedule job for weekdays

Parameter Reference Type Length Default Optional Text
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_DAY_OF_WEEK /OSP/DT_DAYOFWEEK b 1 Day of week
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_OUTPUT_FORMAT CHAR10 C 10 X Pass Value as XML, XLS, MHTML, MHTML_2000 and XLSX.
IV_PRDWEEKS TBTCJOB-PRDWEEKS N 2 0 X Duration period (in weeks) for a batch job
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_START_DATE /OSP/DT_DATE D 8 X Date
IV_START_TIME /OSP/DT_TIME T 6 Field of type TIMS
IV_USER_NAME /OSP/DT_UNAME C 12 User name
IV_VARIANT /OSP/DT_VARIANT C 14 ABAP: Name of variant (without program name)

Parameter Reference Type Length Text
EV_JOBID /OSP/DT_JOBID C 8 Job ID
EV_JOBNAME /OSP/DT_JOBNAME C 32 Background job name

Exception Text
CANT_START_IMMEDIATE Cant start imediately
INVALID_DAY_OF_WEEK Invalid day of week
INVALID_JOB_DATA Invalid job 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 Failed to generate job name
JOB_NOSTEPS Job no steps
JOB_NOTEX Job notex
LOCK_FAILED Lock failed