cancel
Showing results for 
Search instead for 
Did you mean: 

WD:How to add the columns dynamically after selecting the date range in select options?

Former Member
0 Kudos

Hi All,

Can you please share me the links how do i add the columns dynamically to the table in webdynpro?

My requirement is: based on the selection field(date) those many columns should be displayed with date in the table.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member197475
Active Contributor
0 Kudos

Hi,

Have you checked on the below docs.

BR,

RAM.

Former Member
0 Kudos

thank you RAM for reply

Former Member
0 Kudos

Hi Ram,

I got some idea what has to be done, my requirement is:

In the select options if i select the range (say from 12-march-2015 to 14-marc-2015) then those many columns (3 columns) needs to be added in my table

I am getting this data from pa0007 table 'AEDTM' field.

can give the brief steps how can i approach this?

Answer will be really helpfull

harsha_jalakam
Active Contributor
0 Kudos

Hi Lucifier,

For your requirement it is better if you , form your table in this way.So that there will be no need to create dynamic columns and with this the context node can be fixed too.

date field1 FIELD2 FIELD 3
3RD MARCH
4th MARCH
5th MARCH
6th MARCH

Regards,

Harsha

Former Member
0 Kudos

Hi Harsha,

Initially my output sceen should have the following:

Perso NO.Last Name
00006956565J.P Matt

In the select options if i select the range from 3-march-15 to 5-mar-15, then I need to have output as mentioned below,

Perso NO.
Last Name
3-mar-15
4-mar-155-mar-15
00006956565J.P Matt

where

"Perso NO." & "Last Name" fields should be by default in the table

       

Thanks,

Lucifer

Former Member
0 Kudos

Hi Ram & Harsha

How can I approach my requirement?

former_member1052991
Active Participant
0 Kudos

Hi Lucifer,

Is it your input date is only allowed for a month?

If yes, then you can have a static structure as below and make visible/invisible according to the input value.

Pers.No  LastName Field1 Field2 Field3 ...... Field31

1            XXXXX           

2            YYYY

Regards,

Guna