‎2008 Jul 07 2:27 PM
Hi,
I'm getting the following error when i'm trying to display a 3D graph which has nearly 45 fields...
Table DIM2 line 17, Row 43, value 'KM' E027: Dimension too large
Messagequeue overflow, see exception trace 'dev_w_ex_trc'..
Can anbody help me out.... in solving this problem???
Thanx in advance....
Regards.
‎2008 Jul 08 10:52 AM
Hi Iyswarya Godi,
have a look on PDF... might it help u out...
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESGRA/BCFESGRA.pdf
See the simple example below...
DATA: BEGIN OF itab_data OCCURS 0,
dataname(15),
quantity1 TYPE i,
quantity2 TYPE i,
quantity3 TYPE i,
END OF itab_data.
**************************************************************************
DATA:BEGIN OF itab_options OCCURS 0,
option(20),
END OF itab_options.
***************************************************************************
itab_data-dataname = 'Electricity'.
itab_data-quantity1 = 55.
itab_data-quantity2 = 62.
itab_data-quantity3 = 59.
APPEND itab_data.
itab_data-dataname = 'Gas'.
itab_data-quantity1 = 35.
itab_data-quantity2 = 52.
itab_data-quantity3 = 44.
APPEND itab_data.
itab_data-dataname = 'Water'.
itab_data-quantity1 = 18.
itab_data-quantity2 = 22.
itab_data-quantity3 = 40.
APPEND itab_data.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
col1 = 'Jan'
col2 = 'Feb'
col3 = 'Mar'
titl = 'Utility Expenses in US$.'
TABLES
data = itab_data
opts = itAb_options
EXCEPTIONS
OTHERS = 1.Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
‎2008 Jul 07 2:58 PM
Hello
Call ..
exporting
...
WINSZX = '70'
WINSZY = '70'
P.S. 70 - for example
‎2008 Jul 08 7:27 AM
Hi,
Can you pl... give me an example to display a graph with 20 fields?? using the same function module?
Thnx.
‎2008 Jul 08 7:32 AM
‎2008 Jul 08 7:47 AM
Hi Iyswarya Godi,
GRBUSG_2 Demo Program: SAP Business Graphics 3D
GRBUSG_4 Demo Program : Presentation Graphics 2D - 3D - 4D
See the Standard Report for graphics,
REKH0004 --> SAP demo program that shows how to do 2D, 3D, and 4D graphics.
also c the transaction GRAL
and program RGRAPALL
BCGRBU99
RLS10040
See some infromation about this FM
The DATA table provides the function module with the data for the graph. Each row in the table has the following fields:
Data text: a label for this row of data values in the graph. This field is a character string of any length.
Any number of data values: the numeric values to be represented in the graph. These fields can be of type P or F.
For example
DATA: BEGIN OF gt_data occurs 0,
DATANAME(15),
QUANTITY1 TYPE I,
QUANTITY2 TYPE I,
QUANTITY3 TYPE I,
END OF gt_data.
Options table
This parameter contains a table of display options. Setting the OPTS parameter allows the ABAP program to determine the appearance of the generated graph. You can set any display option available to the online user in the SAP Business Graphics menus.
Setting options in this table only determines the initial appearance of the display. The online user is still free to reset these options once the display appears on the monitor screen.
Each element in the OPTS table is a string with the format:
OptionKey = Value
for example
BEGIN OF gt_options OCCURS 0,
OPTION(20),
END OF gt_options.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
‎2008 Jul 08 10:52 AM
Hi Iyswarya Godi,
have a look on PDF... might it help u out...
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESGRA/BCFESGRA.pdf
See the simple example below...
DATA: BEGIN OF itab_data OCCURS 0,
dataname(15),
quantity1 TYPE i,
quantity2 TYPE i,
quantity3 TYPE i,
END OF itab_data.
**************************************************************************
DATA:BEGIN OF itab_options OCCURS 0,
option(20),
END OF itab_options.
***************************************************************************
itab_data-dataname = 'Electricity'.
itab_data-quantity1 = 55.
itab_data-quantity2 = 62.
itab_data-quantity3 = 59.
APPEND itab_data.
itab_data-dataname = 'Gas'.
itab_data-quantity1 = 35.
itab_data-quantity2 = 52.
itab_data-quantity3 = 44.
APPEND itab_data.
itab_data-dataname = 'Water'.
itab_data-quantity1 = 18.
itab_data-quantity2 = 22.
itab_data-quantity3 = 40.
APPEND itab_data.
CALL FUNCTION 'GRAPH_MATRIX_3D'
EXPORTING
col1 = 'Jan'
col2 = 'Feb'
col3 = 'Mar'
titl = 'Utility Expenses in US$.'
TABLES
data = itab_data
opts = itAb_options
EXCEPTIONS
OTHERS = 1.Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
‎2016 Feb 23 10:15 PM
‎2009 Sep 09 10:34 AM
Hi,
in the function module documentation mentioned that it handle only 32 entries. thats the cause of your error.
if you want to display all entries , make a temp internalt able and pass 32 entries each time and call graph.
If your doubt is cleared please close the thread.