Application Development and Automation 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: 
Read only

POPUP

Former Member
0 Likes
691

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
Read only

Former Member
0 Likes
665

check the function module pop_up_to_display.

Read only

0 Likes
665

Ranjith Kumar ur FM is not working.

Jackandjay urs also not working...

anythnig more.

Read only

0 Likes
665

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.

Read only

former_member156446
Active Contributor
0 Likes
665

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.

Read only

Former Member
0 Likes
665

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

Read only

Former Member
0 Likes
665

I solved..thanks.I used POPUP_GET_VALUES