‎2008 Jan 11 11:04 AM
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
‎2008 Jan 11 11:09 AM
Hi,
You may use the Sample program BCALV_GRID_DEMO to learn to do your requirement.
Regards,
Renjith Michael.
‎2008 Jan 11 11:54 AM
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
‎2008 Jan 11 12:11 PM
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
‎2008 Jan 11 12:22 PM
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.
‎2008 Jan 11 6:43 PM
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