SAP Reports / Programs | Materials Management | Invoice Verification(MM-IV) SAP MM

MM08RFB2 SAP ABAP INCLUDE - documentation and ABAP source code







MM08RFB2 is a standard ABAP INCLUDE 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 MM08RFB2 into the relevant SAP transactions such as SE38 or SE80


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


INCLUDES used within this REPORT MM08RFB2

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:

MATERIAL_PRE_READ_MT08B CALL FUNCTION 'MATERIAL_PRE_READ_MT08B' EXPORTING kzspr = 'S' TABLES mt08b_keytab = prefetch04.

MATERIAL_PRE_READ_MT08B CALL FUNCTION 'MATERIAL_PRE_READ_MT08B' EXPORTING kzspr = 'X' TABLES mt08b_keytab = prefetch04.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING object = 'EKKO ' name = hv_tx_name " P30K144123 id = '*' language = '*' IMPORTING entries = anzahl TABLES selections = ekko_text.

ME_READ_COND_INVOICE CALL FUNCTION 'ME_READ_COND_INVOICE' EXPORTING i_budat = bm_budat i_ebeln = yvbseg-ebeln i_ebelp = yvbseg-ebelp i_lifnr = ' ' re_waers = yvbkpf-waers re_wwert = yvbkpf-wwert TABLES xek08bn = xek08bn.

ME_READ_HEADER_INVOICE CALL FUNCTION 'ME_READ_HEADER_INVOICE' EXPORTING display = anzeige ebeln = ebeln re_kursf = bkpf-kursf re_waers = bkpf-waers kurs_abw = t001-waabw IMPORTING iekko = ekko e_address = addr1_val currerr = currerr EXCEPTIONS not_found = 1 NOT_ACTIV = 2 wrong_type = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = msgid-m8 msgty = 'E' txtnr = '010' msgv1 = ebeln.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = msgid-m8 msgty = 'E' txtnr = '142' msgv1 = ebeln.

ME_READ_ITEM_INVOICE CALL FUNCTION 'ME_READ_ITEM_INVOICE' EXPORTING display = anzeige iekko = ekko ebelp = ebelp re_kursf = bkpf-kursf re_waers = bkpf-waers re_wwert = bkpf-wwert xek08r_flag = xek08r_flag lfbnr = lfbnr lfgja = lfgja lfpos = lfpos TABLES xek08rn = xek08rn xek08bn = xek08bn teksel = xeksel EXCEPTIONS not_found_any = 1 not_valid_any = 1 not_found_one = 2 not_valid_one = 3.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'W' i_msgnr = '225' i_var01 = ebeln i_var02 = xek08rn-ebelp exceptions ERROR_MESSAGE = 01.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'I' i_msgnr = '364'.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'W' i_msgnr = '090'.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'W' i_msgnr = '090'.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING textline1 = text-038 titel = text-030 IMPORTING answer = selkz TABLES t_spopli = xspopli.



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