SAP Reports / Programs | Sales and Distribution | Billing | Basic Functions(SD-BIL-GF) SAP SD

MV65AF0O SAP ABAP INCLUDE - Adjustments for Component Suppliers







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


Text pool values


Title: Adjustments for Component Suppliers


INCLUDES used within this REPORT MV65AF0O

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:

RV_INVOICE_REFRESH CALL FUNCTION 'RV_INVOICE_REFRESH' EXPORTING WITH_POSTING = ' ' TABLES XKOMFK = XKOMFK XKOMV = XKOMV XTHEAD = XTHEAD XVBFS = XVBFS XVBSS = XVBSS XVBPA = XVBPA XVBRK = XVBRK XVBRP = XVBRP.

RV_INVOICE_DOCUMENT_READ CALL FUNCTION 'RV_INVOICE_DOCUMENT_READ' EXPORTING VBRK_I = VBRK IMPORTING VBRK_E = VBRK VBUK_E = VBUK TABLES XKOMV = XKOMV XVBPA = XVBPA XVBRK = TVBRK XVBRP = TVBRP.

PRICING_COMPLETE CALL FUNCTION 'PRICING_COMPLETE' EXPORTING CALCULATION_TYPE = 'B' TABLES TKOMV = XKOMV TKOMK = TKOMK TKOMP = TKOMP.

RV_INVOICE_PRICING_PREPARE CALL FUNCTION 'RV_INVOICE_PRICING_PREPARE' EXPORTING VBRK_I = VBRK VBRP_I = VBRP IMPORTING KOMK_E = XKOMK KOMP_E = XKOMP TABLES XKOMFK = XKOMFK XVBFS = XVBFS XVBPA = XVBPA XVBRK = XVBRK XVBRP = XVBRP.

RV_DELIVERY_PRINT_VIEW CALL FUNCTION 'RV_DELIVERY_PRINT_VIEW' EXPORTING COMWA = VBCO3 IMPORTING KOPF = XVBDKL TABLES POS = XVBDPL.

RV_INVOICE_REFRESH CALL FUNCTION 'RV_INVOICE_REFRESH' TABLES XKOMFK = XKOMFK XKOMV = XKOMV XTHEAD = XTHEAD XVBFS = XVBFS XVBPA = XVBPA XVBRK = XVBRK XVBRP = XVBRP XVBSS = XVBSS.

RV_INVOICE_DOCUMENT_READ CALL FUNCTION 'RV_INVOICE_DOCUMENT_READ' EXPORTING ACTIVITY = '01' KONV_READ = 'X' NO_NAST = 'X' VBRK_I = VBRK IMPORTING VBRK_E = VBRK VBUK_E = VBUK TABLES XKOMV = XKOMV XVBPA = XVBPA XVBRK = XVBRK XVBRP = XVBRP.

RV_INVOICE_PRICING_PREPARE CALL FUNCTION 'RV_INVOICE_PRICING_PREPARE' EXPORTING VBRK_I = VBRK VBRP_I = VBRP IMPORTING KOMK_E = TKOMK KOMP_E = TKOMP TABLES XKOMFK = XKOMFK XVBFS = XVBFS XVBPA = XVBPA XVBRK = XVBRK XVBRP = XVBRP.

PRICING_COMPLETE CALL FUNCTION 'PRICING_COMPLETE' EXPORTING CALCULATION_TYPE = 'B' TABLES TKOMV = XKOMV TKOMK = TKOMK TKOMP = TKOMP.

SD_VBAK_SELECT CALL FUNCTION 'SD_VBAK_SELECT' EXPORTING I_DOCUMENT_NUMBER = REBIFORM_VBELN IMPORTING E_VBAK = VBAK EXCEPTIONS DOCUMENT_NOT_FOUND = 04.

SD_VBAP_SELECT CALL FUNCTION 'SD_VBAP_SELECT' EXPORTING I_DOCUMENT_NUMBER = REBIFORM_VBELN I_ITEM_NUMBER = REBIFORM_POSNR IMPORTING E_VBAP = VBAP E_VBAPVB = VBAPVB EXCEPTIONS ITEM_NOT_FOUND = 04.



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