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

regarding abap query

Former Member
0 Likes
616

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.

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
576

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

Read only

0 Likes
576

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.

Read only

0 Likes
576

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 )

Read only

Former Member
0 Likes
576

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

Read only

andreas_mann3
Active Contributor
0 Likes
576

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