SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM08MMAT SAP ABAP Report - Accounting Documents for Material







RM08MMAT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report Accounting documents for material produces a list containing all 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 RM08MMAT 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

MR51 - Material Line Items


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 RM08MMAT. "Basic submit
SUBMIT RM08MMAT AND RETURN. "Return to original report after report execution complete
SUBMIT RM08MMAT 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_VARI = Layout
Selection Text: BLART = D .
Selection Text: BLDAT = D .
Selection Text: BUDAT = D .
Selection Text: BUKRS = D .
Selection Text: BWKEY = D .
Selection Text: MATNR = D .
Title: Accounting Documents for Material
Text Symbol: 001 = Database Selections
Text Symbol: 002 = Display Options
Text Symbol: 010 = Price
Text Symbol: 011 = Price Mvt
Text Symbol: 012 = Price of Movement
Text Symbol: 013 = Stock Value
Text Symbol: 014 = Stock Value
Text Symbol: 015 = Stock Value
Text Symbol: 016 = Total Qty
Text Symbol: 017 = Total Quantity
Text Symbol: 018 = Total Quantity
Text Symbol: 103 = Hierarchy List
Text Symbol: 104 = Flat List


INCLUDES used within this REPORT RM08MMAT

INCLUDE: RM08MMAD, " REPORTSPEZIFISCHE DATENDEFINITIONEN
RM07MUSR, " TASTENBELEGUNGEN UND TRANSKATIONEN
RM07MEND, " ANFORDERUNGSBILD UND ENDEROUTINE


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:

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' "n555246 EXPORTING "n555246 FUNCNAME = 'FI_CHECK_DATE' "n555246 EXCEPTIONS "n555246 FUNCTION_NOT_EXIST = 1 "n555246 OTHERS = 2. "n555246

FI_CHECK_DATE call function 'FI_CHECK_DATE' "#EC EXISTS "n555246 exporting "n486477 i_bukrs = space "n486477 i_user = sy-uname "n486477 i_program = g_f_repid "n486477 importing "n486477 e_return = g_flag_tpcuser "n486477 exceptions "n486477 no_authority_prog = 1 "n486477 no_authority_date = 2 "n486477 wrong_parameter = 3 "n486477 others = 4. "n486477

REUSE_ALV_VARIANT_F4 * CALL FUNCTION 'REUSE_ALV_VARIANT_F4' * EXPORTING * IS_VARIANT = VARIANTE * I_SAVE = VARIANT_SAVE ** it_default_fieldcat = * IMPORTING * E_EXIT = VARIANT_EXIT * ES_VARIANT = DEF_VARIANTE * EXCEPTIONS * NOT_FOUND = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = def_variante_f4 i_save = 'A' * it_default_fieldcat = IMPORTING E_EXIT = VARIANT_EXIT ES_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_DEFAULT_GET * CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' "n1870532 * EXPORTING "n1870532 * I_SAVE = VARIANT_SAVE "n1870532 * CHANGING "n1870532 * CS_VARIANT = DEF_VARIANTE "n1870532 * EXCEPTIONS "n1870532 * NOT_FOUND = 2. "n1870532

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING IT_SORT = SORT[].

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = REPID * i_structure_name = 'IMREP_MSEG' I_CALLBACK_PF_STATUS_SET = 'STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT IT_FIELDCAT = FIELDCAT[] * IT_EXCLUDING = IT_SPECIAL_GROUPS = GRUPPEN[] IT_SORT = SORT[] * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = VARIANTE * IT_EVENTS = * IT_EVENT_EXIT = I_TABNAME_HEADER = 'HEADER' I_TABNAME_ITEM = 'BELEGE' IS_KEYINFO = KEYINFO IS_PRINT = PRINT * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES T_OUTTAB_HEADER = HEADER T_OUTTAB_ITEM = BELEGE.

REUSE_ALV_VARIANT_EXISTENCE * CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' * EXPORTING * I_SAVE = VARIANT_SAVE * CHANGING * CS_VARIANT = DEF_VARIANTE.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

FI_CHECK_DATE call function 'FI_CHECK_DATE' "n486477 exporting "n486477 i_bukrs = l_f_bukrs "n486477 i_user = sy-uname "n486477 I_PROGRAM = G_F_REPID "n486477 i_from_date = l_f_budat "n486477 exceptions "n486477 no_authority_prog = 1 "n486477 no_authority_date = 2 "n486477 wrong_parameter = 3 "n486477 others = 4. "n486477

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' "n555246 EXPORTING "n555246 FUNCNAME = 'CA_WRITE_LOG' "n555246 EXCEPTIONS "n555246 FUNCTION_NOT_EXIST = 1 "n555246 OTHERS = 2. "n555246

CA_WRITE_LOG CALL FUNCTION 'CA_WRITE_LOG' "#EC EXISTS "n555246 EXPORTING "n555246 I_PROGRAM = g_f_repid "n555246 EXCEPTIONS "n555246 WRITE_ERROR = 1 "n555246 OTHERS = 2. "n555246

ME_CHECK_T160M CALL FUNCTION 'ME_CHECK_T160M' "1227769 EXPORTING "1227769 I_ARBGB = 'M7' "1227769 I_MSGNR = '439' "1227769 EXCEPTIONS "1227769 NOTHING = 0 "1227769 OTHERS = 1. "1227769

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING IT_SORT = SORT[].

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = def_variante EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = def_variante EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = def_variante.

ME_CHECK_T160M CALL FUNCTION 'ME_CHECK_T160M' EXPORTING I_ARBGB = 'M7' I_MSGNR = '393' EXCEPTIONS NOTHING = 0 OTHERS = 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 RM08MMAT or its description.