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

Display header data Dynamically in ALV OOPS

Former Member
0 Likes
1,532

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.,

3 REPLIES 3
Read only

Chintu6august
Contributor
0 Likes
939

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!!

Read only

RaymondGiuseppi
Active Contributor
0 Likes
939

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

Read only

siva_subramanian2
Participant
0 Likes
939

One suggestion would be adding the headers as first row of your table. And then mapping it to your ALV structure.