cancel
Showing results for 
Search instead for 
Did you mean: 

How to get datawindow header text name

Former Member
0 Kudos

Hi All,

How do I retrieve the datawindow column header text when we created our own column.

I have tried using:

ls_colname = dw_1.describe ("#1.name")

ls_headertext = dw_1.describe (ls_colname + "_t.text")

But it will not work once add a new column in datawindow.

So please assist.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sudeep,

I think you will find the answer here: http://nntp-archive.sybase.com/nntp-archive/action/article/%3C357_37747867.E5103DA2@fsj.co.jp%3E

regards.

Luis.

Former Member
0 Kudos

Hi Luis.

Thanks for reply.

If someone else add one more column in same datawindow and he changed column header text name manually. That time this logic will not work.

ls_headertext = dw_1.describe (ls_colname + "_t.text")

This is a alternate solution. If someone else more solution please share with me.

Thanks & regards

Sudeep.