SAP Reports / Programs | Cross-Application Components(CA) SAP CA

RASUVAR2 SAP ABAP Report - documentation and ABAP source code







RASUVAR2 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 RASUVAR2 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 RASUVAR2. "Basic submit
SUBMIT RASUVAR2 AND RETURN. "Return to original report after report execution complete
SUBMIT RASUVAR2 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 = Report has syntax error:
Text Symbol: 002 = Nothing stored for report/parameter:
Text Symbol: 003 = Parameter stored with error:
Text Symbol: 004 = Error during restore:
Text Symbol: 005 = Parameter was restored:
Text Symbol: 006 = Variant could not be stored:
Text Symbol: 007 = Error during processing of report/variant:
Text Symbol: 008 = Restore was done:
Text Symbol: 009 = Error during processing of report:
Text Symbol: 010 = Report/variant is correct - nothing changed:


INCLUDES used within this REPORT RASUVAR2

INCLUDE RSUGSINC.


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:

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING l_level = l_level l_severity = severity l_msag = ag l_msgnr = msgnr l_v1 = l_var1 l_v2 = l_var2 l_v3 = l_var3 l_v4 = l_var4 TABLES p_tab = gt_protocol.

STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = lc_acttype filename = gv_logfile subdir = gc_subprot IMPORTING file = gv_protfile EXCEPTIONS wrong_call = 1 OTHERS = 2.

SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = gc_acttype ifname = gv_protfile IMPORTING efname = gv_protfile TABLES p_tab = gt_protocol EXCEPTIONS write_failed = 01 OTHERS = 02.

UPG_GET_UPGRADE_INFO CALL FUNCTION 'UPG_GET_UPGRADE_INFO' EXPORTING iv_component = '*' "lv_component iv_newrelease = ' ' iv_upgtype = '*' iv_readmode = gc_readmode_last * iv_comp_select = 'A' iv_buffered = ' ' IMPORTING ev_upgcnt = lv_nactup TABLES tt_upginfo = lt_uvers EXCEPTIONS readmode_unknown = 1 component_not_active = 2 ambigious_entries = 3 no_upgrade_active = 4 OTHERS = 5.

FASU_HANDLE_VARIANTS_RFC CALL FUNCTION 'FASU_HANDLE_VARIANTS_RFC' STARTING NEW TASK 'ASU' DESTINATION 'NONE' PERFORMING return_handle ON END OF TASK EXPORTING is_report = TABLES ct_protocol = gt_protocol[] EXCEPTIONS OTHERS = 4.

RS_SYNTAX_CHECK CALL FUNCTION 'RS_SYNTAX_CHECK' EXPORTING i_program = -report IMPORTING o_error_subrc = l_subrc TABLES i_source = lt_source.

FASU_HANDLE_1_VARIANT_RFC CALL FUNCTION 'FASU_HANDLE_1_VARIANT_RFC' STARTING NEW TASK 'ASU2' DESTINATION 'NONE' PERFORMING return_handle_var ON END OF TASK EXPORTING is_report = is_report is_varid = ls_varid TABLES ct_protocol = gt_protocol[] it_selc = lt_selc it_sscr = lt_sscr EXCEPTIONS OTHERS = 4.

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