07-12-2007 6:54 PM
hi guys
im looking for a FM with 1 entry field with text and numbers.
this pop up must exist but i cant find it.
tks in advance.
07-12-2007 6:58 PM
Sure, check this out.
report zrich_0001.
data: ivals type table of sval.
data: xvals type sval.
xvals-tabname = 'VBAK'.
xvals-fieldname = 'AUART'.
append xvals to ivals.
call function 'POPUP_GET_VALUES'
exporting
popup_title = 'Choose Order Type'
tables
fields = ivals
exceptions
error_in_fields = 1
others = 2.
read table ivals into xvals index 1.
write:/ xvals-value.
Regards,
RIch Heilman
07-12-2007 6:58 PM
Sure, check this out.
report zrich_0001.
data: ivals type table of sval.
data: xvals type sval.
xvals-tabname = 'VBAK'.
xvals-fieldname = 'AUART'.
append xvals to ivals.
call function 'POPUP_GET_VALUES'
exporting
popup_title = 'Choose Order Type'
tables
fields = ivals
exceptions
error_in_fields = 1
others = 2.
read table ivals into xvals index 1.
write:/ xvals-value.
Regards,
RIch Heilman
07-12-2007 6:59 PM
Hi,
call function 'POPUP_GET_VALUES_USER_CHECKED'
exporting
popup_title = p_title
programname = 'SAPMYETT2'
formname = 'F_STATUS_EXIT_CHECK'
importing
returncode = p_return
tables
fields = it_sval.
aRs