cancel
Showing results for 
Search instead for 
Did you mean: 

How create Linked Button on StaticText? Important!

Former Member
0 Kudos

Hallo

subject. examlpe: purchase order -> Vendor (Choose from list) and linked button was created in field Vendor (static text)

Ho to do this? please help and if possible - code (for B1 2004)

i am read this topic, but nothing was not got

Accepted Solutions (1)

Accepted Solutions (1)

rasmuswulff_jensen
Active Contributor
0 Kudos

SAP often use hacks to make their linkedButtons, and this is one of them...

Normally Linked buttons only support EditText and Comboboxes...

A workaround I'll would guess would be to:

1 - Add the staticText

2 - Add a hidden editText

3 - Link a linkbutton to the hidden edittext, and make it of type ln_None

4 - Add a value to the hidden edit text (Else the linkedbutton will not be shown)

5 - Catch the event of press of the linkedbutton (ItemPressed), and do a manual opening of what you might need to open.

Haven't had time to test this, but guess it will work..

An other and more pretty option would be to use a disabled editText...

Answers (0)