Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

POPUP

former_member198275
Active Contributor
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

check the function module pop_up_to_display.

0 Kudos

Ranjith Kumar ur FM is not working.

Jackandjay urs also not working...

anythnig more.

0 Kudos

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.

former_member156446
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

former_member198275
Active Contributor
0 Kudos

I solved..thanks.I used POPUP_GET_VALUES