RM08RL82 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for A purchasing document is suggested in the F4 possible entries help only when the following apply to at least one of the items in it: the item meets the selection criteria the "goods receipt" indicator is set for the item the "invoice receipt" indicator is set for the item if the "invoice expected" indicator is flagged, the item must contain a delivered quantity that is greater than the settled quantity the purchasing document is either a purchase order or a scheduling agreement the purchasing document has been released Entering the following information makes selection faster: date of purchasing document purchasing document number Each additional piece of information can speed up selection...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 RM08RL82 into the relevant SAP transactions such as SE38 or SE80
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: SO_WERKS = D .
Selection Text: SO_MATNR = D .
Selection Text: SO_IDNLF = D .
Selection Text: SO_EDCFL = D .
Selection Text: SO_BEDAT = D .
Selection Text: PA_XRERW = D .
Selection Text: PA_XLIFP = D .
Selection Text: PA_XGERW = D .
Selection Text: PA_XBEST = D .
Selection Text: PA_BUKRS = D .
Selection Text: SO_LIFNR = Vendor
Selection Text: SO_EBELN = Document Number
Selection Text: PA_XLIFR = Different Inv. Party Too
Selection Text: PA_LIFRE = Invoicing Party
Selection Text: PA_DCSYS = D .
Title: Possible Entries for Purchasing Document
Text Symbol: 301 = Other Selections
Text Symbol: 300 = Selections for the Purchasing Document
Text Symbol: 200 = (& selected)
Text Symbol: 110 = Reading item data: &1 of &2 documents ...
Text Symbol: 100 = Reading header data: & documents ...
Text Symbol: 055 = to continue?
Text Symbol: 054 = Do you want the selection run
Text Symbol: 052 = &1 minute(s) and &2 second(s)
Text Symbol: 051 = Time Elapsed Since Selection Start:
Text Symbol: 050 = Selection of Purchasing Documents
Text Symbol: 017 = Purch. Doc.
Text Symbol: 016 = PO Date
Text Symbol: 015 = Order Type
Text Symbol: 014 = UoM
Text Symbol: 013 = Open Quantity
Text Symbol: 012 = R
Text Symbol: 011 = Material
Text Symbol: 010 = ItmNo
Text Symbol: 009 = Inv. Party
Text Symbol: 008 = Open Amount
Text Symbol: 007 = Vendor
Text Symbol: 006 = Crcy
INCLUDE: MRM_CONST_COMMON,
MRM_CONST_ME.
No SAP DATABASE tables are accessed within this REPORT code!
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ls_ekbe-budat foreign_amount = ls_ekbe-wrbtr foreign_currency = ls_ekbe-waers local_currency = ls_ekko-waers IMPORTING local_amount = l_re_wrbtr_be.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = ls_ekbe-budat foreign_amount = ls_ekbe-dmbtr foreign_currency = ls_ekbe-hswae local_currency = ls_ekko-waers IMPORTING local_amount = l_re_wrbtr_be.
MRM_DBTAB_T161T_READ CALL FUNCTION 'MRM_DBTAB_T161T_READ' EXPORTING i_spras = sy-langu i_bstyp = ls_ekko-bstyp i_bsart = ls_ekko-bsart IMPORTING e_t161t = ls_t161t EXCEPTIONS entry_not_found = 1.
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "#EC FB_OLDED EXPORTING titel = text-050 diagnosetext1 = text-051 diagnosetext2 = text * diagnosetext3 = textline1 = text-054 textline2 = text-055 * start_column = 25 * start_row = 6 defaultoption = 'N' IMPORTING answer = antw.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 0 text = text EXCEPTIONS OTHERS = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = prozent text = text.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = c_repid i_callback_pf_status_set = c_pf_status_set i_callback_user_command = c_user_command is_layout = s_layout it_fieldcat = tab_fieldcat[] it_excluding = tab_extab[] * IT_SPECIAL_GROUPS = GT_SP_GROUP[] * IT_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 = g_default i_save = 'A' is_variant = s_variant it_events = tab_events[] * IT_EVENT_EXIT = i_tabname_header = tabname_header i_tabname_item = tabname_item is_keyinfo = s_keyinfo * IS_PRINT = i_buffer_active = ' ' i_bypassing_buffer = 'X' IMPORTING e_exit_caused_by_caller = l_exit TABLES t_outtab_header = t_pohdr t_outtab_item = t_poitem.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = i_internal_tabname = tabname_header i_structure_name = c_alv_hdr_struc_name * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fieldcat[].
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = i_internal_tabname = tabname_item i_structure_name = c_alv_pos_struc_name * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = t_fieldcat[].
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = t_events.
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = s_variant EXCEPTIONS not_found = 2.
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = s_po_hdr-ebeln i_enjoy = 'X'.
ME_DISPLAY_PURCHASE_DOCUMENT CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT' EXPORTING i_ebeln = s_po_item-ebeln i_ebelp = s_po_item-ebelp i_enjoy = 'X'.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * i_internal_tabname = 'DCFLS_RM08RL82' i_structure_name = 'DCFLS_RM08RL82' i_internal_tabname = tabname_header * i_structure_name = c_alv_hdr_struc_name * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING ct_fieldcat = lt_fieldcat .
ML_INVOICING_SCHEDULE_READ CALL FUNCTION 'ML_INVOICING_SCHEDULE_READ' EXPORTING fplnr_imp = ls_ekpo-fplnr TABLES xfplt = lt_fplt EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM08RL82 - Possible Entries for Purchasing Document RM08RL82 - Possible Entries for Purchasing Document RM08RL80 - Possible Entries for Delivery Note RM08RL80 - Possible Entries for Delivery Note RM08RL70 - Possible Entries: Goods Receipt Documents RM08RL70 - Possible Entries: Goods Receipt Documents