‎2008 Jan 29 6:07 AM
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
‎2008 Jan 29 6:09 AM
‎2008 Jan 29 6:30 AM
Ranjith Kumar ur FM is not working.
Jackandjay urs also not working...
anythnig more.
‎2008 Jan 29 6:52 AM
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.
‎2008 Jan 29 6: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.
‎2008 Jan 29 6: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
‎2008 Jan 29 6:57 AM