SAP Reports / Programs

REAVAR01 SAP ABAP Report - List of Variants







REAVAR01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for List of variants This report enables you to select and display variants according to various selection criteria...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 REAVAR01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

EA99 - Eval. of Variants


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


Text pool values


List of Variants
Selection Text: XVCTXT = Text for variant control
Selection Text: XVARTYP = Variant category
Selection Text: XVARBEZ = Text for variant description
Selection Text: XTIMRL = Time portion is relevant
Selection Text: XSCHZUL = Rate permissibility
Selection Text: XPROG = Variant program
Selection Text: XPRO2 = No proration
Selection Text: XPRO1 = Suppress change date
Selection Text: XPDATE = Date transfer
Selection Text: XOUTTYP = Update type
Selection Text: XOPTIND = Optional
Selection Text: XNO_OUT = Number of output operands
Selection Text: XNO_IN = Number of input operands
Selection Text: XNEXTR = Not for extrapolation
Selection Text: XMEAS = Check unit of measurement
Selection Text: XHIST = Complete history
Selection Text: XEOPTYP3 = Input operand category
Selection Text: XEOPTYP2 = Input operand category
Selection Text: XEOPTYP1 = Input operand category
Selection Text: XDOCTXT = Variant documentation text
Selection Text: XDISCRL = Disconnection period
Selection Text: XCODE = Code
Selection Text: XBRELRZ = Bill.line item rel. to posting
Selection Text: XBLZART = Type of Document Line Item
Selection Text: XARTMEN = Type of billed quantity
Selection Text: XAOPTYP2 = Output operand category
Selection Text: XAOPTYP = Output operand category
Selection Text: WITH_OP = Display operand categories
Title: List of Variants
Text Symbol: T12 = General data
Text Symbol: T11 = Output operands
Text Symbol: T10 = Input operands
Text Symbol: T01 = No variants found for selection parameters
Text Symbol: H04 = Description of variant
Text Symbol: H03 = Output operands
Text Symbol: H02 = Input operands
Text Symbol: H01 = Variant





Text Symbol: 007 = Display Function Builder
Text Symbol: 006 = Display Documentation
Text Symbol: 005 = Short text not available in logon language
Text Symbol: 004 = Function module is not yet available
Text Symbol: 003 = None


INCLUDES used within this REPORT REAVAR01

INCLUDE IEOKCODE.
INCLUDE IEANUMOP.


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:

ISU_DB_VARIANT_SELECT_F4 CALL FUNCTION 'ISU_DB_VARIANT_SELECT_F4' IMPORTING y_ivardata = ivardata TABLES iselopt = iselopt if4_variant = if4_variant EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_information info = text-006 add_stdinf = 'X' IMPORTING RESULT = wprog-icon_info EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_abap info = text-007 add_stdinf = 'X' IMPORTING RESULT = wprog-icon_abap EXCEPTIONS OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = p_grid-struc_name CHANGING ct_fieldcat = p_grid-ifieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = p_obj-grid-callback_program i_callback_user_command = p_obj-grid-callback_user_comm i_structure_name = p_obj-grid-struc_name is_layout = p_obj-grid-layout it_fieldcat = p_obj-grid-ifieldcat it_excluding = p_obj-grid-iexcluding it_event_exit = p_obj-grid-ievent_exit TABLES t_outtab = p_obj-iprog EXCEPTIONS program_error = 1 OTHERS = 2.

ISU_S_VARIANT_DISPLAY CALL FUNCTION 'ISU_S_VARIANT_DISPLAY' EXPORTING x_programm = wprog-programm x_upd_online = 'X' IMPORTING y_exit_type = exit_type.

ISU_SET_FUNCNAME_VARIANT CALL FUNCTION 'ISU_SET_FUNCNAME_VARIANT' CHANGING xy_funcname_60 = doc_object EXCEPTIONS OTHERS = 1.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING displ = 'X' displ_mode = '2' id = 'FU' langu = sy-langu object = doc_object EXCEPTIONS OTHERS = 1.

ISU_SET_FUNCNAME_VARIANT CALL FUNCTION 'ISU_SET_FUNCNAME_VARIANT' CHANGING xy_funcname = funcname EXCEPTIONS OTHERS = 1.

EDITOR_PROGRAM CALL FUNCTION 'EDITOR_PROGRAM' EXPORTING appid = 'FB' display = 'X' fbname = funcname program = l_header_fb-include.



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