2007 Jun 28 9:28 AM
Hi,
for the input/output field i need to give scrolling because in my dialog programing i have a email field
Emailto -
input/output field -
if i type emails it should scroll and accept, Can any one tell me the logic
2007 Jun 28 9:33 AM
Hi,
If the field size is more than the visible length then I think scroll bar come automatically.
Regards,
Atish
Hi,
If the field size is more than the visible length then I think scroll bar come automatically.
Regards,
Atish
2007 Jun 28 9:31 AM
Hi,
If you field lenth is say 40 and if your display length of the field that you have is 20 the text that you type in will automatically appears in the text box along with scrolling.
Regards,
Sesh
2007 Jun 28 9:33 AM
If you going to input multiple email addresses in the field, I would suggest you use a table control to achieve the same, since a text field has a maximum length of 255.
To make a field scrollable, you need to tick the property 'Scrollable' for the field in the Screen properties, and specify the max. length. The display length gives the width of the field that the user will see on the screen.
Hope this helps.
Sudha
2007 Jun 28 10:30 AM
HI,
i have ticked the option as scrollable, but i should type that email address in input/output field and if i press enter it should get inserted in the database table, from database table i need to display on the table control, if i give many mail address to this input/output field it is showing ong text, can any one say me the logic
2007 Jun 28 10:54 AM
Hi sravanthigopal ,
If you want to enter multiple value ,you can use table control.There you can have multiple email-id.Or else you can enter the E-mail adddres in i/o field and display it in table control by appending screen field value into one internal table.
Eg.
PROCESS BEFORE OUTPUT.
LOOP AT it_email INTO x_email
WITH CONTROL tc
CURSOR tc-current_line.
MODULE tc_get_lines.
ENDLOOP.
PROCESS AFTER INPUT.
<b>Module W_Email_id ON-REQUEST.</b>
Loop at it_email .
Endloop.
Module w_email_id.
read table it_email into x_email with key id = w_email_id.
if sy-subrc ne 0.
x_emai-id = w_email_id.
append x_email to it_email.
clear x_email.
Endif.
Endmodule.
Message was edited by:
Vigneswaran S
Message was edited by:
Vigneswaran S
2007 Jun 28 9:33 AM
Hi,
If the field size is more than the visible length then I think scroll bar come automatically.
Regards,
Atish
2007 Jun 28 1:04 PM
Hi,
If u want multiple mail ids, enter them in the I/O box seperated by ','.
in PAI, truncate the string at ','. then move these fields into the DDIC table.
with regards,
Vamsi
2007 Jul 02 11:47 AM
2007 Jul 04 4:43 AM
use the command split.
SPLIT txt_fiels AT ',' INTO field1 field2 etc.
with regards,
Vamsi
reward the points if useful.
2015 Jun 01 12:16 PM
hi sravanthi,
for that go to screen layout(i.e. screen painter) double click on field which u want u will get screen attributes in that one check box is there SCROLLABLE check that check box and give defined lenth for that.
with regards,
sabiha.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |