‎2015 Jul 21 2:31 PM
Hi Gurus,
The standard function module for DELVRY05 Idoc structure uses READ_TEXT function module to populate text in the Delivery Idoc. I see an issue with this function module. It splits the 1st line after 72 characters with TD = " * " and other lines are allowed for 132 characters with TD = " = ". Is this an issue in the SAP standard function module?
Basically, the text in my delivery is 73 characters long, so the function module splits the text into 1st line with 72 characters and 2nd line with 1 character. The Idoc as a result has two TDLINE subsegments which makes it difficult for our 3rd Party to read this. they want the text in one segment.
Can someone explain why this is happening?
‎2015 Jul 22 4:00 AM
Hello,
Why the format is as what you are seeing because for each line, there
is a maxmum line width when you save it to ITF, in your case, it is 72.
This can be seen in Tcode SE75, please click change and select the corresponding
object.
Regards,
Wen Peng
‎2015 Jul 22 4:00 AM
Hello,
Why the format is as what you are seeing because for each line, there
is a maxmum line width when you save it to ITF, in your case, it is 72.
This can be seen in Tcode SE75, please click change and select the corresponding
object.
Regards,
Wen Peng
‎2015 Jul 22 6:06 AM
Thanks for your answer. That explains the line width of 72 characters for the 1st line. But from the 2nd line, it does allow 132 characters for each line. How is that happening?
‎2015 Jul 22 6:45 AM
Hello,
In SO10, if you enter the text with the formatting below, the length should be 132 characters
* 12345678901234567890123456789012345678901234567890123456789012345678
= 12345678901234567890123456789012345678901234567890123456789012
OR
* 1234567890123456789012345678901234567890123456789012345678901234567890
12345678901234567890123456789012345678901234567890123456789012
The paragraph formats '='(Extended Line) or ' '(Continuous Text) should
ensure there is no line break in the ITF format.
However, the following example will split the first line with 72 characters
* 12345678901234567890123456789012345678901234567890123456789012345678
* 12345678901234567890123456789012345678901234567890123456789012
I am not sure is it explained the behavior of yours, if not, please attach some screenshots
of the text in SAPScript editor view where we can see the exact formats and the output.
Regards,
Wen Peng
‎2015 Jul 22 8:05 AM
For Splitting text in correct manner you can try for FM RKD_WORD_WRAP.. It Splits the character in a very good manner.Hope it will helps you.
Regards,
Ravi