2007 Sep 13 6:44 AM
hello,
can any one provide a <b>function module name for a popup window</b> in which <b>two editable fields</b> should be there for <b>user to enter numaric values</b>.as my requirement needed to<b> seek two numaric values in a popup window in one user exit and save these values in at perticular external memory so as i call call these values in another program</b> where i need some usefull confegaration.
Please provide me answer as quic as possible as requirement is very urgent.
thanking u all.
Hareesh TADEPALLI
2007 Sep 13 9:33 AM
Hi,
use FM: POPUP_GET_VALUES for popup screen:
Here is a sample about how to use it:
data: wa_fields like SVAL,
li_fields TYPE STANDARD TABLE OF SVAL.
move 'KONA' to wa_fields-TABNAME.
move 'KNUMA' to wa_fields-FIELDNAME.
append wa_fields to li_fields.
move 'BSEG' to wa_fields-TABNAME.
move 'BUKRS' to wa_fields-FIELDNAME.
append wa_fields to li_fields. " add more fields if required
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = ' '
popup_title = 'Test title'
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE =
tables
fields = li_fields
EXCEPTIONS
ERROR_IN_FIELDS = 1
OTHERS = 2
.
IF sy-subrc <> 0.
loop at li_fields into wa_fields.
" use values of field VALUE
ENDLOOP.
endif.
Regards.
hello,
can any one provide a <b>function module name for a popup window</b> in which <b>two editable fields</b> should be there for <b>user to enter numaric values</b>.as my requirement needed to<b> seek two numaric values in a popup window in one user exit and save these values in at perticular external memory so as i call call these values in another program</b> where i need some usefull confegaration.
Please provide me answer as quic as possible as requirement is very urgent.
thanking u all.
Hareesh TADEPALLI
2007 Sep 13 9:10 AM
Hi,
I dont think you can get function module to satisfy your requirement. Try to create a module pool .
Cheers
Phani.
2007 Sep 13 9:33 AM
Hi,
use FM: POPUP_GET_VALUES for popup screen:
Here is a sample about how to use it:
data: wa_fields like SVAL,
li_fields TYPE STANDARD TABLE OF SVAL.
move 'KONA' to wa_fields-TABNAME.
move 'KNUMA' to wa_fields-FIELDNAME.
append wa_fields to li_fields.
move 'BSEG' to wa_fields-TABNAME.
move 'BUKRS' to wa_fields-FIELDNAME.
append wa_fields to li_fields. " add more fields if required
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = ' '
popup_title = 'Test title'
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE =
tables
fields = li_fields
EXCEPTIONS
ERROR_IN_FIELDS = 1
OTHERS = 2
.
IF sy-subrc <> 0.
loop at li_fields into wa_fields.
" use values of field VALUE
ENDLOOP.
endif.
Regards.