‎2010 Jun 29 8:27 AM
Dear All ,
I am developing a report in ABAP(smartforms).i have a field containing long text .now i want that whereever user has pressed ENTER KEY the text should be shown in the next line from where the ENTER KEY was pressed .like as under
ABC and company ENTER PRESSED
ABC...123 Address ENTER PRESSED
1457852465 phone
Actualy , when i retrive the text field in the report it shows all the data of text field in a single line .and does not consider the enter key press. i need that wherever the enter key is pressd the data must be shown in the next line.
‎2010 Jun 29 8:50 AM
Hi ,
I didnt understated ABAP Report and again you are saying Smartforms. what exactly you are developing ? Is it a driver program.
For whatever I have understood
Solutions /Suggesions
1> See if Interactive report can work for you , but in that case you will have get texts on the next screen, well that too can be avoided if you reset the sy-lsind. See if this a okey with you , I will take you further on this if you find it okey.
2> You can search and try out something in object oriented report.
Regard,
Uma Dave
‎2010 Jun 29 9:03 AM
Sir, Actually I am developing a report using Smartforms. In this report I need to display a text field which contain almost 150 charachters. I am getting the output in a single line on the report, although the user has pressed ENTER Key at some places in the text area while making the entry. But my requirement is to display the field in such a way that wherever the enter is pressed, the text should be shown in next line from where the ENTER was pressed for example:
25569-
abc - xyz - 123456
New York,
USA.
But I get the result on report as follows.
25569- abc - xyz - 123456 New York, USA.
Hope you understand.
‎2010 Jun 29 11:53 AM
Respected sir,
sir please give me email id then i send detail this problem
‎2010 Jun 29 12:33 PM
Okey
I have a following solution for this requirement .
1> Have a interactive report (I hope you know about how to go about it , if not then refer this link
http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP-3LevelsInteractive+Report)
2> then for the text 123456789abcdefghijklmn
on the first enter you show
12345 by coding under if sy-lsind = 1
on second enter , you will be moved to next screen there u will show
12345
6789a
by coding under if sy-lsind = 2
on third eneter , you will be moved to next screen there u will show
12345
6789a
bcdef
by coding under if sy-lsind = 3
and so on.
does this sound good for you?
I hope this will solve your query.
Regards,
Uma Dave
‎2010 Jun 29 11:58 AM
Hi,
U are Telling Report & Smartform .
That Long text do u want to display on Selection Screen or on Form Output .
‎2010 Jun 29 12:29 PM
sir send me you email id .then i send all detail with snap shot problem.