Question:
Hi.
I created one report, that report generate one screen with the list in ALV, in the title you see the "Nš of entries selected: &n" - &n means the num ber of entries on the list. In this screen you can choose the SAVE button and save the lis in one customer table.
the problem is here, when you return after click on the button save the title is changed and see: "N' of entries selected: 0". and not the correct number.
The every help is welcome,
Thanks in advanced.
Best regards,
Ana
Answer:
hi,
hope it'll help to solve your problem
first u have to declare:
data: grid_title type lvc_title. " Grid title
then u have to insert number of enteries for example so:
descrige itab lines line_num.
concatenate 'N of enteries selected: ' line_num into grid_title.
and then u have to call the method of ALVGrid:
call method grid_tf->set_gridtitle
exporting i_gridtitle = grid_title.
U have to call this method every time u need to change ALVGrit title.
_________________
Best regards,
Jag