SAP Reports / Programs

RVSAIN00 SAP ABAP Report - documentation and ABAP source code







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


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


Text pool values


Text Symbol: 001 = Everything OK


INCLUDES used within this REPORT RVSAIN00

INCLUDE SDZAVDAT.
INCLUDE LV09AZAV.


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:

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'.



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