‎2016 Apr 18 8:22 AM
Dear Experts,
I have a table in which we record the data against date we register the tasks done on that particular day.
When we want to display the stored data,
We have a screen for date selection,
ALV shud be displlayed for the whole week including the selected date.
alv header data shud be changed based on the date selected.
ALV header shud be --- monday/(DDMMYYYY) tuesday(date selected) wednesday(DDMMYYYY). ...... like this.
How we can achieve this using OOPS ALV.
Thanks in advance,
Ashwath.,
‎2016 Apr 18 8:40 AM
Hi,
refer the following link it will help you to create header and you can modify the header as per your requirement.
Create on OO ALV header texts - Code Gallery - SCN Wiki
thanks!!
‎2016 Apr 18 8:40 AM
Just adapt the field catalog (fields related header texts)
Ref: Texts in The Field Catalog of ALV Grid Control
As you always displays a full week, no dynamic internal table is required.
Regards,
Raymond
‎2016 Apr 18 8:48 AM
One suggestion would be adding the headers as first row of your table. And then mapping it to your ALV structure.