‎2005 Oct 06 3:27 PM
Hi ,
As i have now idea regarding abap query ,kindly suggest me how to have a pushbutton to the selection screen via abap query .
1.the LDB iam using is pnp .
2.thing is to have sort order pushbutton to the selection screen .
can any budy guid me how to work on this .
Thanks ,
shan.
‎2005 Oct 06 3:29 PM
I don't think you can do that with ABAP query without hacking the underlying program.
I think you will have to develop a custom "Z" report.
If you do, then all you need to do is to add a line of code to set the status. Of course you must create the status as well.
SET PF-STATUS 'MAIN'.
You can then handle it by using the AT USER-COMMAND event.
Regards,
Rich Heilman
‎2005 Oct 07 6:21 AM
Hi Rich ,
The reply u have given ,was some how helpful for me by i dont think i would completly solve my issue ,can u do me a favour,where we can get the documents regarding abap query .from where i have further study on that .
I would be please if any one help me on this above issue .
Thanks ,
shankar.
‎2005 Oct 07 6:43 AM
Hi Shankar ,
What do you mean by 'Sort Order pushbutton" on selection screen. Sort order pushbutton is by default there if you use an ALV list output on the list screen . Why do you want on selection screen and what would you achieve with this pushbutton.
Cheers.
( Dont forget to reward if answers were helpful )
‎2005 Oct 07 6:29 AM
Hi,
Check this link for ABAP Query
<u>http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
<u>http://www.sappoint.com/abap/ab4query.pdf</u></u>
Hope it helps u.
Thanks&Regards
Ruthra
‎2005 Oct 07 7:22 AM
Hi,
1) define in coding block 'DATA':
SELECTION-SCREEN PUSHBUTTON /1(20) Hallo USER-COMMAND com1.2)in coding block 'AT SELECTION-SCREEN' you can ask sy-ucom and process your sorting
regards Andreas