cancel
Showing results for 
Search instead for 
Did you mean: 

Some rows requires Link&some don't require link in LinkToAction tablecolumn

Former Member
0 Kudos

Hi,

I code in WebDynpro for java.

I have a column in a table which is a LinkToAction.

Only for specific values which i get to this column, i require link and for others i do not want a link to appear in this column in that particular row.

For example, i query a RFC and get values for this LinkToAction column. If values i got from RFC is "Seats Available", i require a link in this column in that row.

If the value i get from RFC is "Seats Full", i do not want a link in this column in that particular row.

Can anyone give some hints on how to achieve this?

Thanks,

Bhuvana

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Bhuvana,

You can bind the property of the Link to action UI elemet's type property with one value attribute with the type com.sap.ide.webdynpro.uielementdefinitions.LinkType

and you can change the property as per your condition. This will change the display of the UI element.

Kind regards,

Mukesh

Former Member
0 Kudos

Hi Bhuvana,

You can bind the link to action's enabled property with one boolean value attribute and change the value for your occording to your conditions.

Kind Regards,

mukesh

Former Member
0 Kudos

In NW04s, you can have different editors in one column, in NW04 you cannot.

But you could simply disable the links in those rows where "Seats full" holds. A calculated attribute is probably the way to go.

Armin