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

REFRESH_TABLE_DISPLAY dump

former_member2492
Active Participant
0 Likes
2,614

Hello I have a screen with two table controls:

both are shown however the second one is not getting refreshed and I am getting this error message:

and then prg exits

IF GO_ST IS INITIAL.
 CREATE OBJECT GO_ST
 EXPORTING
 CONTAINER_NAME = 'CC_ST'.
 CREATE OBJECT GO_ST_ALV
 EXPORTING
 I_PARENT = GO_ST.
 CALL METHOD GO_ST_ALV->SET_TABLE_FOR_FIRST_DISPLAY
 EXPORTING
 I_STRUCTURE_NAME = 'z_table'
 IS_LAYOUT = LS_LAYOUT2
 CHANGING
 IT_OUTTAB = ET_STOCK.
 ELSE.
 LS_STABLE2-ROW = ABAP_TRUE.
 LS_STABLE2-COL = ABAP_TRUE.
 >>>>CALL METHOD GO_ST_ALV->REFRESH_TABLE_DISPLAY( IS_STABLE = LS_STABLE2 ).
1 ACCEPTED SOLUTION
Read only

former_member2492
Active Participant
0 Likes
2,451

Table ET_STOCK has to be defined globaly

8 REPLIES 8
Read only

Nawanandana
Active Contributor
0 Likes
2,451

Hi,

You can look at the sample program BCALV_GRID_01, it may help you. I guess issue will be structure name . It may be capital .

I_STRUCTURE_NAME = 'Z_TABLE'
Read only

0 Likes
2,451

I do not see refresh_table_display...anywhere...and even in the prg the strcuture name is in capital

Read only

0 Likes
2,451

Hi,

Sorry my mistake look at the program BCALV_GRID_03.

Regards,

Nawa.

Read only

0 Likes
2,451

I did and they are the same...

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,451

It's impossible to answer if you don't show the whole short dump (text, zipped).

Read only

former_member2492
Active Participant
0 Likes
2,451

sandra.rossi that is all,after that the program exits

Read only

former_member2492
Active Participant
0 Likes
2,452

Table ET_STOCK has to be defined globaly

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,451

ok. That's not a (short) dump then (that refers to the lists in transaction ST22).