<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: multiple lines in Strings in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267318#M149429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare itab of type material desc + locations&lt;/P&gt;&lt;P&gt;SPLIT f AT g INTO TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure u can user SPLIT in smartforms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Apr 2006 10:08:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-13T10:08:04Z</dc:date>
    <item>
      <title>multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267309#M149420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we add multiple lines data to string.&lt;/P&gt;&lt;P&gt;I have decleared a variable v_desc of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several materials. So i want to print each Maerial description and its location in one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, i am concatenating Material description and Location to v_desc. it simply adds the data on the same line which i dont want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this string v_desc in SO10 text. I dont want to use LOOP statement in SO10 text to print line by line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me to suggest to diplay line by line using strings for SO10 text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267309#M149420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T08:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267310#M149421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SO10, SE71 , write statement&lt;/P&gt;&lt;P&gt;   don't recognise LINE FEED , CR_LF characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Neither do they work / print based on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. We have to use loop,&lt;/P&gt;&lt;P&gt;   with ELEMENT (/E)&lt;/P&gt;&lt;P&gt;   to write line by line.&lt;/P&gt;&lt;P&gt;  Thats the way all layouts work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;4. As such u must already be using loops &lt;/P&gt;&lt;P&gt;   to Concatenating the material code and description,&lt;/P&gt;&lt;P&gt;   one by one.&lt;/P&gt;&lt;P&gt;  So in the same loop, u can use WRITE_FORM&lt;/P&gt;&lt;P&gt;  to print the element.&amp;lt;/b&amp;gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267310#M149421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T08:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267311#M149422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your information.&lt;/P&gt;&lt;P&gt;I will tell you exactly what i am doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO10 Text are prepared by some other functional consultant. There is lot of statis information and somehow having dynamic text to print. This dynamic text is my variable v_desc data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that, i just need to pass a single variable which having muliple lines of Material Description &amp;amp; Location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SO10 text is used in SMARTFORMS directly using 'INCLUDE TEXT' option for TEXT node.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267311#M149422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T08:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267312#M149423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think it is possible to have multiple lines in a string variable.You cannot avoid using Loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You can create any internal table having  a field of type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Concatenate material description and location into that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Append that field to the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.Loop on the table and print the value on different lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sameena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267312#M149423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T08:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267313#M149424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sameena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have this logic but need to avoid it as per my requirement and future changes in the same SO10 text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per future edits for SO10 text, we should not add more technical logic in that rather than simple variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267313#M149424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T08:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267314#M149425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you know how many materials and their location are present?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know that then maybe you could but them in different variables, if the number is not very large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sameena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 09:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267314#M149425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T09:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267315#M149426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sameena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Materials are not limit to take limited variables. As we know, its always changes according to the Sales Contracts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We cannot use LOOP statements directly in SO10 Texts as its simply ignores /E (or) /:   .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not working on Scripts to LOOP in print program and call to corresponding Text Element. I am using SMARTFORMS and Include Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i must sent all the data into single variable before it prints along with Text Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats why i took string variable to concatenate all materials description and location. But somehow needed to print line by line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think, can we add '\n' charecter after each line to trigger next line...  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 09:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267315#M149426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267316#M149427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can't you create a table, pass all the MATERIAL DESC + LOCATION as one row per material.&lt;/P&gt;&lt;P&gt;In the FORM, loop at the table and print the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 09:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267316#M149427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T09:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267317#M149428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;In Smartforms you can put the include text inside &lt;/P&gt;&lt;P&gt;LOOP ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can then pass the material desc and location from the table to the include text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to print the include text separately for every material, or the include text is printe donly once and then a list of material desc + locations is printed? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rashmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 09:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267317#M149428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T09:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267318#M149429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare itab of type material desc + locations&lt;/P&gt;&lt;P&gt;SPLIT f AT g INTO TABLE itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure u can user SPLIT in smartforms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 10:08:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267318#M149429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T10:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267319#M149430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rashmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure that you are wrong. Because, if you keep any command line statements or /E  in SO10 Text, those will be automatically deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to make sure, please debug any smartform which having SO10 include text that having command line or /E statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug, it deletes those statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 10:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267319#M149430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T10:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267320#M149431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree that SMART Forms deletes the formatting commands. But you just wanted to print concatenated MATERIAL DESC, LOCATION info, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 10:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267320#M149431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T10:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267321#M149432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram, &lt;/P&gt;&lt;P&gt;May be u r right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you actually trying to print? The standard text has to be repeated everytime for every new material desc + location or has to be printed only once and then a list of all the material desc +location ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using "Include Text" text type in smartform text window?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rashmi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rashmi Joshi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 10:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267321#M149432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T10:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267322#M149433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi/ Rashmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i am printing 'Contract Agreement Letter'.&lt;/P&gt;&lt;P&gt;So, the plain text will be stored in the SO10 Standard Text lets say ZTEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, This letter having some static text and also has to describe about the materials description and location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My functional consultant created ZTEXT for that letter. So, i will have to display list of materials description as following format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To:                                  Company:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; XXXXXXXXXXXXXXXXXXXX                 XXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt; XXXXXXXXXXXXXXXXXXXX                 XXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Dear Customer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;...with the following materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1. ssssssssssssssssssssss, London.&lt;/P&gt;&lt;P&gt;  2. wwwwwwwwwwwwwwwwwwwwww, Birmingham.&lt;/P&gt;&lt;P&gt;  3. eeeeeeeeeeeeeeeeeeeeee, Manchester.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The complete letter is stored in SO10 text ZTEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the letter format. Here 1,2,3 are materials description and location. Materials are not limited. It may vary depends on agreement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the place of 1,2,3 they just used one variable v_desc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i just have to populate v_desc. When we use v_desc as string. It simply appends all records. but i want to display line by line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you have understand my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, i have to say: i already followed one process which works pretty good using one READ_TEXT, two SAVE_TEXT and one LOOP statements. But i will have to use simple and reliable method. Thats why posted my issue to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not a simple smartform. Because it requires more than 12 MAIN WINDOWS, each MAIN WINDOW having different format, different logic and complexity is very high.  &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do it but i will have to findout simple methods so that in the future, next developer will be able to understand if it needed to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 11:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267322#M149433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267323#M149434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can't you prepare a ITAB with MATERIAL DESC, LOCATION as two columns and pass that to the SMART Form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is done, AFTER you INCLUDE TEXT, LOOP at the TABLE (TABLE OBJECT) and display this data. Now, if you want Concatenated to be passed directly to the form you can do that as well.&lt;/P&gt;&lt;P&gt;However, I suggest you pass it as two different columns and inside the LOOP of the TABLE object, Concatenate and print the STRING, you would need only one LINE TYPE with fill WIDTH of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still disagree?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 11:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267323#M149434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T11:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267324#M149435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your information, &lt;/P&gt;&lt;P&gt;If i use LOOP statement after INCLUDE TEXT, records will be displayed at the end of letter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But records has to be displayed in the middile of the letter. And we dont want to split the SO10 Text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 11:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267324#M149435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T11:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267325#M149436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is little weird, you can't maintain one single text and expect to insert some thing in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion the best solution for this is to maintain two different SO10 texts and display your data. You will have to convince the functional consultants explaining the limitation so that you have a decent technical solution for the same. Other wise its going complicate and increase the maintenance of the SMART Form which probably is costlier than maintaining two different individual texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark the answers, if helped you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 11:59:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267325#M149436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T11:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267326#M149437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried several times to convince them but failed because there is good reason for that as they are using this single SO10 text for more than 7 to 10 smartforms. So, It is splited the SO10 text for each form, they already have developed all forms and are used in the production system as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, i dont want to fezz them again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 12:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267326#M149437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T12:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: multiple lines in Strings</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267327#M149438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you said the ZTEXT has the content where in place of the following, it has got V_DESC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ssssssssssssssssssssss, London.&lt;/P&gt;&lt;P&gt;2. wwwwwwwwwwwwwwwwwwwwww, Birmingham.&lt;/P&gt;&lt;P&gt;3. eeeeeeeeeeeeeeeeeeeeee, Manchester.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you change the design to two text ZTEXT and ZTEXT2. The Ztext will contain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To: Company: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Customer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;...with the following materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the ZTEXT2 will contain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mid part can be managed with the loop and then you can output using a loop the following stuff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ssssssssssssssssssssss, London.&lt;/P&gt;&lt;P&gt;2. wwwwwwwwwwwwwwwwwwwwww, Birmingham.&lt;/P&gt;&lt;P&gt;3. eeeeeeeeeeeeeeeeeeeeee, Manchester.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which means, in the smartforms, you have:&lt;/P&gt;&lt;P&gt;include text (ZTEXT)&lt;/P&gt;&lt;P&gt;and then you have the loop to write the article and location&lt;/P&gt;&lt;P&gt;and then another include text (ZTEXT2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just in case if the texts as well depend on a specific logic which may vary say ZTEXT or ZTEXT20, and likewise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then probably you can build a table from where based on the output condition type or whatever be the stuff in your case, you retrieve the name of the ZTEXT and use that to output the texts dynamically. So even in that case you can use the combiation of include text, loop and then another include text. Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 13:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-lines-in-strings/m-p/1267327#M149438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-13T13:54:13Z</dc:date>
    </item>
  </channel>
</rss>

