Skip to Content

POPUP

Hi all,

I have to give a popup. On which there will be 3 fields. ex :

invoice no, date and amount. And I want that values which have been entered by the user. I know there are many fucntion modules , but I need an example to understand. Can any one help me?

Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 06:09 AM

    check the function module pop_up_to_display.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member KaushiK Datta

      store the value entered by the user in an internal table say itab.

      CALL FUNCTION 'POPUP_WITH_TABLE'

      EXPORTING

      ENDPOS_COL = 40

      ENDPOS_ROW = sy-srows

      STARTPOS_COL = 1

      STARTPOS_ROW = 1

      TITLETEXT = 'popup'

      • IMPORTING

      • CHOICE =

      TABLES

      VALUETAB = itab

      • EXCEPTIONS

      • BREAK_OFF = 1

      • OTHERS = 2

      .

      IF SY-SUBRC <> 0.

      • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

      • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

      ENDIF.

      if u want to select a value and place it in some field on screen then uncomment the choice and give that field name there.

  • Posted on Jan 29, 2008 at 06:10 AM

    Hi kaushik

    check this code:

    SELECT vbeln posnr
            FROM vbap
            INTO TABLE itab
            WHERE vbeln EQ pa_vbeln.
    
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
      EXPORTING
        endpos_col   = 11
        endpos_row   = 11
        startpos_col = 10
        startpos_row = 10
        titletext    = 'Jay popup Test'
    *  IMPORTING
    *    choise       = choice
      TABLES
        valuetab     = itab
      EXCEPTIONS
        break_off    = 1
        OTHERS       = 2.
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 06:40 AM

    Hi

    Use the FM POPUP_WITH_TABLE. Invoice number, data and amount should come from internal table and pass it to this FM.

    Thanks

    Vijay

    PLZ reward poitnts if helpful

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 29, 2008 at 06:57 AM

    I solved..thanks.I used POPUP_GET_VALUES

    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.