CORRECT_WIP_QUANTITIES 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 CORRECT_WIP_QUANTITIES 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: SO_WERKS = D .
Selection Text: SO_PROC2 = D .
Selection Text: SO_OBJNR = D .
Selection Text: SO_MATNR = D .
Selection Text: SO_BWKEY = D .
Selection Text: SO_PROC1 = D .
Selection Text: P_MAT = Materials
Selection Text: P_LPOPER = From Period
Selection Text: P_LGJAHR = From Year
Selection Text: P_LAR = Activity Types
Selection Text: P_HPOPER = To Period
Selection Text: P_HGJAHR = To Year
Selection Text: P_ERR = Display Errors Only
Selection Text: P_COMPL = Complete Quantity Structure
Selection Text: P_ALL = Display All
Title: Check and Correct WIP Quantities
Text Symbol: H05 = Activity Type/Business Process
Text Symbol: H04 = Material
Text Symbol: H03 = Object Type
Text Symbol: F04 = WIP - Year
Text Symbol: F03 = WIP Per.
Text Symbol: F01 = WIP Change
Text Symbol: C04 = Activity Types
Text Symbol: C03 = Materials
Text Symbol: C02 = Period Interval to be Checked
Text Symbol: C01 = Processing Options
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = ld_callb_prog i_callback_pf_status_set = ld_cb_status i_callback_user_command = ld_cb_ucom * I_STRUCTURE_NAME = is_layout = s_layout it_fieldcat = t_fcat_detail * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' it_events = t_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = t_detail_pack EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = t_top_of_list.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = ld_callb_prog i_callback_pf_status_set = ld_cb_status i_callback_user_command = ld_cb_ucom * I_STRUCTURE_NAME = is_layout = s_layout it_fieldcat = t_fcat_header * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' it_events = t_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = t_header EXCEPTIONS program_error = 1 OTHERS = 2.
CKML_F_SET_BWKEY CALL FUNCTION 'CKML_F_SET_BWKEY' EXPORTING bwkey = i_bwkey.
CKML_F_GET_WWO CALL FUNCTION 'CKML_F_GET_WWO' IMPORTING wwo = ls_wwo.
CKML_F_GET_SL_PERIOD_INFO CALL FUNCTION 'CKML_F_GET_SL_PERIOD_INFO' EXPORTING i_bdatj = i_gjahr i_poper = i_poper i_bwkey = i_bwkey i_periv = ls_wwo-periv IMPORTING o_periodenart = e_perart o_next_bdatj = e_ngjahr o_next_poper = e_npoper o_next_periodenart = e_nperart.
LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = e_ngjahr i_periv = ls_wwo-periv i_poper = e_npoper IMPORTING e_date = e_last_pday.
ENQUEUE_EMMBEWE CALL FUNCTION 'ENQUEUE_EMMBEWE' EXPORTING matnr = is_ckmlhd-matnr bwkey = is_ckmlhd-bwkey bwtar = is_ckmlhd-bwtar EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CORRECT_WIP_QUANTITIES - Check and Correct WIP Quantities CORRECT_WIP_QUANTITIES - Check and Correct WIP Quantities CORRECT_KONTEXT_PROTOCOLF01 - Include CORRECT_KONTEXT_PROTOCOLF01 CORRECT_FUNC_TFDIR_FREEDATE - Report CORRECT_FUNC_TFDIR_FREEDATE CORRECT_FUNC_TFDIR_FREEDATE - Report CORRECT_FUNC_TFDIR_FREEDATE CORRECT_BSEG_ADD_UPDATE_DATF01 - CORRECTBSEGADDUPDATEDATF01