Application Development 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: 

ALV

Former Member
0 Kudos
194

Is it possible to add more than one pushbutton to an ALV grid toolbar?

I have added 3 pushbuttons to accommodate 3 different functions. The

first button works properly, but each of the other 2 buttons throw exceptions

in the event handler code.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
143

It only occurs if I attach the button to a freely defined function key that I

create. If I use an existing key from the GUI status I copied to my program

(STANDARD TREE), no execption is thrown.

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
143

Sure, you can add a lot to the toolbar, I have added up to 4 additional buttons to a toolbar in the past. What exactly is the exception that you are getting?

Regards,

Rich Heilman

Former Member
0 Kudos
143

CX_SALV_OBJECT_NOT_FOUND

Former Member
0 Kudos
143

The reason for this exception is:

OBJECT KEY already exists.

0 Kudos
143

Can you post your code?

REgards,

Rich Heilman

Former Member
0 Kudos
144

It only occurs if I attach the button to a freely defined function key that I

create. If I use an existing key from the GUI status I copied to my program

(STANDARD TREE), no execption is thrown.

0 Kudos
143

Need to see the code.

REgards,

RIch Heilman