2007 Jan 16 9:18 PM
Does any one know the FM that can be use as a pop up window for user, requesting to enter input at selection screen.
2007 Jan 16 9:22 PM
Sure try using the following function module.
report zrich_0001 .
data: ivals type table of sval with header line.
data: x_datum type sy-datum,
x_uzeit type sy-uzeit.
parameters: p_check.
at selection-screen.
ivals-tabname = 'SYST'.
ivals-fieldname = 'DATUM'.
append ivals.
ivals-tabname = 'SYST'.
ivals-fieldname = 'UZEIT'.
append ivals.
call function 'POPUP_GET_VALUES'
exporting
popup_title = 'Enter Date & Time'
tables
fields = ivals
exceptions
error_in_fields = 1
others = 2.
read table ivals with key fieldname = 'DATUM'.
if sy-subrc = 0.
x_datum = ivals-value.
endif.
read table ivals with key fieldname = 'UZEIT'.
if sy-subrc = 0.
x_uzeit = ivals-value.
endif.
start-of-selection.
write:/ x_datum, x_uzeit.
Regards,
Rich Heilman
Does any one know the FM that can be use as a pop up window for user, requesting to enter input at selection screen.
2007 Jan 16 9:22 PM
Sure try using the following function module.
report zrich_0001 .
data: ivals type table of sval with header line.
data: x_datum type sy-datum,
x_uzeit type sy-uzeit.
parameters: p_check.
at selection-screen.
ivals-tabname = 'SYST'.
ivals-fieldname = 'DATUM'.
append ivals.
ivals-tabname = 'SYST'.
ivals-fieldname = 'UZEIT'.
append ivals.
call function 'POPUP_GET_VALUES'
exporting
popup_title = 'Enter Date & Time'
tables
fields = ivals
exceptions
error_in_fields = 1
others = 2.
read table ivals with key fieldname = 'DATUM'.
if sy-subrc = 0.
x_datum = ivals-value.
endif.
read table ivals with key fieldname = 'UZEIT'.
if sy-subrc = 0.
x_uzeit = ivals-value.
endif.
start-of-selection.
write:/ x_datum, x_uzeit.
Regards,
Rich Heilman
2007 Jan 17 6:40 PM
2007 Jan 16 9:35 PM
Hi,
Please check this FM.
POPUP_GET_VALUES
POPUP_TO_GET_ONE_VALUE
POPUP_GET_VALUES_USER_BUTTONS
Regards,
Ferry Lianto
2007 Jan 17 3:56 AM
Hi Fayyaz,
You can use two fm.one is POPUP_GET_VALUES and the other is
POPUP_TO_GET_ONE_VALUE.
2007 Jan 17 4:00 AM
Hi
try out these FM:
POPUP_TO_GET_ONE_VALUE
POPUP_GET_VALUES
POPUP_GET_VALUES_USER_BUTTONS
PLZ REWARD POINTS IF HELPFUL
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |