‎2008 Jul 16 10:11 PM
hi,
i have requirement where in a custom transaction user will enter few lines of text.
Like
1. This data blah blah djfhdhfhdhdf
dfkjdkfjldf dfhldhfd
2. This message dklfhldfw fw fwf;wf u;wfwf
wfl wjfwjf jwl;jf;wjfjl'wf
wfj w jfwfw;
How to handle this entry at screen (dynpro) level.
As well what is the best method to store this data ?
Assuming per line the user will type no more than 40 characters.
thks
‎2008 Jul 16 10:52 PM
Hi,
1) For displaying.
Use the text editor control to display the data..Check the demo program RSDEMO_DRAG_DROP_EDIT_TREE on how to create a text editor control.
2) For saving.
You can create a text object / text ID in SE75..Then use SAVE_TEXT & READ_TEXT to save the text.
OR
Create a new table to store the text..
Thanks
Naren
‎2008 Jul 16 10:22 PM
Hi
The data will be stored in one big string however you need to write routine to distribute this in lines (say 40 words) in the dynpro.
You should examine these DB tables by SAP since they store the text data:
SOFFCONT1
HRP1002( Reference to text data).
Regards
Waz
‎2008 Jul 16 10:52 PM
Hi,
1) For displaying.
Use the text editor control to display the data..Check the demo program RSDEMO_DRAG_DROP_EDIT_TREE on how to create a text editor control.
2) For saving.
You can create a text object / text ID in SE75..Then use SAVE_TEXT & READ_TEXT to save the text.
OR
Create a new table to store the text..
Thanks
Naren