‎2010 Aug 19 7:22 PM
Hi Experts,
I want to create a screen with 3 big text-boxes. in a Screen, I take a input/output field but its height is 1 always. How to drag them, is it possible programmatically? Or is there any other control available instead of input/output field?
Further requirement is I need to store that long text into ZTABLES (String type field). Can I create text using SAVE_TEXT, if yes How the input can be taken from screen?
Please help ...
Thanks in advance.
Regards,
Bhavina
‎2010 Aug 19 8:40 PM
You can refer programs saptextedit_demo_1,saptextedit_demo_3
or search for custom control in transaction abapdocu, you will get it.
‎2010 Aug 19 7:33 PM
Hey All,
I Found that Input/output fields can have a maximum defined length of 255 characters. The visualized length is also a maximum of 255 characters.
Any alternative to use textbox in the screen, which takes more then 255 chars and visually look big up to 5-6 lines?
Please help....
Regards,
Bhavina
‎2010 Aug 19 8:40 PM
You can refer programs saptextedit_demo_1,saptextedit_demo_3
or search for custom control in transaction abapdocu, you will get it.
‎2010 Aug 19 9:02 PM
Hi Keshav,
Thanks for the reply. I have checked that custom control - Text Edit Control, it has few buttons at up, which I dont required. I required normal text box only. Is it possible to make that line of buttons invisible?
Regards,
Bhavina
‎2010 Aug 19 10:17 PM
Hi,
I donot have a sap connection right now , you can check it yourself or i ll let you know tomorrow.
‎2010 Aug 19 10:55 PM
Thanks Keshav,
Problem got solved. As I had to find it today, I had explored more attributes of editor control and I found TEXT_EDITOR->SET_TOOLBAR_MODE and TEXT_EDITOR->SET_STATUSBAR_MODE methods to set the values FALSE. So statusbar and toolbar will not appear and it will look like multi-line text box as I wanted.
Regards,
Bhavina