RVINVB00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used to transfer sales documents from external systems into the SAP system...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 RVINVB00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OV/6 - RV Transfer Program
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.
Log of sales document transfer to R/3 SD
Selection Text: DS_ERROR = File path for error data issue
Selection Text: DS_NAME = File path for entry data
Selection Text: TEST_ON = Test run without update
Title: Transfer sales documents to SD
Text Symbol: 001 = Table name not allowed:
Text Symbol: 002 = Data:
Text Symbol: 003 = Item is missing before schedule line
Text Symbol: 004 = Start of processing
Text Symbol: 005 = Document saved - New document no:
Text Symbol: 006 = *** Data from this document has not been saved ***
Text Symbol: 007 = File path name................
Text Symbol: 008 = Number of header records......
Text Symbol: 009 = Number of partner records.....
Text Symbol: 010 = Number of item records........
Text Symbol: 011 = Number of saved documents.....
Text Symbol: 012 = Number of incorrect documents.
Text Symbol: 013 = The transferred number contains non-numeric characters:
Text Symbol: 020 = Test run w/o updating data base
001 Old document/item number Note
INCLUDE NVB00O0D.
INCLUDE NVB00I0S.
INCLUDE RVDIREKT.
No SAP DATABASE tables are accessed within this REPORT code!
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = ds_name EXCEPTIONS OTHERS = 1.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename_err CHANGING physical_filename = ds_error EXCEPTIONS OTHERS = 1.
SD_SALES_DOCUMENT_INIT CALL FUNCTION 'SD_SALES_DOCUMENT_INIT'.
DIALOG_SET_NO_DIALOG CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
SD_SALES_HEADER_MAINTAIN CALL FUNCTION 'SD_SALES_HEADER_MAINTAIN' EXPORTING FVBAKKOM = VBAKKOM TABLES FXVBPAKOM = PARTNER EXCEPTIONS ERROR_MESSAGE = 01.
SD_SALES_DOCUMENT_PERFORM CALL FUNCTION 'SD_SALES_DOCUMENT_PERFORM' EXPORTING IN_PROGRAM = 'SAPFV45K' PERFORM = 'VBAK_BEARBEITEN_VORBEREITEN' EXCEPTIONS NOT_ACTIVE = 1 OTHERS = 2.
DIALOG_SET_WITH_DIALOG CALL FUNCTION 'DIALOG_SET_WITH_DIALOG'.
SD_SALES_DOCUMENT_SAVE CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE' EXPORTING SYNCHRON = 'X' IMPORTING EVBAK = VBAK EXCEPTIONS ERROR_MESSAGE = 01.
SD_MATERIAL_READ_PRESTEP CALL FUNCTION 'SD_MATERIAL_READ_PRESTEP' TABLES FMATKEY = MATKEY.
SD_SALES_ITEM_READ CALL FUNCTION 'SD_SALES_ITEM_READ' EXPORTING ITEM_NUMBER = VBAPKOM-POSNR IMPORTING EVBAP = DA_VBAP EXCEPTIONS ITEM_NUMBER_MISSING = 1.
SD_SALES_ITEM_MAINTAIN CALL FUNCTION 'SD_SALES_ITEM_MAINTAIN' EXPORTING FVBAPKOM = VBAPKOM FVBEPKOM = VBEPKOM IMPORTING EVBAP = VBAP TABLES FXVBPAKOM = PARTNER EXCEPTIONS ERROR_MESSAGE = 01.
SD_SALES_SCHEDULE_MAINTAIN CALL FUNCTION 'SD_SALES_SCHEDULE_MAINTAIN' EXPORTING FVBEPKOM = VBEPKOM EXCEPTIONS ERROR_MESSAGE = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.