RVSAIN00 is a standard Executable ABAP Report 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 RVSAIN00 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.
Text Symbol: 001 = Everything OK
INCLUDE SDZAVDAT.
INCLUDE LV09AZAV.
No SAP DATABASE tables are accessed within this REPORT code!
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '01' OBJECT = 'ADRV' IMPORTING NUMBER = PEF_CONSNUMBER RETURNCODE = LVF_RETURNCODE_NUMBERRANGE EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 OTHERS = 7.
NUMBER_RANGE_INTERVAL_UPDATE CALL FUNCTION 'NUMBER_RANGE_INTERVAL_UPDATE' EXPORTING OBJECT = 'ADRV' IMPORTING ERROR_OCCURED = LVF_ERROR_OCCURRED TABLES ERROR_IV = LVT_INRIV_ERROR INTERVAL = LVT_INRIV EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2.
NUMBER_RANGE_UPDATE_CLOSE CALL FUNCTION 'NUMBER_RANGE_UPDATE_CLOSE' EXPORTING OBJECT = 'ADRV' EXCEPTIONS NO_CHANGES_MADE = 1 OBJECT_NOT_INITIALIZED = 2 OTHERS = 3.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '01' OBJECT = 'ADRV' IMPORTING NUMBER = PEF_CONSNUMBER RETURNCODE = LVF_RETURNCODE_NUMBERRANGE EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 OTHERS = 7.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.