10-02-2008 2:43 PM
hi,
i am looking for an function call or an method in an class where
i can enter text in a popup (like 'yellow post it'). and where i get
back the entered text in an internal table.
does anybody know how to handle this ?
reg, martin
10-02-2008 2:45 PM
10-02-2008 5:11 PM
i can't find any 'right' FM there.
i need a FM or method where i can enter text, get it back in a internal table.
and i also need to return the okay-code. if the users cancels the editor, the back
table should be empty !!!
reg, Martin
10-02-2008 5:29 PM
Hi martin
for popup window you can create a modal dialogue box. you can modify the screen as per you requirements using screen painter.
I hope this helps
10-02-2008 5:33 PM
Did you try these FM's?
TRM_POPUP_FOR_TEXT_INPUT
TRM_POPUP_TEXT_INPUT
10-02-2008 6:11 PM
Hi Martin,
Goto Txcode SE37 and in the function module give name as POP_TO* and press F4 that will give you the list of function modules choose according to your requirement which may solve your issue.
Hope my answer helps you.
Cheers!!
10-03-2008 8:18 AM
sorry guys,
your hints don't help me ! there is not a single FM beginning with POP_TO*...............
08-17-2016 3:23 PM
Hi Martyn,
I know this thread is too old but it might be helpful to others .
10-03-2008 8:36 AM
hi,
just use this function module it will definately help u:
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
retfield = retfield
* PVALKEY = ' '
* DYNPPROG = ' '
* DYNPNR = ' '
* DYNPROFIELD = ' '
* STEPL = 0
* WINDOW_TITLE = WINDOW_TITLE
* VALUE = ' '
* VALUE_ORG = 'C'
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* MARK_TAB = MARK_TAB
* IMPORTING
* USER_RESET = USER_RESET
TABLES
value_tab = value_tab
* FIELD_TAB = FIELD_TAB
* RETURN_TAB = RETURN_TAB
* DYNPFLD_MAPPING = DYNPFLD_MAPPING
* EXCEPTIONS
* PARAMETER_ERROR = 1
* NO_VALUES_FOUND = 2
* OTHERS = 3
thanks
rahul
.
10-03-2008 8:40 AM
rahul,
thank you, but thats by far not the thing i want
i want to have a text-editor-popup !!!!
reg, Martin
10-03-2008 8:45 AM
Hi,
try this code.
and make changes depends upon ur requirement.
REPORT ZSHAN.
data: text type TRM080-TEXT.
data: itext LIKE table of text with header line.
data:ok_code like sy-ucomm.
CALL FUNCTION 'TRM_POPUP_TEXT_INPUT'
EXPORTING
SOURCETEXT =
TITEL = 'enter string'
START_COLUMN = 25
START_ROW = 6
CHANGING
TARGETTEXT = text
.
move sy-ucomm to ok_code.
if ok_code EQ 'ENTE'.
APPEND TEXT TO ITEXT.
ENDIF.
LOOP AT ITEXT.
WRITE: ITEXT.
ENDLOOP.
Regards,
Shankar.
11-12-2014 4:00 PM
Hi,
I tried the code and it works great. I used it in a form. It displays a pop-up asking for text, I took it and updated a text column of a table.
Tnx for sharing.