DM06QF01 is a standard ABAP INCLUDE 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 DM06QF01 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.
Title: General FORM Routines for Quota Arrangement Processing
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = tc_0205-top_line entry_from = 1 entry_to = tc_0205-lines loops = k-loopc ok_code = ok-code IMPORTING entry_new = tc_0205-top_line EXCEPTIONS OTHERS = 0.
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = tc_equp-top_line entry_from = 1 entry_to = tc_equp-lines * LAST_PAGE_FULL = 'X' loops = p-loopc ok_code = ok-code * OVERLAPPING = ' ' * PAGE_ACT = 0 * PAGE_GO = 0 IMPORTING * ENTRIES_SUM = entry_new = tc_equp-top_line * PAGES_SUM = * PAGE_NEW = EXCEPTIONS no_entry_or_page_act = 1 no_entry_to = 2 no_ok_code_or_page_go = 3 OTHERS = 4.
CONVERT_SOBES_OUTPUT CALL FUNCTION 'CONVERT_SOBES_OUTPUT' EXPORTING sobes = equp-sobes IMPORTING esobs = rm06q-sobin.
CONVERT_SOBES_OUTPUT CALL FUNCTION 'CONVERT_SOBES_OUTPUT' EXPORTING sobes = equp-sobes IMPORTING esobs = rm06q-sobin.
ME_UPDATE_QUOTA CALL FUNCTION 'ME_UPDATE_QUOTA' "IN UPDATE TASK TABLES xequk = nequk "XEQUK yequk = yequk xequp = xequp yequp = yequp.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mt06e return = mtcor TABLES seqmat01 = tdummy.
AIP01_PLANT_DETERMINE CALL FUNCTION 'AIP01_PLANT_DETERMINE' EXPORTING i_werks = werks IMPORTING e_ownls = lv_ownls EXCEPTIONS OTHERS = 0.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mt06e return = mtcor TABLES seqmat01 = tdummy.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING titel = text-002 textline1 = text-003 textline2 = text-004 IMPORTING answer = santw.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING titel = text-002 textline1 = text-003 textline2 = text-004 IMPORTING answer = santw.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-002 "TEXT-001 textline1 = text-003 textline2 = text-004 IMPORTING answer = santw.
ME_SEARCH_SOURCE_OF_SUPPLY CALL FUNCTION 'ME_SEARCH_SOURCE_OF_SUPPLY' EXPORTING comim = bqpim quota_head = equk TABLES uequp = xequp uord = xequp. "nicht benötigt
ME_SEARCH_SOURCE_OF_SUPPLY CALL FUNCTION 'ME_SEARCH_SOURCE_OF_SUPPLY' EXPORTING comim = bqpim quota_head = equk TABLES uequp = xequp uord = xequp. "nicht benötigt
ME_READ_INFORECORD CALL FUNCTION 'ME_READ_INFORECORD' EXPORTING incom = meico IMPORTING einadaten = *eina excom = meicr EXCEPTIONS not_found = 01.
ENQUEUE_EMEQUKE CALL FUNCTION 'ENQUEUE_EMEQUKE' EXPORTING matnr = equk-matnr werks = equk-werks EXCEPTIONS "951961 foreign_lock = 2 system_failure = 3. "951961
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = tmq1-numki object = 'QUOTIERUNG' quantity = quantity IMPORTING number = equk-qunum quantity = anzahl_i returncode = retco EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mt06e return = mtcor TABLES seqmat01 = tdummy.
MATERIAL_READ_MAMK CALL FUNCTION 'MATERIAL_READ_MAMK' EXPORTING schluessel = mtcom IMPORTING matdaten = mtmka return = mtcor TABLES seqmat01 = tdummy EXCEPTIONS lock_on_material = 01 lock_system_error = 02 material_not_found = 03.
CALL FUNCTION 'ME_CHECK_SOURCE_OF_SUPPLY_QM' EXPORTING material = equk-matnr plant = equk-werks qm_key = mt06e-ssqss search = ' ' "keine Bezugsquellensuche sperrfkt = *lfa1-sperq stamm = ' ' "keine Stammdatenpflege kzrev = mt06e-kzrev "Revisionsstand lesen supplier = equp-lifnr.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING titel = text-043 textline1 = text-044 textline2 = text-045 IMPORTING answer = santw.
VENDOR_MASTER_DATA_SELECT_01 CALL FUNCTION 'VENDOR_MASTER_DATA_SELECT_01' EXPORTING i_land1 = t001w-land1 i_zone1 = t001w-zone1 i_lifnr = equp-lifnr EXCEPTIONS not_allowed = 01.
ME_CHECK_MAIN_SUPPLIER CALL FUNCTION 'ME_CHECK_MAIN_SUPPLIER' EXPORTING i_lifnr = equp-lifnr i_message = 'W' i_matnr = equk-matnr i_satnr = mt06e-satnr i_attyp = mt06e-attyp.
MEX_CHECK_WERKS CALL FUNCTION 'MEX_CHECK_WERKS' EXPORTING im_werks = equp-bewrk im_trtyp = trtyp im_wrkex = 'X' IMPORTING ex_t001w = t001w ex_t001k = t001k ex_t001 = t001.
CONVERT_SOBES_OUTPUT CALL FUNCTION 'CONVERT_SOBES_OUTPUT' EXPORTING sobes = equp-sobes IMPORTING esobs = rm06q-sobin.
AIP01_PLANT_DETERMINE CALL FUNCTION 'AIP01_PLANT_DETERMINE' EXPORTING i_lifnr = *lfa1-lifnr IMPORTING es_t001w_ext = ls_t001w_ext EXCEPTIONS OTHERS = 0.
MATERIAL_LESEN CALL FUNCTION 'MATERIAL_LESEN' EXPORTING schluessel = e_mtcom IMPORTING matdaten = mt61d TABLES seqmat01 = tdummy EXCEPTIONS OTHERS = 1.
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 DM06QF01 or its description.
DM06QF01 - General FORM Routines for Quota Arrangement Processing DLPOSTOP - POS interface: include for reports RWDPOSIN and RWDPOSAN DLPOSE01 - POS interface: Include for reports RWDPOSAN, - ...IN and ...UP DKYEXU01 - Retrieve Weighting of Control Figure from Data Mining Method DKWGFLAG_PBO_01 - DKWGFLAGPBO01 DKWGFLAG_PAI_01 - DKWGFLAGPAI01