‎2008 Jul 07 1:38 PM
hi,
What are the presentation type values available for pie chart in the function module "GFW_PRES_SHOW_MULT".
CALL FUNCTION 'GFW_PRES_SHOW_MULT'
EXPORTING
CONTAINER =
TOP =
LEFT =
HEIGHT =
WIDTH =
*presentationtype =*_
HEADER =
ORIENTATION = 1
SHOW = GFW_TRUE
thanks,
Edited by: chandrika on Jul 7, 2008 2:41 PM
‎2008 Jul 07 1:55 PM
Hi Chandrika,
For the presentation type parameter You can have line, points, columns, pies . The contents of the constants may change in the future.
For more information try going to the function module documentation of the function module. This button Function Module Documentation is available on the application toolbar of the function module 'GFW_PRES_SHOW_MULT'.
Regards,
Swapna.
Edited by: NagaSwapna Thota on Jul 7, 2008 2:55 PM
‎2008 Jul 07 1:50 PM
Hi Chandrika,
Check below documentation.
U can pass one of these as per ur requirement. Include TYPE-POOL GFW in ur report and pass one of the parameters mentioned below. Check that type pool in SE11.
Chart type
Description
Chart type = how all the data series are displayed (line, points, columns, pies, ..).
You have to use the appropriate constants that are defined in the GFW type pool:
GFW_PRESTYPE_LINES
GFW_PRESTYPE_AREA
GFW_PRESTYPE_HORIZONTAL_BARS
GFW_PRESTYPE_PIE_CHART
GFW_PRESTYPE_VERTICAL_BARS
GFW_PRESTYPE_TIME_AXIS (line chart with X-time axis)
Note: Time values must be specified in the format YYYYMMDDhhmmss!
The contents of the constants may change in the future!
Please note that a graphics product may not support a specific display. In this case you have to change the priorities in product management or select another type of display.
Thanks,
Vinod.
‎2008 Jul 07 1:55 PM
Hi Chandrika,
For the presentation type parameter You can have line, points, columns, pies . The contents of the constants may change in the future.
For more information try going to the function module documentation of the function module. This button Function Module Documentation is available on the application toolbar of the function module 'GFW_PRES_SHOW_MULT'.
Regards,
Swapna.
Edited by: NagaSwapna Thota on Jul 7, 2008 2:55 PM
‎2008 Jul 07 2:02 PM
hi,
Check out the below related thread for usage
http://membres.lycos.fr/benjaminroger/pg_sap/abap/programme_demo/PROGRAMME_demo.XLS
Regards,
Santosh
‎2008 Jul 07 2:04 PM
hi,
Check out the below sample programs
DEMO_GFW_PRES_SHOW
DEMO_GFW_PRES_SHOW_MULT
Regards,
Santosh
‎2008 Jul 07 3:12 PM
Hi Chandrika,
You can enter values according to your specifications:
CALL FUNCTION 'GFW_PRES_SHOW_MULT'
EXPORTING
CONTAINER = -------
TOP =
LEFT =
HEIGHT =
WIDTH =
presentation_type = GFW_PRESTYPE_PIE_CHART
* HEADER =
* ORIENTATION = 1
* SHOW = GFW_TRUE
* PARENT =
* X_AXIS_TITLE =
* Y_AXIS_TITLE =
* FORMAT =
* IMPORTING
* RETVAL =
* CONTENT_TYPE =
* CONTENT_LENGTH =
TABLES
values = -----
column_texts = -----
* ROW_LABELS =
* COLUMN_LABELS =
* CONTENT =
* EXCEPTIONS
* ERROR_OCCURRED = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.In the presentation_type field enter the value as suggested above. Without any quotes.
Reward points if you find this information usefull.
Regards
Harsh
‎2008 Nov 08 9:59 AM