Application Development and Automation 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: 
Read only

ALV

Former Member
0 Likes
1,081

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
Read only

Former Member
0 Likes
1,030

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.

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.

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,030

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

Read only

Former Member
0 Likes
1,030

CX_SALV_OBJECT_NOT_FOUND

Read only

Former Member
0 Likes
1,030

The reason for this exception is:

OBJECT KEY already exists.

Read only

0 Likes
1,030

Can you post your code?

REgards,

Rich Heilman

Read only

Former Member
0 Likes
1,031

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.

Read only

0 Likes
1,030

Need to see the code.

REgards,

RIch Heilman