SAP Reports / Programs

RM07CHDX SAP ABAP Report - Conversion Report for Batch Status Management







RM07CHDX is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report RM07CHDX is used to convert the batch master records when changing the batch level...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 RM07CHDX 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 RM07CHDX. "Basic submit
SUBMIT RM07CHDX AND RETURN. "Return to original report after report execution complete
SUBMIT RM07CHDX 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: P_WERKS = Plant for missing view
Title: Conversion Report for Batch Status Management
Text Symbol: Z_N =
Text Symbol: Z_F =
Text Symbol: N_V =
Text Symbol: N_B =
Text Symbol: I_B =
Text Symbol: F0C = Material Plnt Comment
Text Symbol: F0A = Material Batch Plnt Comment
Text Symbol: F01 = Batch Material Plnt Comment
Text Symbol: E01 = For plant materials, no batch mgmt requirement defined (inconsistency)
Text Symbol: DT2 = test mode first?
Text Symbol: DT1 = Carry out conversion in
Text Symbol: DHD = Conversion: batch definition
Text Symbol: DD2 = tables may be converted.
Text Symbol: DD1 = In the process of conversion,
Text Symbol: D01 = For batches, no plant batch can be created
Text Symbol: C01 = For plant materials, no batch mgmt requirement defined
Text Symbol: B01 = For batches, no unique material definition could be determined
Text Symbol: A01 = For batches, no unique plant definition could be determined


INCLUDES used within this REPORT RM07CHDX

INCLUDE RM07GRID.
INCLUDE MM07MABC.


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:

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = y diagnosetext1 = text-dd1 diagnosetext2 = text-dd2 diagnosetext3 = text-dd3 textline1 = text-dt1 textline2 = text-dt2 titel = text-dhd start_column = 25 start_row = 6 IMPORTING answer = answer.

CLCH_MCHA_CHANGE_INTO_MCH1 CALL FUNCTION 'CLCH_MCHA_CHANGE_INTO_MCH1'.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = nr_kreis object = nr_object IMPORTING number = new_cuobj EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.

ENQUEUE_EMMARAE CALL FUNCTION 'ENQUEUE_EMMARAE' "MARA exklusiv für alle Materialien EXCEPTIONS foreign_lock = 2 system_failure = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EMMARCE CALL FUNCTION 'ENQUEUE_EMMARCE' "MARC exklusiv für alle Materialien EXCEPTIONS foreign_lock = 2 system_failure = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'TCUCH' varkey = mandant EXCEPTIONS foreign_lock = 4 system_failure = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'T001W' varkey = mandant EXCEPTIONS foreign_lock = 4 system_failure = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'T134' varkey = mandant EXCEPTIONS foreign_lock = 4 system_failure = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'T134W' varkey = mandant EXCEPTIONS foreign_lock = 4 system_failure = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_EMMARCE CALL FUNCTION 'DEQUEUE_EMMARCE'.



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