SAP Reports / Programs

SDV03V02 SAP ABAP Report - Rescheduling sales and stock transfer documents: by material







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

V_V2 - Updating Sales Documents by Material


ABAP code to call this SAP report using the submit statement

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.






SUBMIT SDV03V02. "Basic submit
SUBMIT SDV03V02 AND RETURN. "Return to original report after report execution complete
SUBMIT SDV03V02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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.


INCLUDES used within this REPORT SDV03V02

INCLUDE RVDIREKT.
INCLUDE SDV03V02_SELECTION_SCREEN.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SDV03V02 or its description.