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

RM07MKON SAP ABAP Report - Display Consignment and Returnable Packaging Stocks at Customer







RM07MKON is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Display consignment and returnable packaging stocks at customer's site This report generates a list of the following special stocks at the customer's site...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 RM07MKON 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

MB58 - Consgmt and Ret. Packag. at Customer


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 RM07MKON. "Basic submit
SUBMIT RM07MKON AND RETURN. "Return to original report after report execution complete
SUBMIT RM07MKON VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Consignment and Returnable Packaging Stocks at Customer
Selection Text: P_GRID = Output List as ALV Grid
Selection Text: SOBKZ_V = Customer Returnable Packaging
Selection Text: SOBKZ_W = Customer Consignment
Selection Text: ZERO = Display Zero Stocks
Selection Text: ALV_DEF = D .
Selection Text: CHARG = D .
Selection Text: KUNNR = D .
Selection Text: MATNR = D .
Selection Text: WERKS = D .
Title: Display Consignment and Returnable Packaging Stocks at Customer
Text Symbol: 001 = Database Selections
Text Symbol: 002 = Please choose a stock type
Text Symbol: 005 = Display Options


INCLUDES used within this REPORT RM07MKON

INCLUDE RM07ALVI.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' "n_1788789 EXPORTING "n_1788789 i_save = 'A' "n_1788789 CHANGING "n_1788789 cs_variant = alv_variant "n_1788789 EXCEPTIONS "n_1788789 not_found = 2. "n_1788789

MMIM_ENTRYCHECK_MAIN CALL FUNCTION 'MMIM_ENTRYCHECK_MAIN' TABLES it_matnr = matnr it_werks = werks it_kunnr = kunnr.

V_KNA1_SINGLE_READ CALL FUNCTION 'V_KNA1_SINGLE_READ' EXPORTING pi_kunnr = kna1_key-kunnr PI_READ_CAM = l_iav PI_ACCESS_TO_ADDR_VERSION = l_iav IMPORTING PE_KNA1 = l_kna1 EXCEPTIONS NO_RECORDS_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_interface_check = ' ' i_callback_program = alv_repid i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = fc[] i_default = 'X' i_save = 'A' is_variant = alv_variant i_tabname_header = 'HEADER' i_tabname_item = 'LIST' is_keyinfo = alv_keyinfo is_print = alv_print TABLES t_outtab_header = header t_outtab_item = list.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = alv_repid i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND_GRID' it_fieldcat = lt_fc i_default = 'X' is_variant = alv_variant i_save = 'A' is_layout = alv_layout is_print = alv_print it_excluding = lt_exclude TABLES t_outtab = list[].



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