Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ALV Grid Control

Status
Not open for further replies.

mamu

Programmer
Sep 6, 2001
20
DE
Hi everybody,

i've got (style) a problem in using an alv-grid control to display more than one itab.

My question is: is it correct to call <alv_grid>->set_table_for_first_display more than one time (for one instance) of an alv-grid control to display a different itab/structure within the alv-grid?

Is there another method which allows to set a new it_outtab and it_structure_name for an alv-grid instance???

thanx for your help, martin

p.s. i'm doing the following, (it works fine, the correct itab is displayed):
- first time a pbo is processed an instance of
the alv-grid control is created

- then every time the same pbo is processed
i'm calling:

go_grid_r->set_table_for_first_display
EXPORTING
i_structure_name = pv_itab_struct_name
CHANGING
it_outtab = pv_itab

- in pv_itab and pv_itab_struct_name the current used
itab and structure name is set. -- martin

&quot;No matter how much you know today, you'll have to know more tomorrow.&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top