‎2007 Feb 08 9:33 PM
Hello Friends,
I am looking for a function module which pops up a input box to user where user can log his/her comments and pass it on as output parameter. I need to use that comment in workflow later.
I would appreciate your time.
Regards,
Arpit
‎2007 Feb 08 9:37 PM
Hi,
Please check this FM.
POPUP_TO_GET_ONE_VALUE
POPUP_GET_VALUES
Check this sample code.
data: ival type table of sval with header line.
parameters: p_check type c.
load-of-program.
ival-tabname = 'MARA'.
ival-fieldname = 'MAGRV'.
ival-field_obl = 'X'. " Required Field
append ival.
call function 'POPUP_GET_VALUES'
exporting
popup_title = 'Number of Records:'
tables
fields = ival.
start-of-selection.
read table ival index 1.
write:/ ival-value.
Regards,
Ferry Lianto
‎2007 Feb 08 9:36 PM
Hi,
Check the function module POPUP_TO_GET_ONE_VALUE
POPUP_TO_GET_VALUE
Thanks,
Naren
‎2007 Feb 08 9:37 PM
Hi,
Please check this FM.
POPUP_TO_GET_ONE_VALUE
POPUP_GET_VALUES
Check this sample code.
data: ival type table of sval with header line.
parameters: p_check type c.
load-of-program.
ival-tabname = 'MARA'.
ival-fieldname = 'MAGRV'.
ival-field_obl = 'X'. " Required Field
append ival.
call function 'POPUP_GET_VALUES'
exporting
popup_title = 'Number of Records:'
tables
fields = ival.
start-of-selection.
read table ival index 1.
write:/ ival-value.
Regards,
Ferry Lianto
‎2007 Feb 08 9:51 PM
Thanks Naren and Ferry.
But this func mod req to provide some table and field to ask for value. What I have is a long text comment from user. Even If I use some char250 field from any table, it will show the field name which I dont want.
Isnt there any FM or even class which popup just a black input box to log long text?
Regards
Arpit
‎2007 Feb 08 10:32 PM
Although its not appropriate solution, try this:
Parameters: input(255) type c.
You can goto Text elements and make selection text as blank.
Thanks,
Santosh
null
‎2007 Feb 09 12:47 AM
Use Function CATSXT_SIMPLE_TEXT_EDITOR
This will allow to enter long text.
Thanks. Reward if helpful.
Shrikant
‎2007 Feb 08 9:42 PM
HI Arpit,
Check this FM..
<b>SOTR_COMMENT_POPUP_EDIT</b>
Regards
SAB
‎2007 Feb 09 12:49 AM
Hi,
try this FM might 'POPUP_TO_DISPLAY_TEXT_LO' might useful .
thanks
sarathbabu