SAP Reports / Programs | Materials Management (MM) enhancements | Mill Products Industry Solution | Materials Management (MM) enhancements(IS-MP-MM) SAP IS

MILL_PCBT_CHECK SAP ABAP Report - Analysis report for inconsistencies in single-unit batches







MILL_PCBT_CHECK 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 MILL_PCBT_CHECK into the relevant SAP transactions such as SE38 or SE80


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 MILL_PCBT_CHECK. "Basic submit
SUBMIT MILL_PCBT_CHECK AND RETURN. "Return to original report after report execution complete
SUBMIT MILL_PCBT_CHECK 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: IF_MOD3 = MARC with incomplete MARM
Selection Text: IF_MOD4 = Standard batches for DPCBT C
Selection Text: IF_MOD5 = Sng.-unit bchs for DPCBT SPACE
Selection Text: IF_MOD6 = Deviations factor - stock
Selection Text: IR_MATNR = D Material
Selection Text: IR_WERKS = D Plant
Selection Text: IF_MOD1 = MARA without MARC-DPCBT
Selection Text: IF_MOD2 = MARC without MARA-DPCBT
Title: Analysis report for inconsistencies in single-unit batches
Text Symbol: 001 = General restrictions
Text Symbol: 002 = Checks
Text Symbol: 003 = There is a problem with the following materials/batches


INCLUDES used within this REPORT MILL_PCBT_CHECK

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:

MGV_SELOP_AFTER_INITIALIZATION call function 'MGV_SELOP_AFTER_INITIALIZATION' EXPORTING PROGRAM = mgv_matnr_prog TABLES SELOP = mgv_matnr_selopt_tab EXCEPTIONS NO_PROGRAMNAME = 1 OTHERS = 2 .

MGV_SELOP_AFTER_START_OF_SEL CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL' EXPORTING SELOPT_NAME = mgv_matnr_selopt_tab-name TABLES RANGE = .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = '@4B@' IMPORTING RESULT = sscrfields-functxt_01 EXCEPTIONS ICON_NOT_FOUND = 0 OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = '@4D@' IMPORTING RESULT = sscrfields-functxt_02 EXCEPTIONS ICON_NOT_FOUND = 0 OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_interface_check = lf_interface_check i_callback_program = 'MILL_PCBT_CHECK' i_callback_user_command = 'UCOMM' i_structure_name = 'MILL_PCBT_ERROR' * I_BACKGROUND_ID = ' ' i_grid_title = text-003 * I_GRID_SETTINGS = is_layout = ls_layout * IT_FIELDCAT = * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = abap_true * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_ADD_FIELDCAT = * IT_HYPERLINK = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = lt_error_all EXCEPTIONS program_error = 1 OTHERS = 2.



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