SAP Reports / Programs

RM06EKBE_SC SAP ABAP Report - Component Consumption History for Subcontracting







RM06EKBE_SC 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 RM06EKBE_SC 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

ME2COMP - Component Consumption History


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 RM06EKBE_SC. "Basic submit
SUBMIT RM06EKBE_SC AND RETURN. "Return to original report after report execution complete
SUBMIT RM06EKBE_SC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Purchasing Documents for Subcontracting: Overview
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: Component Consumption History for Subcontracting
Text Symbol: 002 = Component Consumption History
Text Symbol: 006 = Purchase Order Data
Text Symbol: T01 = Purchasing Documents for Subcontracting: Overview


INCLUDES used within this REPORT RM06EKBE_SC

No INCLUDES are used within this REPORT code!


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_REP_GET_TABLE_MANAGER CALL FUNCTION 'ME_REP_GET_TABLE_MANAGER' EXPORTING im_service = sy-repid IMPORTING ex_manager = me->my_rep_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 = me->my_sel_data-mem_id->* 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_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.

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.

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.



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 RM06EKBE_SC or its description.