SDV03V02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The 'Rescheduling' program (SDV03V02) processes sales document items that are contained in the item directory for the material...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SDV03V02 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
V_V2 - Updating Sales Documents by Material
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: S_WERKS = Plant
Selection Text: S_MATNR = Material
Selection Text: P_WLDAT = Sorting criterion deliv.date
Selection Text: P_SIMUL = Simulate
Selection Text: P_MACO_C = Unconfirmed documents required
Selection Text: P_ITEMNO = Document item
Selection Text: P_DOCTYP = Document category
Selection Text: P_DOCNO = Document number
Selection Text: P_DELPRI = Delivery priority
Selection Text: P_DATE = Date
Title: Rescheduling sales and stock transfer documents: by material
Text Symbol: 104 = Priority
Text Symbol: 100 = Sort item by date of creation
Text Symbol: 075 = |__ At schedule line level
Text Symbol: 070 = |__ At item level
Text Symbol: 052 = Process stock transfer docs
Text Symbol: 050 = Process sales documents
Text Symbol: 041 = Simulation
Text Symbol: 040 = Unconfirmed documents required
Text Symbol: 033 = |__ Sort by delivery date of earliest schedule line
Text Symbol: 032 = |__ Sort item by date of creation
Text Symbol: 030 = |__ Prioritize stock transfer documents
Text Symbol: 029 = |__ Prioritize sales documents
Text Symbol: 022 = Sort order
Text Symbol: 021 = Options
Text Symbol: 020 = Data
Text Symbol: 008 = Updating backorders in sales
Text Symbol: 007 = be changed. Continue?
Text Symbol: 006 = All documents selected will
Text Symbol: 001 = There are no unconfirmed transactions for the criteria you have entered.
INCLUDE RVDIREKT.
INCLUDE SDV03V02_SELECTION_SCREEN.
No SAP DATABASE tables are accessed within this REPORT code!
ME_CHECK_T160M CALL FUNCTION 'ME_CHECK_T160M' EXPORTING i_arbgb = 'VV' i_msgnr = '166' i_msgvs = '' EXCEPTIONS nothing = 0 warning = 1 error = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = da_text1 textline2 = da_text2 titel = text-008 IMPORTING answer = da_answer.
SD_BACKORDER_CHECK_AND_SAVE CALL FUNCTION 'SD_BACKORDER_CHECK_AND_SAVE' EXPORTING report = 'SDV03V02' simul = p_simul imp_tr_proc_lv = exp_tr_proc_lv TABLES input = xtab t_ebkn_all = t_ebkn_all t_ekkn_all = t_ekkn_all t_ekpv_all = t_ekpv_all t_pdoc = t_pdoc t_preq = t_preq imp_t_error_tab_select = gt_error_tab_select EXCEPTIONS OTHERS = 1.
SD_BACKORDER_LIST CALL FUNCTION 'SD_BACKORDER_LIST' EXPORTING vkorg = da_vkorg vtweg = da_vtweg report = 'SDV03V02' * READ_INDX = P_RINDX TABLES input = xtab EXCEPTIONS indx_not_found = 01 output_empty = 02.
SD_FIXED_ITEM_REQ_DETERMINE CALL FUNCTION 'SD_FIXED_ITEM_REQ_DETERMINE' EXPORTING customer = space document_type = space item = ls_dummy order_type = space it_items = lt_items.
OUTBOUND_CALL_01010000_P CALL FUNCTION 'OUTBOUND_CALL_01010000_P' IMPORTING ef_apo_active = s_apoactive.
OUTBOUND_CALL_01000802_P CALL FUNCTION 'OUTBOUND_CALL_01000802_P' IMPORTING ef_active = s_active EXCEPTIONS OTHERS = 1.
OUTBOUND_CALL_01000803_P CALL FUNCTION 'OUTBOUND_CALL_01000803_P' TABLES it_fltmat = p_fltmatx et_desmat = p_desmatx et_dest = p_destx EXCEPTIONS OTHERS = 1.
ND_EXITS_ACTIVE_CHECK CALL FUNCTION 'ND_EXITS_ACTIVE_CHECK' EXCEPTIONS exits_not_active = 1 OTHERS = 2.
OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = p_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SDV03V02 - Rescheduling sales and stock transfer documents: by material SDV03V02 - Rescheduling sales and stock transfer documents: by material SDV03V01 - Updating backorders in Sales: Unconfirmed Documents SDV03V01 - Updating backorders in Sales: Unconfirmed Documents SDV03R02 - Rescheduling of sales and stock transfer documents: Evaluation SDV03R02 - Rescheduling of sales and stock transfer documents: Evaluation