2013 Dec 10 6:26 AM
Hi,
I am creating object oriented program with two internal table. So my requirement is i want header for that table.
i hope you understood my question and I'm waiting for your reply.
Thanks and regards.
Raj.
2013 Dec 10 6:31 AM
No couldn't understand your point. kindly elaborate it in a nice manner.
Any OOP's program can use any no of Internal tables.
What do you actually desired & where are you facing trouble.
kindly correct your grammar.
2013 Dec 10 7:02 AM
Dear Raj,
If you mean , you want title text for the alv using oops . ..
Then declare a work are as below
data ls_layo type lvc_s_layo.
In the subroutine of fill_layout … fill the grid title as below
clear ls_layo.
ls_layo-grid_title = ' HEADER DATA'. “ text u want here.
Pass ls_layo in the set table for first display method.. as shown.
call method vbak_grid->set_table_for_first_display
exporting
is_layout = ls_layo “layout filled.
changing
it_outtab = lt_vbak[] “output internal table
it_fieldcatalog = lt_fcat[]. “ field catalog..
I hope this may help.
Thanks
Shravan