Skip to Content
author's profile photo Former Member
Former Member

how to move classical report and alv report from screen painter

I am using two buttons classical and alv ,

when i click the classical button control should move

to classical reports program and if i click the alv button alv reports program should display

send me the coding....

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 09:12 AM

    check the sy-ucomm value and code accordingly..

    if sy-ucomm = 'CLAS'

    ...............

    .............

    elseif sy-ucomm = 'ALV'.

    ..............

    .................

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 16, 2008 at 09:15 AM

    hi for this you need to use the submit statement ......

    if sy-ucomm = 'CLAS'.

    submit program zclassical ....

    elseif sy-ucomm = 'ALV'.

    submit program zalv....

    endif.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      ya venkat it moves to the corresponding report,

      but if u used select options in the alv report programs

      it will not be displayed(all datas in the table r displayed).So how to display the select options box.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.