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

pop up window for a single field details..

How to display a pop up window for details of one field by click?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jan 10, 2007 at 07:39 AM

    Hi,

    Do you wnt to pop-up window in ALV

    *

     Display items in a POPUP
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
                i_selection = ' '
                i_tabname   = 'GT_VBAP'
                it_fieldcat = lt_fieldcat
                is_private  = ls_private
           TABLES
                t_outtab    = gt_vbap.

    http://www.sapassist.com/code/d.asp?d=3430&a=s

    http://www.sap4.com/postp5270.html

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 07:44 AM

    hi Halder,

    * Display items in a POPUP
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
                i_selection = ' '
                i_tabname   = 'GT_VBAP'
                it_fieldcat = lt_fieldcat
                is_private  = ls_private
           TABLES
                t_outtab    = gt_vbap.

    Check

    http://www.geocities.com/mpioud/Z_ALV_GRID_AND_POPUP.html

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2007 at 07:41 AM

    hi,

    chk this.

    report zsha.
     
    type-pools: slis.
     
    data: begin of iku occurs 0,
          check type c,
          kunnr type kna1-kunnr,
          name1 type kna1-name1,
          end of iku.
     
    data: ifldc type slis_t_fieldcat_alv .
    data: xfldc type slis_fieldcat_alv .
     
     
    select kunnr name1 into corresponding fields of table iku
            from kna1 up to 10 rows.
     
    clear xfldc.
    xfldc-reptext_ddic    = 'Customer'.
    xfldc-fieldname  = 'KUNNR'.
    xfldc-tabname   = 'IKU'.
    xfldc-outputlen  = '12'.
    append xfldc to ifldc.
     
    clear xfldc.
    xfldc-reptext_ddic    = 'Customer Name'.
    xfldc-fieldname  = 'NAME1'.
    xfldc-tabname   = 'IKU'.
    xfldc-outputlen  = '30'.
    append xfldc to ifldc.
     
    call function 'REUSE_ALV_POPUP_TO_SELECT'
         exporting
              I_TITLE  = 'This is the message here'
    *          i_checkbox_fieldname = 'CHECK'
              i_tabname            = 'IKU'
              it_fieldcat          = ifldc
         tables
              t_outtab             = iku
         exceptions
              program_error        = 1
              others               = 2.
     
    check sy-subrc  = 0.
    
    *********************************
    
    popup_with_table_display.
    Usage:
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
    EXPORTING ENDPOS_COL = 41
    ENDPOS_ROW = 10
    STARTPOS_COL = 1
    STARTPOS_ROW = 1
    TITLETEXT = TEXT-202
    IMPORTING CHOISE = SEL_ROW
    TABLES VALUETAB = ITAB
    EXCEPTIONS OTHERS = 99.
    IF SY-SUBRC EQ 0 AND SEL_ROW > 0.
    READ TABLE ITAB INDEX SEL_ROW.
    REF_NAME = ITAB-TABNAME.
    ELSE.
    REF_NAME = SPACE.
    ENDIF.

    Regards,

    Anver

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 08:26 AM
    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.