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

ALV Interactive

Hi Guis,

I am working on interactive ALV.Afer selecting PO No i have to display one popup on the screen. on that i have to be two options one is Price variance report and second Variable variance report.Please any body give suggestion.

Thanks ,

santhosh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2009 at 11:51 AM

    Hai Santosh Do like this:

    call function 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = sy-repid
            i_callback_top_of_page  = 'TOPOFPAGE'
            I_CALLBACK_USER_COMMAND = 'PICK'
            i_grid_title            = 'MIS Tender Report'
            is_layout               = i_settings
            i_save                  = 'X'
            it_fieldcat             = i_fieldcat
          TABLES
            t_outtab                = it_data.
    
    
    FORM PICK USING COMMAND LIKE SY-UCOMM
    SELFIELD TYPE SLIS_SELFIELD.
      clear: i_fieldcat1, iSD_TEN_ITM_bd, iSD_TEN_ITM_bd[].
      READ TABLE it_data INTO wa_data INDEX SELFIELD-TABINDEX.
    
      CASE COMMAND.
        WHEN '&IC1'.
    
     call function 'POPUP_TO_CONFIRM'
          EXPORTING
            titlebar       = 'Create a New Record'
            text_question  = 'Choose Any One'
            text_button_1  = 'Price variance report'(009)
            text_button_2  = 'Variable variance report'(010)
            default_button = '1'
          IMPORTING
            answer         = answer.
    endcase.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2009 at 11:43 AM

    Hi,

    Where you are handling your user_command after the user clicks on the PO you can call Fm: POPUP_TO_CONFIRM and give the button names as you want in order to see how to handle uinteractive you can search SCN there are already a lot of threads about the same.

    Reagrds,

    Himanshu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 17, 2009 at 11:45 AM

    Hi,

    create a screen with two radiobuttons (Price variance report and second Variable variance report).

    In the application tool bar of initial alv, have a button Display..when the user clicks on it call the screen having two radio-buttons and then in the PAI of the screen ..Write the logic and display the report ....

    Regards,

    Nagaraj

    Add a comment
    10|10000 characters needed characters exceeded

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.