SAP Reports / Programs

RM07MOA SAP ABAP Report - Display Valuated GR Blocked Stock







RM07MOA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display of Valuated Goods Receipt Blocked Stock You can use the report RM07MOA to display the 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 RM07MOA 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

MB5OA - Display Valuated GR Blocked Stock


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 RM07MOA. "Basic submit
SUBMIT RM07MOA AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MOA 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: SO_WERKS = Plant
Selection Text: SO_MATNR = Material
Selection Text: SO_LIFNR = Vendor
Selection Text: SO_EKORG = Purchasing Organization
Selection Text: SO_EKGRP = Purchasing Group
Selection Text: SO_EBELP = Item
Selection Text: SO_EBELN = Purchasing Document
Selection Text: SO_BUKRS = Company Code
Selection Text: PA_LOEKZ = Also Deleted Items
Selection Text: PA_KNTTP = Also Items w. Acct Assignment
Title: Display Valuated GR Blocked Stock
Text Symbol: 104 = PurchasingGroup
Text Symbol: 105 = Purch. Organization
Text Symbol: 106 = Purch.Doc.
Text Symbol: 107 = Item
Text Symbol: 108 = Purchase Order History with Origin Acceptance
Text Symbol: 109 = Acceptance Date
Text Symbol: 110 = Delivery Date
Text Symbol: 111 = Purchase Order History Without Origin Acceptance
Text Symbol: 112 = Delivery Date
Text Symbol: 113 = Release Date
Text Symbol: 120 = List Scope
Text Symbol: 130 = Layout
Text Symbol: 895 = Error during INSERT in table MMIM_RE_PRINT
Text Symbol: 103 = Vendors
Text Symbol: 001 = Database Selections
Text Symbol: 002 = Display Options
Text Symbol: 003 = Scope of List
Text Symbol: 004 = Layout
Text Symbol: 005 = Selection of Purchase Order Items
Text Symbol: 006 = Hierarchical Representation
Text Symbol: 007 = Non-Hierarchical Representation
Text Symbol: 008 = Selection of Materials
Text Symbol: 009 = Selection of Purchase Orders
Text Symbol: 010 = Date of Acceptance
Text Symbol: 011 = Date of Delivery
Text Symbol: 012 = Release Date
Text Symbol: 013 = @0E\Q@ List Scope





Text Symbol: 014 = @0H\Q@ List Scope
Text Symbol: 015 = @0E\Q@ Layout
Text Symbol: 016 = @0H\Q@ Layout
Text Symbol: 017 = Choose at least one function
Text Symbol: 018 = No acceptance at vendor
Text Symbol: 019 = With acceptance at vendor
Text Symbol: 020 = Accepted and delivered
Text Symbol: 021 = Delivered and released
Text Symbol: 100 = Plnt
Text Symbol: 101 = Material
Text Symbol: 102 = Company Code


INCLUDES used within this REPORT RM07MOA

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:

MMIM_ENTRYCHECK_MAIN CALL FUNCTION 'MMIM_ENTRYCHECK_MAIN' TABLES it_matnr = so_matnr it_werks = so_werks * assign supplier number and company code correctly "n862910 it_bukrs = so_bukrs "n862910 it_lifnr = so_lifnr "n862910 it_ekgrp = so_ekgrp it_ekorg = so_ekorg.

MB_ADD_VAL_BLOCKED_GR_STOCK CALL FUNCTION 'MB_ADD_VAL_BLOCKED_GR_STOCK' EXPORTING I_LOEKZ = pa_loekz I_WI_ST = pa_wi_st I_NO_ST = pa_no_st I_KNTTP = pa_knttp I_CONDENSE = ' ' I_WIORA = pa_wiora I_NOORA = pa_noora I_WITHB = pa_withb I_ELIKZ = pa_elikz "n1535711 TABLES T_RESULT = gt_result T_RA_MATNR = so_matnr T_RA_WERKS = g_ra_werks "n1550695 T_RA_LIFNR = so_lifnr T_RA_EKGRP = so_ekgrp T_RA_EKORG = so_ekorg T_RA_EBELN = so_ebeln T_RA_EBELP = so_ebelp T_RA_WDTAC = so_wdtac T_RA_WDTDL = so_wdtdl T_RA_NDTGR = so_ndtgr T_RA_NDTRL = so_ndtrl EXCEPTIONS MISSING_AUTHORIZATION = 1 PARAMETER_ERROR = 2 OTHERS = 3.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' "n862910 EXPORTING "n862910 name = g_ddobjname "n862910 state = 'A' "n862910 langu = sy-langu "n862910 IMPORTING "n862910 dd04v_wa = g_dd04v_wa "n862910 EXCEPTIONS "n862910 OTHERS = 1. "n862910

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = g_ddobjname state = 'A' langu = sy-langu IMPORTING dd04v_wa = g_dd04v_wa.

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

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = 'A' IMPORTING e_exit = l_flag_exit es_variant = ls_variant_f4 EXCEPTIONS others = 2.

ME_CHECK_T160M CALL FUNCTION 'ME_CHECK_T160M' EXPORTING I_ARBGB = 'M7' I_MSGNR = '393' EXCEPTIONS NOTHING = 0 OTHERS = 1.

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

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_INTERFACE_CHECK = l_f_check i_callback_program = g_f_repid it_events = gt_events_hsq[] is_layout = gs_layout it_fieldcat = gt_fieldcat_hsq[] i_default = 'X' i_save = 'A' is_variant = gs_variant_hsq IT_SORT = gt_sort_hsq[]
i_tabname_header = 'GT_HEADER' i_tabname_item = 'GT_ITEM' is_keyinfo = gs_keyinfo is_print = gs_print TABLES t_outtab_header = gt_header t_outtab_item = gt_item EXCEPTIONS OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_f_repid it_events = gt_events_flt[] IS_LAYOUT = gs_layout it_fieldcat = gt_fieldcat_flt[] i_default = 'X' i_save = 'A' is_variant = gs_variant_flt IT_SORT = gt_sort_flt[] IS_PRINT = gs_print TABLES T_OUTTAB = gt_item EXCEPTIONS OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = gt_listheader[].

REUSE_ALV_COMMENTARY_WRITE





CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = gt_listheader[].

ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = ls_interface-ebeln i_enjoy = 'X' EXCEPTIONS not_found = 1 no_authority = 2 invalid_call = 3 OTHERS = 4.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



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