09-03-2009 7:28 PM
Hi,
I need to open a screen like the FM 'HELP_START' (F1) with text of an Internal Table.
Anyone know a FM that can I use??
Thx!
Allan Cristian
Edited by: Allan Cristian on Sep 3, 2009 3:30 PM
09-03-2009 7:39 PM
Try with fm
at selection-screen on help-request for p_mplant.
* This perform will add records in the table i_help
perform f_append_type.
* This perform will be executed when F1 key is pressed
* It will show a documentation
perform f_document using v_title.
form f_append_type.
clear wa_help.
refresh i_help.
wa_help-tdline = text-069. " This input is for number of
" plants columns displayed
wa_help-tdformat = '1'.
append wa_help to i_help.
clear wa_help.
wa_help-tdline = text-070. " There will be maximum of 25
" plants will be displayed
wa_help-tdformat = '2'.
append wa_help to i_help.
clear wa_help.
wa_help-tdline = text-071. " If input is 0 or blank, then
" plants will not be displayed
wa_help-tdformat = '3'.
append wa_help to i_help.
clear wa_help.
v_title = text-072. " Display Plants
endform. " F_append_type
form f_document using p_v_title.
call function 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
exporting
task = c_display
titel = p_v_title
tables
text_table = i_help.
endform. " F_document
a®
09-03-2009 7:39 PM
Try with fm
at selection-screen on help-request for p_mplant.
* This perform will add records in the table i_help
perform f_append_type.
* This perform will be executed when F1 key is pressed
* It will show a documentation
perform f_document using v_title.
form f_append_type.
clear wa_help.
refresh i_help.
wa_help-tdline = text-069. " This input is for number of
" plants columns displayed
wa_help-tdformat = '1'.
append wa_help to i_help.
clear wa_help.
wa_help-tdline = text-070. " There will be maximum of 25
" plants will be displayed
wa_help-tdformat = '2'.
append wa_help to i_help.
clear wa_help.
wa_help-tdline = text-071. " If input is 0 or blank, then
" plants will not be displayed
wa_help-tdformat = '3'.
append wa_help to i_help.
clear wa_help.
v_title = text-072. " Display Plants
endform. " F_append_type
form f_document using p_v_title.
call function 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
exporting
task = c_display
titel = p_v_title
tables
text_table = i_help.
endform. " F_document
a®
09-03-2009 7:49 PM
Hi a®s,
it works, but I need the same appearance (or near) that Help F1 does.
Regards,
Allan Cristian
Edited by: Allan Cristian on Sep 3, 2009 3:50 PM
09-03-2009 8:04 PM
Then
use fm HELP_DOCULINES_SHOW
For testing this go to SE37--> and pass value into table HELPLINES (Tables Tab)
TDFORMAT AS
TDLINE TESTING FOR F1 HELP
and execute
a®