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

Dialog program application tool bar

Former Member
0 Likes
517

hi all experts:

i have developed dailog program, in that i have created application tool bar for example

1. sort up

2. sort down

3. select all

4. deselect all

5. filter

6. sum

7. subtotal

8. xxl (excel sheet o/p)

9. pc

so on.

this application tool bar works automatically in ALV grid output, but in dialog program how does it works???

if coding is to be written, then pl provide me the coding for the above application tool bars please.

thanx in advance.

thanx

rocky

Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:35 PM

5 REPLIES 5
Read only

Former Member
0 Likes
486

Hi,

You may use the Sample program BCALV_GRID_DEMO to learn to do your requirement.

Regards,

Renjith Michael.

Read only

Clemenss
Active Contributor
0 Likes
486

Hi Rocky,

the application tool bar does not work automatically in ALV grid output. But the ALV classes, methods and functions have tons of coding for this.

That's what ALV is thought for: Reduce repeated individual coding of all the same functions to a minimum.

If you feel you can not accomplish your goals using ALV technique, please feel free to explain your task.

Regards,

Clemens

Read only

Former Member
0 Likes
486

HI

I HAVE SEEN "BCALV_GRID_DEMO" PROGRAM,

IN THIS PROGRAM EVEN FUNCTION CODE IS NOT WRITTEN, BUT ALL APPLICATION TOOL BAR BUTTONS ARE WORKING,

HOW IS THIS ACHIEVED.

I HAVE WRITTEN DIALOG PROGRAM I WANT ALL BUTTONS ACTIVE ??? HOW CAN I DO THIS?? I WANT ALL THE BUTTONS WHICH ALV REPORT DISPLAYS??

REMEMBER I WANT IN DIALOG PROGRAM???

THANX

ROCKY

Read only

Former Member
0 Likes
486

Hi Rocky,

try it by haveing an ALV with tool bar. that will be more easy than putting all the buttons on application tool bar.

Read only

Clemenss
Active Contributor
0 Likes
486

Hi Rocky,

I hoped you got what I said.

The ALV uses it's own status and screen in functional use (REUSE_ALV...). As soon as the function is called, it will create it's own screen and set its own status.

The OO class uses GUI controls including the toolbar control.

If you don't want to use what SAP provides as one part of ALV, then it will be extremely difficult to find someone to help you.

Regards,

Clemens