Application Development 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: 

GFW_PRES_SHOW display line value

Former Member
0 Kudos

Hi ALL,

I create a report and call GFW_PRES_SHOW , but the report is not display line value.

call function 'GFW_PRES_SHOW'

exporting

container = 'CONTAINER'

presentation_type = gfw_prestype_lines

  • PRESENTATION_TYPE = GFW_PRESTYPE_PIE_CHART

  • orientation = gfw_orient_columns

tables

values = values

column_texts = column_texts

exceptions

error_occurred = 1

others = 2.

2 REPLIES 2

gabriel_braun
Explorer
0 Kudos

Hi

it works fine for me,

I suppose you don't fill the two tables VALUES and COLUMN_TEXTS correctly,

you also shoud check the exception codes.

Regards

Gabriel

former_member209120
Active Contributor
0 Kudos

Hi james,

See this link it is helpful to solve your problem

http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+-+Easy+Graph+to+use

CALL FUNCTION 'GFW_PRES_SHOW'

     EXPORTING

       presentation_type = 31        "graph type 31 = pie type, 8 or 1 = bar chart

       parent = contc                "Custom Container

     TABLES

       values = values               "row data(Maximun 32)

       column_texts = column_texts   " column definition

     EXCEPTIONS

       error_occurred = 1

       OTHERS = 2.