‎2014 Oct 06 10:20 AM
Hello experts,
Is there any option to split the include text at the script level.
I want to split the text in to two lines, this text is fetched using READ_TEXT function module.
Regards,
Priya
‎2014 Oct 06 11:03 AM
Hi,
Pls Elaborate your requirement with an example of how you want to split the text. You always want to split into two lines, how many lines you may have while using read_text........
Regards,
K.S
‎2014 Oct 06 11:36 AM
I want to limit the no of characters being printed in the line. I have tried with the outputlength/Fixed character option in the paragraph format . But it is not working.
My requirement is: While displaying the output it is coming finely, but whenever I am taking the print out some characters(last characters of the line) are missing out in the prinout paper.
Thanks.
Regards,
Priya
‎2014 Oct 06 11:09 AM
Hi Priya,
I hope we can split the text using TABLE Keyword in SPLIT Statement as shown below.
"Data Declarations
DATA: itab TYPE TABLE OF string, "IT for string
text TYPE string. "Text
"Assign the Text
text = `Value1 Value2 Value3 Value4`.
"Split the Character
SPLIT text AT space INTOTABLE itab.
Regards
Rajkumar Narasimman
‎2014 Oct 06 11:39 AM
HI,
try to Provide one fixed length in script like &text(70)&
Thanks
‎2014 Oct 06 11:44 AM
INCLUDE &STXH-TDNAME& OBJECT 'AUFK' ID 'AVOT' LANGUAGE EN PARAGRAPH LP
How can I split the text here?
This is the include text.
Regards,
Priya
‎2014 Oct 07 7:40 AM
Hi,
You can split the STXH-TDNAME into two variables and display it as
/: INCLUDE MYTEXT 1
/: INCLUDE MYTEXT 2
MYTEXT1 & 2 can be up
to 70 characters long.
Regards,
K.S