Skip to Content
author's profile photo
Former Member

regarding abap query

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Oct 06, 2005 at 02: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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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 )

  • author's profile photo
    Former Member
    Oct 07, 2005 at 05:29 AM

    Hi,

    Check this link for ABAP Query

    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp

    http://www.sappoint.com/abap/ab4query.pdf>

    Hope it helps u.

    Thanks&Regards

    Ruthra

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 07, 2005 at 06: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

    Add comment
    10|10000 characters needed characters exceeded