RM06SUBCONSCRAP 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 RM06SUBCONSCRAP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ME2SCRAP - Scrap Analysis (Component Consump.)
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_BAUGR = D .
Selection Text: SO_BEDAT = D .
Selection Text: SO_CHARG = D .
Selection Text: SO_EBELN = D .
Selection Text: SO_EBELP = D .
Selection Text: SO_LIFNR = D .
Selection Text: SO_MATNR = D .
Selection Text: SO_WERKS = D .
Title: Scrap History for Subcontracting Purchase Orders
Text Symbol: 002 = Component Data
Text Symbol: 006 = Purchase Order Data
Text Symbol: T01 = Scrap Analysis for Subcontracting Purchase Orders
INCLUDE SELOPT_CNT_CALL. "#EC *
No SAP DATABASE tables are accessed within this REPORT code!
ME_REP_GET_TABLE_MANAGER CALL FUNCTION 'ME_REP_GET_TABLE_MANAGER' EXPORTING im_service = sy-repid IMPORTING ex_manager = me->my_rep_factory.
MMPUR_SCRAP_FACTORY CALL FUNCTION 'MMPUR_SCRAP_FACTORY' IMPORTING eo_factory = mo_scrap_factory.
ME_REP_GET_TABLE_MANAGER CALL FUNCTION 'ME_REP_GET_TABLE_MANAGER' EXPORTING im_service = sy-repid im_force_tm = cl_mmpur_constants=>yes IMPORTING ex_manager = me->my_rep_factory.
ME_REP_COUNT_TABLE_LINES CALL FUNCTION 'ME_REP_COUNT_TABLE_LINES' EXPORTING im_mem_id = p_wlmem im_not_found = cl_mmpur_constants=>no im_table_manager = me->my_rep_factory.
ME_REP_START_VIA_TABLE_MANAGER CALL FUNCTION 'ME_REP_START_VIA_TABLE_MANAGER' EXPORTING im_table_manager = me->my_rep_factory im_service = sy-repid im_title = text-t01.
ME_EKKO_SINGLE_READ CALL FUNCTION 'ME_EKKO_SINGLE_READ' EXPORTING pi_ebeln = me->my_ebeln IMPORTING po_ekko = me->my_header EXCEPTIONS no_records_found = 0 OTHERS = 0.
MMPUR_SCRAP_FACTORY CALL FUNCTION 'MMPUR_SCRAP_FACTORY' "1713300 IMPORTING eo_factory = me->mo_scrap.
READ_LFA1 CALL FUNCTION 'READ_LFA1' EXPORTING xlifnr = ld_ekko->lifnr IMPORTING xlfa1 = me->my_vendor.
ME_EKPO_READ_WITH_EBELN CALL FUNCTION 'ME_EKPO_READ_WITH_EBELN' EXPORTING pi_ebeln = me->my_ebeln TABLES pto_ekpo = me->my_items EXCEPTIONS err_no_records_found = 1 OTHERS = 2.
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING ebeln = me->my_header-ebeln ebelp = ld_item->ebelp webre = ld_item->webre TABLES xekbe = ltd_ekbe->* xekbes = lt_ekbes EXCEPTIONS error_message = 0 OTHERS = 0.
ME_EKET_SINGLE_READ_ITEM CALL FUNCTION 'ME_EKET_SINGLE_READ_ITEM' EXPORTING pi_ebeln = me->my_header-ebeln pi_ebelp = ld_item->ebelp TABLES pto_eket = ltd_eket->*.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = protocol_handler EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' "#EC * EXPORTING i_log_handle = protocol_handler i_s_msg = ls_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_DSP_OUTPUT_INIT CALL FUNCTION 'BAL_DSP_OUTPUT_INIT'.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_handles EXCEPTIONS profile_inconsistent = 0 internal_error = 0 no_data_available = 0 no_authority = 0 OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM06SUBCONSCRAP - Scrap History for Subcontracting Purchase Orders RM06SUBCONSCRAP - Scrap History for Subcontracting Purchase Orders RM06RST0 - Order Display: Status Information RM06RST0 - Order Display: Status Information RM06REOS - Aggregate/Disaggregate Confirmations RM06REOS - Aggregate/Disaggregate Confirmations