SAP Reports / Programs | Logistics Execution | Warehouse Management(LE-WM) SAP LE

RMCWMNTA SAP ABAP Report - Statistical Structure for Warehouse Controlling from Transfer Orders







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

LCO2 - Set Up Warehouse Co/Transport Orders


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 RMCWMNTA. "Basic submit
SUBMIT RMCWMNTA AND RETURN. "Return to original report after report execution complete
SUBMIT RMCWMNTA 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: ARCHIV = D Archiving Session
Selection Text: BDATU = D Creation date
Selection Text: ENDDAT = Termination Date
Selection Text: ENDZEIT = Termination Time
Selection Text: F_DCIDX = Delete/create indices
Selection Text: LAUFNAME = Name of run
Selection Text: LGNUM = D Whse number
Selection Text: MCINF = Info structures to be set up
Selection Text: NEULAUF = Rerun?
Selection Text: SPERREN = Block all transfer orders?
Selection Text: TANUM_H = D TO number
Selection Text: TANUM_L = D TO number
Selection Text: VRSIO = Save under version
Selection Text: WERKS = D Plant
Title: Statistical Structure for Warehouse Controlling from Transfer Orders
Text Symbol: 100 = New struct.: &V1&, V2&
Text Symbol: 006 = to ;
Text Symbol: 005 = Transfer order
Text Symbol: 003 = Control of the setup run
Text Symbol: 002 = Document data restriction
Text Symbol: 001 = Specifications for target structures
Text Symbol: %FS = Limit for statistical setup for Inventory Controlling (documents)
Text Symbol: %FP = Program parameters


INCLUDES used within this REPORT RMCWMNTA

INCLUDE RMCSNTOP.
INCLUDE RMCWMNDC.


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:

ENQUEUE_ELLTAKE CALL FUNCTION 'ENQUEUE_ELLTAKE' EXPORTING LGNUM = LGNUM EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

DEQUEUE_ELLTAKE CALL FUNCTION 'DEQUEUE_ELLTAKE' EXPORTING LGNUM = LGNUM.

ARCHIVE_VALUE_REQUEST CALL FUNCTION 'ARCHIVE_VALUE_REQUEST' EXPORTING DIALOG_TYPE = 'READ' OBJECT = OBJECT_TA SHOW_HIDDEN_RUN = ' ' IMPORTING SELECTED_RUN = ARCHIV EXCEPTIONS NO_RUNS_AVAILABLE = 01 NO_RUN_SELECTED = 02 OBJECT_NOT_FOUND = 03 UNKNOWN_DIALOG_TYPE = 04.

DATE_TIME_CONVERT *call function 'DATE_TIME_CONVERT' * exporting * date = le_enddat * time = le_endzeit * importing * point_in_time = le_hlp_endzeit * exceptions * date_before_rel_date = 01 * * date_to_big = 02.

DATE_TIME_CONVERT * call function 'DATE_TIME_CONVERT' * exporting * date = sy-datlo * time = sy-timlo * importing * point_in_time = le_hlp_uzeit * exceptions * date_before_rel_date = 01 * date_to_big = 02.

L_MCWM_STATISTICS_NEU CALL FUNCTION 'L_MCWM_STATISTICS_NEU' EXPORTING MODUS = CON_MODUS_BATCH VRSIO = VRSIO ZEITP = CON_ZEITP_TA VERBU = CON_X TABLES XMCWMHD = XMCWMHD XMCWMIT = XMCWMIT XMCINF = SO_MCINF.

L_MCWM_STATISTICS_NEU CALL FUNCTION 'L_MCWM_STATISTICS_NEU' EXPORTING MODUS = CON_MODUS_BATCH VRSIO = VRSIO ZEITP = CON_ZEITP_TQ VERBU = CON_X TABLES XMCWMHD = XQMCWMHD XMCWMIT = XQMCWMIT XMCINF = SO_MCINF.

L_MC_TIME_DIFFERENCE CALL FUNCTION 'L_MC_TIME_DIFFERENCE' EXPORTING DATE_FROM = XLTAK-BDATU DATE_TO = XLTAP-QDATU TIME_FROM = XLTAK-BZEIT TIME_TO = XLTAP-QZEIT IMPORTING DELTA_TIME = XMCWMIT-AE_AQ DELTA_UNIT = XMCWMIT-LZEIT EXCEPTIONS FROM_GREATER_TO = 1.

L_MC_TIME_DIFFERENCE CALL FUNCTION 'L_MC_TIME_DIFFERENCE' EXPORTING DATE_FROM = I_LTBK-PDATU DATE_TO = XLTAK-BDATU TIME_FROM = I_LTBK-PZEIT TIME_TO = XLTAK-BZEIT IMPORTING DELTA_TIME = XMCWMIT-BP_AE DELTA_UNIT = XMCWMIT-LZEIT EXCEPTIONS FROM_GREATER_TO = 1.

L_MC_TIME_DIFFERENCE CALL FUNCTION 'L_MC_TIME_DIFFERENCE' EXPORTING DATE_FROM = I_LTBK-BDATU DATE_TO = XLTAK-BDATU TIME_FROM = I_LTBK-BZEIT TIME_TO = XLTAK-BZEIT IMPORTING DELTA_TIME = XMCWMIT-BE_AE DELTA_UNIT = XMCWMIT-LZEIT EXCEPTIONS FROM_GREATER_TO = 1.

L_MC_TIME_DIFFERENCE CALL FUNCTION 'L_MC_TIME_DIFFERENCE' EXPORTING DATE_FROM = I_LIFK-KODAT DATE_TO = XLTAK-BDATU TIME_FROM = LF_INIT_TIME TIME_TO = LF_INIT_TIME IMPORTING DELTA_TIME = XMCWMIT-LK_AE DELTA_UNIT = XMCWMIT-LZEIT EXCEPTIONS FROM_GREATER_TO = 1.



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