RIWC0024 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 RIWC0024 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_BTCJOB = D .
Selection Text: P_IWERK = D .
Selection Text: S_SLAVES = D .
Title: WCM: Update of Orders (Background Processing)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WCFW_OBJKEY_GET CALL FUNCTION 'WCFW_OBJKEY_GET' EXPORTING i_objnr = i_objnr IMPORTING e_iwerk = e_order-iwerk * E_OBJART = * E_OBJTYP = * E_OBJKEY = e_aufnr = e_order-aufnr * E_WAPNR = * E_WAPINR = * E_WCNR = * E_STXT = e_found = l_found EXCEPTIONS error = 1 OTHERS = 2.
WCFC_OBJTXT_GET CALL FUNCTION 'WCFC_OBJTXT_GET' EXPORTING i_iwerk = e_order-iwerk i_objart = wctp1_objart-order i_objtyp = wctp1_objtyp-dummy * I_USAGE = * I_LANGUAGE = SY-LANGU * I_REFRESH = WCTP1_FALSE IMPORTING e_stxt = e_order-text * E_PTXT = EXCEPTIONS error = 1 OTHERS = 2.
WCFS_ORDER_STATUS_GET CALL FUNCTION 'WCFS_ORDER_STATUS_GET' EXPORTING i_objnr = e_order-objnr i_refresh = wctp1_false IMPORTING e_statflg = e_order-status EXCEPTIONS error = 1 OTHERS = 2.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING * JOBGROUP = ' ' jobname = l_job-id * JOBCLASS = IMPORTING jobcount = l_job-no * CHANGING * RET = EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.
END_TIME_DETERMINE CALL FUNCTION 'END_TIME_DETERMINE' EXPORTING duration = l_delay unit = c_second * FACTORY_CALENDAR = IMPORTING end_date = l_start-date end_time = l_start-time * CHANGING * START_DATE = SY-DATUM * START_TIME = SY-UZEIT EXCEPTIONS factory_calendar_not_found = 1 date_out_of_calendar_range = 2 date_not_valid = 3 unit_conversion_error = 4 si_unit_missing = 5 parameters_no_valid = 6 OTHERS = 7.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' * AT_OPMODE_PERIODIC = ' ' * CALENDAR_ID = ' ' * EVENT_ID = ' ' * EVENT_PARAM = ' ' * EVENT_PERIODIC = ' ' jobcount = l_job-no jobname = l_job-id * LASTSTRTDT = NO_DATE * LASTSTRTTM = NO_TIME * PRDDAYS = 0 * PRDHOURS = 0 * PRDMINS = 0 * PRDMONTHS = 0 * PRDWEEKS = 0 * PREDJOB_CHECKSTAT = ' ' * PRED_JOBCOUNT = ' ' * PRED_JOBNAME = ' ' sdlstrtdt = l_start-date sdlstrttm = l_start-time * STARTDATE_RESTRICTION = BTC_PROCESS_ALWAYS * STRTIMMED = ' ' * TARGETSYSTEM = ' ' * START_ON_WORKDAY_NOT_BEFORE = SY-DATUM * START_ON_WORKDAY_NR = 0 * WORKDAY_COUNT_DIRECTION = 0 * RECIPIENT_OBJ = * TARGETSERVER = ' ' * DONT_RELEASE = ' ' * TARGETGROUP = ' ' * DIRECT_START = * 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.
WCFB_TCODE_CHECK CALL FUNCTION 'WCFB_TCODE_CHECK' EXPORTING i_tcode = wctp2_tcode-order_change EXCEPTIONS error = 1 OTHERS = 2.
WCFC_PROFILE_GET CALL FUNCTION 'WCFC_PROFILE_GET' EXPORTING i_iwerk = p_iwerk IMPORTING e_profile = l_profile EXCEPTIONS error = 1 OTHERS = 2.
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = l_total IMPORTING output = l_total EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = l_number-current IMPORTING output = l_number-current EXCEPTIONS OTHERS = 1.
WCFS_STATUS_CHECK_ONLY CALL FUNCTION 'WCFS_STATUS_CHECK_ONLY' EXPORTING i_objnr = i_order-objnr i_vrgng = iwcm_vrgng-exec_set i_dialog = wctp1_false IMPORTING e_check = l_check EXCEPTIONS error = 1 OTHERS = 2.
ENQUEUE_ESORDER CALL FUNCTION 'ENQUEUE_ESORDER' EXPORTING mode_aufk = 'E' * MANDT = SY-MANDT aufnr = i_order-aufnr * X_AUFNR = ' ' * _SCOPE = '2' _wait = wctp1_marked * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_ESORDER CALL FUNCTION 'DEQUEUE_ESORDER' EXPORTING * MODE_AUFK = 'E' * MANDT = SY-MANDT aufnr = i_order-aufnr * X_AUFNR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' EXCEPTIONS OTHERS = 1.
WCGW_JOB_TASK_DONE_CHECK CALL FUNCTION 'WCGW_JOB_TASK_DONE_CHECK' EXPORTING i_task = wctp1_task-import i_objnr = i_order-objnr * I_DONE = WCTP1_FALSE * I_DELAY = WCTP1_NUMBER-ZERO * I_CURRENT_VALUE = WCTP1_FALSE * I_MSGTAB = * I_MSGWA = IMPORTING e_done = e_done e_delay = l_delay e_msgtab = l_msgtab EXCEPTIONS error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RIWC0024 - WCM: Update of Orders (Background Processing) RIWC0024 - WCM: Update of Orders (Background Processing) RIWC0023 - WCM: Update of WCM Objects (Background Processing) RIWC0023 - WCM: Update of WCM Objects (Background Processing) RIWC0022 - WCM: Mobile Processing - Import (Background Processing) RIWC0022 - WCM: Mobile Processing - Import (Background Processing)