SAP Reports / Programs

GRBMAT_2 SAP ABAP Report - Demo Program: Pushbutton Graphics / 2







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


Text pool values


Title: Demo Program: Pushbutton Graphics / 2
Text Symbol: GBU = Presentation graphics
Text Symbol: GST = Statistics Graphics
Text Symbol: J01 = Previous year:
Text Symbol: J02 = Current year:
Text Symbol: J03 = Next year:
Text Symbol: KEN = Ratio 1
Text Symbol: LOG = (logarithmic)
Text Symbol: MEN = Menu
Text Symbol: S00 = Name
Text Symbol: S01 = Column 1
Text Symbol: S02 = Column 2
Text Symbol: S03 = Column 3
Text Symbol: S04 = Column 4
Text Symbol: SXX = Columns
Text Symbol: Z01 = Line 1
Text Symbol: Z02 = Line 2
Text Symbol: Z03 = Subtotal
Text Symbol: Z04 = Line 4
Text Symbol: Z05 = Total
Text Symbol: ZXX = Lines


INCLUDES used within this REPORT GRBMAT_2

No INCLUDES are used within this REPORT code!


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:

GRAPH_BUTTON_MENUE CALL FUNCTION 'GRAPH_BUTTON_MENUE' " Button Graphik EXPORTING TTEXT = SY-TITLE CTXT1 = TEXT-S00 CTXT2 = TEXT-S01 CTXT3 = TEXT-S02 CTXT4 = TEXT-S03 CTXT5 = TEXT-S04 VTXT1 = TEXT-KEN VALD1 = 1 VAL11 = 10 VAL12 = 30 VAL13 = 40 VAL14 = 50 COL11 = 'CYAN' COL12 = 'GRAY' COL13 = 'YELLOW' COL14 = 'GRAY' COL15 = 'RED' STAT = BMAT_STAT MTITL = TEXT-MEN SUPER = 'X' IMPORTING ROWNR = NROW COLNR = NCOL RWNID = WINID MROWN = MENROW MCOLN = MENCOL M_TYP = M_TYP RBUFF = RBUF TABLES DATA = MATRIX MENU = MENUE ATTR = ATTR SIZE = SIZE.

GRAPH_3D CALL FUNCTION 'GRAPH_3D' EXPORTING TITL = TEXT DIM1 = TEXT-SXX DIM2 = TEXT-ZXX STAT = BUSG_STAT MAIL_ALLOW = 'X' TABLES DATA = MATRIX.

GRAPH_MATRIX_2D CALL FUNCTION 'GRAPH_MATRIX_2D' EXPORTING TITL = TCOL NCOL = NCOL STAT = BUSG_STAT TABLES DATA = MATRIX OPTS = OPTS TCOL = TCOL.

GRAPH_MATRIX_2D CALL FUNCTION 'GRAPH_MATRIX_2D' EXPORTING TITL = MATRIX-COL1 NROW = NROW STAT = BUSG_STAT TABLES DATA = MATRIX OPTS = OPTS TCOL = TCOL.

STAT_GRAPH CALL FUNCTION 'STAT_GRAPH' EXPORTING TTEXT = TEXT STAT = STAT_STAT Y_ART = STAT_ART TABLES OPTS = OPTS DATA = SDATA.

STAT_GRAPH CALL FUNCTION 'STAT_GRAPH' EXPORTING TTEXT = TCOL STAT = STAT_STAT Y_ART = STAT_ART TABLES OPTS = OPTS DATA = SDATA.

STAT_GRAPH CALL FUNCTION 'STAT_GRAPH' EXPORTING TTEXT = MATRIX-COL1 STAT = STAT_STAT Y_ART = STAT_ART TABLES OPTS = OPTS DATA = SDATA.



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