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

MM08RFP0 SAP ABAP INCLUDE - documentation and ABAP source code







MM08RFP0 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 MM08RFP0 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 MM08RFP0. "Basic submit
SUBMIT MM08RFP0 AND RETURN. "Return to original report after report execution complete
SUBMIT MM08RFP0 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 MM08RFP0

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:

G_CHCK_GSBER_KONS CALL FUNCTION 'G_CHCK_GSBER_KONS' EXCEPTIONS not_found = 01.

MR_CHECK_TOLERANCE CALL FUNCTION 'MR_CHECK_TOLERANCE' EXPORTING aktueller_wert = betragf_p buchungskreis = bkpf-bukrs toleranz_schluessel = pwp_tolsl vergleichswert = betragv_p waehrung = bkpf-waers wertstellung = bkpf-wwert kurs = bkpf-kursf hswaers = t001-waers IMPORTING betrag = betrag prozente = prozent returncode = rc sperrgrund = bseg-spgrp.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'W' i_msgnr = '082' i_var01 = betragc i_var02 = bkpf-waers.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'W' i_msgnr = '083' i_var01 = prozent.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'W' i_msgnr = '084' i_var01 = betragc i_var02 = bkpf-waers.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'M8' i_dtype = 'W' i_msgnr = '085' i_var01 = prozent.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = msgid-m8 msgty = 'E' txtnr = '074'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = msgid-m8 msgty = 'E' txtnr = '196' msgv1 = p01_ebeln msgv2 = p01_ebelp.

MR_CHECK_TOLERANCE CALL FUNCTION 'MR_CHECK_TOLERANCE' EXPORTING aktueller_wert = betragf_p buchungskreis = bkpf-bukrs toleranz_schluessel = tolsl vergleichswert = betragv_p waehrung = bkpf-waers wertstellung = bkpf-wwert kurs = bkpf-kursf hswaers = t001-waers IMPORTING betrag = betrag prozente = prozent returncode = rc sperrgrund = p01_spgrm.

ME_STATISTICS_IR_RKO CALL FUNCTION 'ME_STATISTICS_IR_RKO' EXPORTING i_complete = f_complete TABLES t_pre_ekbe = tab_ekbe t_pre_ekbz = tab_ekbz t_vekpo = tab_vekpo.

FI_DOC_TO_ACC_TRANSFORM CALL FUNCTION 'FI_DOC_TO_ACC_TRANSFORM' EXPORTING x_hwae1 = c_hwae_x TABLES t_bkpf = i_xbkpf t_bseg = tab_bseg t_acchd = tab_acchd t_accit = tab_accit t_acccr = tab_acccr EXCEPTIONS system_error = 1 OTHERS = 2.

AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' TABLES t_acchd = tab_acchd t_accit = tab_accit t_acccr = tab_acccr EXCEPTIONS error_message = 8.

AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING i_awtyp = i_xbkpf-awtyp i_awref = i_xbkpf-awkey(10) i_aworg = i_xbkpf-awkey+10(10) i_awsys = i_xbkpf-awsys.



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