‎2007 Aug 08 7:44 AM
Dear all,
In my smartform i am printing include text of me22n text genral memo .
its working fine .
but I want to print only 70 char of it , how to do restiction here , bcoz this is inclue not text element.
Text Name &ST_HEAD-EBELN&
Text Object EKKO
Text ID F15
Language EN
******************Point is assurd*****************
‎2007 Aug 08 7:53 AM
Hi,
Try these options....
&field+<offset>&
Skips offsets (<offset>) in the field value (character fields only). If the offset is greater than the length of the value, nothing is displayed.
&field(<length>)&
Sets the output length to <length>.
Regards,
Sankar
‎2007 Aug 08 7:53 AM
Hi,
Try this one
Text Name &ST_HEAD-EBELN+0(70)& " This is the way we give the offset i nteh Scripts
Text Object EKKO
Text ID F15
Language ENRegards
Sudheer
‎2007 Aug 08 7:54 AM
Hi,
use the function module
read_text and pass the values
Text Name &ST_HEAD-EBELN&
Text Object EKKO
Text ID F15
Language EN
to the above function
for this write program lines
and the output of the function module store it
and take only the first 70 characters into a variable
and display it
thanks & regards,
venkatesh
‎2007 Aug 08 7:56 AM
Hi
You can't print upto 70 char just like that
Create Program Lines in the Smartform in that window
and writye the code for READ_TEXT fun module and pass these 4 paramaters to it
then you will get the Text in the internal table field
then you can offset that text field as
/ &TLINE-TEXT+0(70)&
this will help you correctly to print only 70 char of that text field
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Aug 08 7:57 AM
Hi Jim,
you can use include ... PARAGRAPH XX
XX is an own paragrah wich you can define with your outputlenght.
Regards, Dieter
‎2007 Aug 08 1:52 PM
Hi Anji Reddy and all who reply thanks
as anji logic work here ,
point has been given to you Anji Reddy...
Jim..