SAP Reports / Programs | Materials Management | Purchasing(MM-PUR) SAP MM

RM06ENDR_ALV SAP ABAP Report - Message Output







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

ME9L - Message Output: Sched. Agreements
ME9K - Message Output: Contracts
ME9F - Message Output: Purchase Orders
ME9A - Message Output: RFQs
ME9E - Message Output: Sch. Agmt. Schedules


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 RM06ENDR_ALV. "Basic submit
SUBMIT RM06ENDR_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT RM06ENDR_ALV 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: S_LIFNR = Vendor
Selection Text: S_KSCHL = Message Type
Selection Text: S_EKORG = Purchasing Organization
Selection Text: S_EKGRP = Purchasing Group
Selection Text: S_EBELN = Document Number
Selection Text: S_DISPO = MRP Controller
Selection Text: S_BSART = Document Type
Selection Text: S_BERID = MRP Area
Selection Text: S_BEDAT = Document Date
Selection Text: P_WERKS = Plant
Selection Text: P_VSZTP = Transmission Time-Spot
Selection Text: P_VSTAT = Processing Status
Selection Text: P_REDUC = Only messages for SA release
Selection Text: P_NOREL = Only messages for document
Selection Text: P_KAPPL = Application
Selection Text: P_ERUHR = Time Created
Selection Text: P_ERDAT = Creation Date
Selection Text: P_ABART = Release Type
Title: Message Output
Text Symbol: 302 = Save changes?
Text Symbol: 301 = Messages have been changed.
Text Symbol: 300 = Save Messages
Text Symbol: 012 = Processing Status
Text Symbol: 011 = Output Failed
Text Symbol: 010 = Message Outputted
Text Symbol: 009 = Purch. Doc.
Text Symbol: 008 = Message Processing, Purch. Documents
Text Symbol: 007 = Contract
Text Symbol: 006 = Sch. Agmt
Text Symbol: 005 = RFQ
Text Symbol: 004 = Pur. Order
Text Symbol: 003 = Only in case of messages for SA releases
Text Symbol: 002 = Message Data
Text Symbol: 001 = Purch. Doc. Data


INCLUDES used within this REPORT RM06ENDR_ALV

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:

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = gf_use_grid EXCEPTIONS OTHERS = 0.

HELP_VALUES_KSCHL_PREPARE CALL FUNCTION 'HELP_VALUES_KSCHL_PREPARE' EXPORTING program = sy-cprog dynnr = sy-dynnr IMPORTING kschl = s_kschl-low EXCEPTIONS OTHERS = 1.

HELP_VALUES_KSCHL_PREPARE CALL FUNCTION 'HELP_VALUES_KSCHL_PREPARE' EXPORTING program = sy-cprog dynnr = sy-dynnr IMPORTING kschl = s_kschl-high EXCEPTIONS OTHERS = 1.

HELP_VALUES_KAPPL CALL FUNCTION 'HELP_VALUES_KAPPL' IMPORTING kappl = p_kappl EXCEPTIONS OTHERS = 1.

RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH'.

WFMC_MESSAGE_SINGLE CALL FUNCTION 'WFMC_MESSAGE_SINGLE' " 361179 EXPORTING " 361179 pi_nast = nast " 361179 IMPORTING " 361179 pe_rcode = subrc. " 361179

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_checked info = text-010 IMPORTING result = gf_icon_checked EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_incomplete info = text-011 IMPORTING result = gf_icon_incomplete EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = g_repid i_callback_pf_status_set = 'STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = g_layout it_fieldcat = g_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * it_sort = g_it_sort[] * IT_FILTER = * IS_SEL_HIDE = * i_default = 'X' i_save = 'A' is_variant = g_variant i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = is_keyinfo = g_keyinfo * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 IMPORTING * E_EXIT_CAUSED_BY_CALLER = es_exit_caused_by_user = i_slis_exit_by_user TABLES t_outtab_header = xheader t_outtab_item = xitem EXCEPTIONS * program_error = 1 OTHERS = 2.

RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING msg_no_update_task = 'X'.

ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = xitem-ebeln i_display_only = 'X' i_enjoy = 'X' EXCEPTIONS OTHERS = 4.

WFMC_MESSAGE_SINGLE CALL FUNCTION 'WFMC_MESSAGE_SINGLE' " 361179 EXPORTING " 361179 pi_nast = nast " 361179 IMPORTING " 361179 pe_rcode = retco. " 361179

WFMC_MESSAGE_SINGLE_NO_UPDATE CALL FUNCTION 'WFMC_MESSAGE_SINGLE_NO_UPDATE' " 361179 EXPORTING " 361179 pi_nast = nast " 361179 IMPORTING " 361179 pe_rcode = retco. " 361179

WFMC_MESSAGE_SINGLE_SCREEN CALL FUNCTION 'WFMC_MESSAGE_SINGLE_SCREEN' " 361179 EXPORTING " 361179 pi_nast = nast " 361179 IMPORTING " 361179 pe_rcode = retco. " 361179

RV_MESSAGES_PURGE CALL FUNCTION 'RV_MESSAGES_PURGE' EXPORTING msg_objky = l_nast-objky.

RV_MESSAGES_SELECT CALL FUNCTION 'RV_MESSAGES_SELECT' EXPORTING msg_erdat = p_erdat msg_eruhr = p_eruhr * msg_vstat = p_vstat "425545 msg_vstat = lf_vstat "425545 msg_vsztp = p_vsztp TABLES s_kschl = s_kschl s_nacha = r_nacha s_objky = t_objky s_kappl = r_kappl.

MM_REFRESH_PARTNERS CALL FUNCTION 'MM_REFRESH_PARTNERS'.

MM_PARTNERS_FOR_MESSAGING CALL FUNCTION 'MM_PARTNERS_FOR_MESSAGING' EXPORTING application = 'P' vorga = vorga neupr = t161n-neupr iekko = l_ekko TABLES part = part EXCEPTIONS OTHERS = 1.

RV_MESSAGES_READ





CALL FUNCTION 'RV_MESSAGES_READ' EXPORTING msg_kappl = l_nast-kappl msg_objky = l_nast-objky" voher ekko-ebeln.

RV_MESSAGES_GET CALL FUNCTION 'RV_MESSAGES_GET' EXPORTING msg_kappl = l_nast-kappl msg_objky_from = l_nast-objky "wegen externer Nummernvergabe msg_objky_to = l_nast-objky TABLES tab_xnast = xnast tab_ynast = ynast.

RV_MESSAGES_MAINTENANCE CALL FUNCTION 'RV_MESSAGES_MAINTENANCE' EXPORTING min_btext = beltext min_cua_text = bildtext min_kappl = l_nast-kappl min_kalsm = t161n-kalsm min_objky = l_nast-objky min_t185 = t185 min_t185f = t185f min_t185v = t185v pi_objtype = business_object IMPORTING mex_fcode = fcode mex_t185f = t185f mex_t185v = t185v mex_updat = nupdat cancelled = ef_flag " 424036 TABLES mtb_part = part.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING textline1 = text-301 textline2 = text-302 titel = text-300 IMPORTING answer = answer.

RV_MESSAGES_GET CALL FUNCTION 'RV_MESSAGES_GET' EXPORTING msg_kappl = l_nast-kappl msg_objky_from = l_nast-objky msg_objky_to = l_nast-objky TABLES tab_xnast = xnast tab_ynast = ynast.

RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING msg_no_update_task = ' '. "183440

RV_MESSAGES_PURGE CALL FUNCTION 'RV_MESSAGES_PURGE' EXPORTING msg_objky = l_nast-objky.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING ebeln = xebeln EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EMEKKOE CALL FUNCTION 'DEQUEUE_EMEKKOE' EXPORTING ebeln = xebeln.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = g_variant EXCEPTIONS not_found = 2 OTHERS = 4.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_item i_structure_name = 'NAST' i_client_never_display = 'X' CHANGING ct_fieldcat = l_fieldcat EXCEPTIONS OTHERS = 3.

MM_ADDRESS_GET CALL FUNCTION 'MM_ADDRESS_GET' EXPORTING i_ekko = ekko IMPORTING e_name1 = addr1_val-name1 EXCEPTIONS OTHERS = 1.

MM_ADDRESS_GET CALL FUNCTION 'MM_ADDRESS_GET' EXPORTING i_ekko = ekko IMPORTING e_name1 = addr1_val-name1 EXCEPTIONS OTHERS = 1.

ENQUEUE_EMEKPOE CALL FUNCTION 'ENQUEUE_EMEKPOE' EXPORTING ebeln = ebeln ebelp = ebelp EXCEPTIONS foreign_lock = 2 system_failure = 3.

DEQUEUE_EMEKPOE CALL FUNCTION 'DEQUEUE_EMEKPOE' EXPORTING ebeln = ebeln ebelp = ebelp.



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