RM06ELLB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report "SC Stock Monitoring for Vendor" creates a list of stocks of materials provided to a vendor, with the current stock situation, planned issues and planned receipts...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 RM06ELLB into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ME2O - SC Stock Monitoring (Vendor)
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.
Selection Text: S_WERKS = Plant
Selection Text: S_MATNR = Components Provided
Selection Text: S_LIFNR = Vendor
Selection Text: S_BDTER = Requirement Date
Selection Text: S_BAUGR = Assembly
Selection Text: P_TPSCR = W. Ext. Receipts from Requisns
Selection Text: P_TPSCP = With Ext. Receipts from POs
Selection Text: P_SCREQ = With Reqts from SC Requisns
Selection Text: P_NUROFF = Only SC Stocks with Shortage
Selection Text: P_NULLZ = Display Zero Lines
Selection Text: P_BATGRP = Group by Batches
Title: SC Stock Monitoring for Vendor
Text Symbol: U03 = | Reqt/Receipt qty Available SC Stock
Text Symbol: U02 = | Date Document Item Deliv. Date Batch Reqt/Receipt Qty Available SC Stock
Text Symbol: U01 = | Material Plnt Short Text Batch SC Stock
Text Symbol: GUV = Deliveries with open GI being read ...
Text Symbol: GUT = Ordered external deliveries being read ...
Text Symbol: GUS = Requested external deliveries being read ...
Text Symbol: GUR = Stock transfer reservations being read ...
Text Symbol: GUL = Dependent requirements from SC orders being read ...
Text Symbol: GUK = Dependent requirements from SC requisitions being read ...
Text Symbol: CW2 = PUoM Entry Unit of Measure
Text Symbol: CW1 = In Parallel UoM
Text Symbol: 025 = Unit of Entry
Text Symbol: 001 = GI Posting for SC Stock
Text Symbol: 002 = Selection Criteria
Text Symbol: 003 = List Output
Text Symbol: 004 = Deliveries with Open GI
Text Symbol: 005 = Delivery for SC Vendor
Text Symbol: 006 = Delivery/ies
Text Symbol: 007 = External Deliveries (Ordered)
Text Symbol: 008 = Requirements via SC Orders
Text Symbol: 009 = Receipts via Stock Transfer Reservations
Text Symbol: 010 = Vendor
Text Symbol: 011 = External Deliveries (Requested)
Text Symbol: 012 = Requirements Through SC Requisitions
Text Symbol: 013 = Current Stock
Text Symbol: 014 = Show
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = re_bool EXCEPTIONS its_not_available = 1 OTHERS = 2.
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = hide-ebeln i_ebelp = h_ebelp i_enjoy = 'X' i_bstyp = 'F' EXCEPTIONS OTHERS = 1.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-001 show_linno = space EXCEPTIONS inconsistent_range = 1 no_messages = 2.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-005 show_linno = space EXCEPTIONS inconsistent_range = 1 no_messages = 2.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = lifbe TABLES seqmat01 = xlifbe EXCEPTIONS OTHERS = 1.
MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING matnr = p_matnr werks = p_werks IMPORTING wmarc = xmarc EXCEPTIONS OTHERS = 1.
WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = p_lifnr IMPORTING po_lfa1 = lfa1 EXCEPTIONS OTHERS = 1.
VIEW_KUWEV CALL FUNCTION 'VIEW_KUWEV' EXPORTING comwa = l_vtcom IMPORTING wewa = l_kuwev EXCEPTIONS OTHERS = 1.
VIEW_KNVP CALL FUNCTION 'VIEW_KNVP' EXPORTING vkorg = xt001w-vkorg vtweg = xt001w-vtweg spart = xt001w-spart kunnr = lfa1-kunnr parvw = 'WE' "warenempfänger IMPORTING knvp_wa = l_knvp.
VERSANDSTELLE_ERMITTELN CALL FUNCTION 'VERSANDSTELLE_ERMITTELN' EXPORTING ladgr = lbbes-ladgr lgort = space vsbed = tkunnr-vsbed vstel_i = space werks = p_werks IMPORTING * e_tvst = vstel = lbbes-vstel EXCEPTIONS OTHERS = 1.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = p_matnr IMPORTING wmara = wmara EXCEPTIONS OTHERS = 1.
MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING matnr = p_matnr spras = sy-langu IMPORTING wmakt = wmakt EXCEPTIONS OTHERS = 1.
UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = ikomdlgn-matnr meinh = imseg-erfme meins = ikomdlgn-vrkme mglme = xkomdlgn-lfimg IMPORTING o_mgame = xkomdlgn-lfimg EXCEPTIONS OTHERS = 1.
GN_DELIVERY_CREATE CALL FUNCTION 'GN_DELIVERY_CREATE' EXPORTING vbsk_i = vbsk vbls_pos_rueck = 'X' no_commit = 'X' if_no_deque = 'X' "641451 TABLES xkomdlgn = xkomdlgn xvbfs = xvbfs xvbls = xvbls EXCEPTIONS OTHERS = 1.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-005 show_linno = space i_use_grid = g_alv_sw EXCEPTIONS inconsistent_range = 1 no_messages = 2.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = h_numki object = 'RV_SAMMG' IMPORTING number = vbsk-sammg.
T377_SINGLE_READ CALL FUNCTION 'T377_SINGLE_READ' EXPORTING * KZRFB = ' ' t377_serail = lbbes-sernp t377_beleg = 'MMSL' IMPORTING wt377 = ls_t377 EXCEPTIONS not_found = 1 OTHERS = 2.
WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = lbbes-lifnr IMPORTING po_lfa1 = lfa1 EXCEPTIONS OTHERS = 1.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'ME' msgty = 'I' msgv1 = ximseg-matnr msgv2 = ximseg-werks msgv3 = ximseg-lifnr txtnr = '157' zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = xemseg-msgid msgty = xemseg-msgty msgv1 = xemseg-msgv1 msgv2 = xemseg-msgv2 msgv3 = xemseg-msgv3 msgv4 = xemseg-msgv4 txtnr = xemseg-msgno zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' "anzahl gebuchte positionen EXPORTING arbgb = 'ME' msgty = 'I' msgv1 = count txtnr = '151' zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = emkpf-msgid msgty = emkpf-msgty msgv1 = emkpf-msgv1 msgv2 = emkpf-msgv2 msgv3 = emkpf-msgv3 msgv4 = emkpf-msgv4 txtnr = emkpf-msgno zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' "anzahl gebuchte positionen EXPORTING arbgb = 'ME' msgty = 'I' msgv1 = '0' txtnr = '151' zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = xvbfs-msgid msgty = xvbfs-msgty msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 txtnr = xvbfs-msgno zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = xvbfs-msgid msgty = xvbfs-msgty msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 txtnr = xvbfs-msgno zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'ME' msgty = 'I' msgv1 = xkomdlgn-matnr msgv2 = xkomdlgn-werks msgv3 = xkomdlgn-lifnr txtnr = '157' zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = xvbfs-msgid msgty = xvbfs-msgty msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 txtnr = xvbfs-msgno zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'VL' msgty = 'I' msgv1 = text-006 msgv2 = xvbls-vbeln_lif msgv3 = space msgv4 = space txtnr = '311' zeile = count1 EXCEPTIONS message_type_not_valid = 1 not_active = 2.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'VL' msgty = 'I' msgv1 = count msgv2 = text-006 msgv3 = space msgv4 = space txtnr = '311' EXCEPTIONS message_type_not_valid = 1 not_active = 2.
UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = lbbes-matnr meinh = lbbes-waame meins = lbbes-erfme mglme = obdmng IMPORTING o_mgame = ximseg-erfmg EXCEPTIONS OTHERS = 01.
CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = lbbes-matnr meinh = ximseg-erfme meins = lbbes-erfme mgame = ximseg-erfmg IMPORTING o_mglme = ximseg-erfmg EXCEPTIONS OTHERS = 01.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-gut.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-gur.
UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = lbbes-matnr meinh = xvbls-vrkme meins = lbbes-erfme mgame = xvbls-lfimg IMPORTING o_mglme = h_mglme.
MB_CHANGE_RESERVATION CALL FUNCTION 'MB_CHANGE_RESERVATION' EXPORTING change_resb = 'X' change_rkpf = ' ' new_resb = ' ' TABLES * dis = xresb = zresb.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-guv.
RV_DELIVERY_VIEW_2 CALL FUNCTION 'RV_DELIVERY_VIEW_2' EXPORTING licom = xlicom TABLES llimtv = xlimtv * lseltab = lt_lips = xlips "n_936198 EXCEPTIONS OTHERS = 1.
UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = lbbes-matnr meinh = xlimtv-vrkme meins = lbbes-erfme mgame = xlimtv-lfimg IMPORTING o_mglme = xelem-menge EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-gus.
MB_CHANGE_RESERVATION CALL FUNCTION 'MB_CHANGE_RESERVATION' EXPORTING change_resb = 'X' change_rkpf = ' ' new_resb = ' ' TABLES * dis = xresb = uresb * xresbn = * xreul = * xreuld = * xreuln = * xrkpf = zresb = zresb.
UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = imseg-matnr meinh = imseg-erfme meins = save_erfme mglme = imseg-erfmg.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-gul.
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' "452211 IMPORTING kzdch = batch_level EXCEPTIONS OTHERS = 04.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = iimseg-matnr meinh = imseg-erfme meins = iimseg-erfme mglme = ximseg-erfmg IMPORTING o_mgame = ximseg-erfmg EXCEPTIONS OTHERS = 1.
MB_CREATE_GOODS_MOVEMENT CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT' EXPORTING imkpf = imkpf xallp = space xallr = 'X' IMPORTING emkpf = emkpf e_lvs_tafkz = lvs_tafkz TABLES emseg = xemseg imseg = ximseg.
MB_POST_GOODS_MOVEMENT CALL FUNCTION 'MB_POST_GOODS_MOVEMENT' EXCEPTIONS OTHERS = 0.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-001 show_linno = space i_use_grid = g_alv_sw EXCEPTIONS inconsistent_range = 1 no_messages = 2.
UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING matnr = lbbes-matnr meinh = ximseg-erfme meins = lbbes-erfme mgame = ximseg-erfmg IMPORTING o_mglme = h_mglme.
help_object_show * call function 'help_object_show' * exporting * dokclass = 'de' * dokname = 'me2o_baugr' * tables * links = lines * exceptions * others = 1.
WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = lbbes-lifnr IMPORTING po_lfa1 = lfa1 EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-guk.
MCV_TVLK_READ CALL FUNCTION 'MCV_TVLK_READ' EXPORTING i_lfart = lf_tvloz_lfart TABLES t_tvlk = lt_tvlk EXCEPTIONS not_found = 1 OTHERS = 2.
MCV_TVAK_READ CALL FUNCTION 'MCV_TVAK_READ' EXPORTING i_auart = ls_tvlk-daart TABLES t_tvak = lt_tvak EXCEPTIONS not_found = 1 OTHERS = 2.
VERSANDSTELLE_ERMITTELN CALL FUNCTION 'VERSANDSTELLE_ERMITTELN' EXPORTING ladgr = is_marc-ladgr lgort = space vsbed = ls_tvak-vsbed vstel_i = space werks = lf_werks IMPORTING * e_tvst = vstel = ef_vstel EXCEPTIONS fehler_bei_lesen_tvst = 1 fehler_bei_lesen_tvstz = 2 vstel_nicht_erlaubt = 3 OTHERS = 4.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_pf_status_set = 'ALV_SET_PF_STATUS' i_callback_user_command = 'ALV_USER_COMMAND' is_layout = ls_layout i_grid_title = l_grid_title it_fieldcat = lt_fieldcat i_default = 'X' i_save = 'A' is_variant = ls_variant IMPORTING e_exit_caused_by_caller = l_exit_caused_by_caller es_exit_caused_by_user = ls_exit_caused_by_user TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.
WY_LFA1_SINGLE_READ CALL FUNCTION 'WY_LFA1_SINGLE_READ' EXPORTING pi_lifnr = lbbes-lifnr IMPORTING po_lfa1 = lfa1 EXCEPTIONS OTHERS = 1.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = l_icon_name info = l_info IMPORTING RESULT = l_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = l_icon_name info = l_info IMPORTING RESULT = l_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_structure_name = 'MERE_OUTTAB_ME2O' CHANGING ct_fieldcat = cht_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = ls_outtab-ebeln i_ebelp = h_ebelp i_enjoy = 'X' i_bstyp = 'F' EXCEPTIONS OTHERS = 1.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-001 show_linno = space i_use_grid = g_alv_sw EXCEPTIONS inconsistent_range = 1 no_messages = 2.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-005 show_linno = space i_use_grid = g_alv_sw EXCEPTIONS inconsistent_range = 1 no_messages = 2.
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = ls_outtab-ebeln i_ebelp = h_ebelp i_enjoy = 'X' i_bstyp = 'F' EXCEPTIONS OTHERS = 1.
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 RM06ELLB or its description.