Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

presentation types for pie chart

Former Member
0 Likes
967

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
863

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

6 REPLIES 6
Read only

vinod_vemuru2
Active Contributor
0 Likes
863

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.

Read only

Former Member
0 Likes
864

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

Read only

Former Member
0 Likes
863

hi,

Check out the below related thread for usage

http://membres.lycos.fr/benjaminroger/pg_sap/abap/programme_demo/PROGRAMME_demo.XLS

Regards,

Santosh

Read only

Former Member
0 Likes
863

hi,

Check out the below sample programs

DEMO_GFW_PRES_SHOW

DEMO_GFW_PRES_SHOW_MULT

Regards,

Santosh

Read only

Former Member
0 Likes
863

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

Read only

Former Member
0 Likes
863

thanks