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

print button is giving dump using set_table_for first display

Former Member
0 Likes
500

when using like this it is giving me dump in a standard program

sayin field symbol not assigned

also when i am trying to give

i_structure_name = 's_final '

it_outtab = i_final

its givin me an error i_final is not type compatible with it_outtab .

CALL METHOD go_grid_top->set_table_for_first_display

EXPORTING

  • i_structure_name = ' '

i_save = 'A'

  • I_DEFAULT = 'X'

IS_LAYOUT = gs_layout

  • IS_PRINT =

CHANGING

it_outtab = i_final[]

it_fieldcatalog = fieldcat[]

  • IT_SORT =

EXCEPTIONS

invalid_parameter_combination = 1

program_error = 2

too_many_lines = 3

OTHERS = 4.

<b>also when i am trying to give

i_structure_name = 's_final '

it_outtab = i_final

its givin me an error i_final is not type compatible with it_outtab .</b>

<b>and when using like this it is working fine </b>

CALL METHOD go_grid_top->set_table_for_first_display

EXPORTING

  • I_BUFFER_ACTIVE =

  • I_BYPASSING_BUFFER =

  • I_CONSISTENCY_CHECK =

i_structure_name = 'ekko'

  • IS_VARIANT =

i_save = 'A'

  • I_DEFAULT = 'X'

IS_LAYOUT = gs_layout

  • IS_PRINT =

CHANGING

it_outtab = i_final

  • it_fieldcatalog = fieldcat

  • IT_SORT =

EXCEPTIONS

invalid_parameter_combination = 1

program_error = 2

too_many_lines = 3

OTHERS = 4.

plz tel me how to remove these errors

i want to tak print of my alv

when using like this it is giving me dump in a standard program

sayin field symbol not assigned

also when i am trying to give

i_structure_name = 's_final '

it_outtab = i_final

its givin me an error i_final is not type compatible with it_outtab .

CALL METHOD go_grid_top->set_table_for_first_display

EXPORTING

  • i_structure_name = ' '

i_save = 'A'

  • I_DEFAULT = 'X'

IS_LAYOUT = gs_layout

  • IS_PRINT =

CHANGING

it_outtab = i_final[]

it_fieldcatalog = fieldcat[]

  • IT_SORT =

EXCEPTIONS

invalid_parameter_combination = 1

program_error = 2

too_many_lines = 3

OTHERS = 4.

<b>also when i am trying to give

i_structure_name = 's_final '

it_outtab = i_final

its givin me an error i_final is not type compatible with it_outtab .</b>

<b>and when using like this it is working fine </b>

CALL METHOD go_grid_top->set_table_for_first_display

EXPORTING

  • I_BUFFER_ACTIVE =

  • I_BYPASSING_BUFFER =

  • I_CONSISTENCY_CHECK =

i_structure_name = 'ekko'

  • IS_VARIANT =

i_save = 'A'

  • I_DEFAULT = 'X'

IS_LAYOUT = gs_layout

  • IS_PRINT =

CHANGING

it_outtab = i_final

  • it_fieldcatalog = fieldcat

  • IT_SORT =

EXCEPTIONS

invalid_parameter_combination = 1

program_error = 2

too_many_lines = 3

OTHERS = 4.

plz tel me how to remove these errors

i want to tak print of my alv

3 REPLIES 3
Read only

Former Member
0 Likes
481

Hi,

if you are using a custom internal table, you need to create a strucuture using Se11. then pass this structure name in the i_structure_name paramater.

Regards,

Niyaz

Read only

0 Likes
481

but i hav created a structure in my code

DATA : BEGIN OF s_final ,

flief LIKE plaf-flief,

name1 LIKE lfa1-name1,

land1 LIKE lfa1-land1,

matnr LIKE eban-matnr,

maktx LIKE makt-maktx,

lfdat LIKE eban-lfdat,

delb0 LIKE t457t-delb0 ,

ebeln LIKE ekpo-ebeln,

ebelp LIKE ekpo-ebelp,

menge LIKE ekes-menge,

meins LIKE eban-meins,

labnr LIKE ekpo-labnr,

zintct(30) TYPE c ,

END OF s_final .

Read only

0 Likes
481

problem solved thanx all