<?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 line issue in sap script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279403#M496148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The loop will work only on a MAIN window.&lt;/P&gt;&lt;P&gt;if the window is any other then it overwrites at the same location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can move your TEXT ELEMENT to the MAIN WINDOW &lt;/P&gt;&lt;P&gt;then your Logic Will Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not possible to use MAIN window ,then solution provided by Anji is the best option &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward Points if useful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2007 10:46:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-24T10:46:14Z</dc:date>
    <item>
      <title>multiple line issue in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279400#M496145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a window in the sap script.&lt;/P&gt;&lt;P&gt;The window consists of a text element and i am displaying 4 lines of text in that window.&lt;/P&gt;&lt;P&gt;Sap script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/E   Reason&lt;/P&gt;&lt;P&gt;AC  &amp;amp;LINE&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the source code, an internal table will have 5 text lines and those 5 lines should be reflected in sap script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source code as follows.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at li_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              NAME  = 'LINE'&lt;/P&gt;&lt;P&gt;              VALUE = li_tline-tdLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            ELEMENT = 'REASON'&lt;/P&gt;&lt;P&gt;            WINDOW  = 'REASON'&lt;/P&gt;&lt;P&gt;            function = 'APPEND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In final output, the last line of the internal table is reflacting..... Hope its getting over written each time in the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make the code, so that i can reflect all the lines from internal table to the sap script....??????????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me, as this issue is very much urgent..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 10:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279400#M496145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line issue in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279401#M496146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Do like this.&lt;/P&gt;&lt;P&gt;declare 5 variables each of 80 char length.&lt;/P&gt;&lt;P&gt;data: v1(80), v2(80), v3(80), v4(80), v5(80).&lt;/P&gt;&lt;P&gt;Read the Internal table li_tline with index and move each line to different variables and write those variables in the script.&lt;/P&gt;&lt;P&gt;if not li_tline[] is initial.&lt;/P&gt;&lt;P&gt;read table li_tline  index 1.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   v1 = li_tline-tdline+0(80).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;read table li_tline  index 2.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   v2 = li_tline-tdline+0(80).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table li_tline  index 3.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   v3 = li_tline-tdline+0(80).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table li_tline  index 4.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   v4 = li_tline-tdline+0(80).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table li_tline  index 5.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   v5 = li_tline-tdline+0(80).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the &amp;amp;V1&amp;amp; &amp;amp;V2&amp;amp; &amp;amp;V3&amp;amp; &amp;amp;V4&amp;amp; &amp;amp;V5&amp;amp; variables ins cript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 10:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279401#M496146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T10:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line issue in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279402#M496147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare individually the fileds int he internal table i think it works &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if helpfull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 10:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279402#M496147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T10:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: multiple line issue in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279403#M496148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The loop will work only on a MAIN window.&lt;/P&gt;&lt;P&gt;if the window is any other then it overwrites at the same location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can move your TEXT ELEMENT to the MAIN WINDOW &lt;/P&gt;&lt;P&gt;then your Logic Will Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not possible to use MAIN window ,then solution provided by Anji is the best option &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward Points if useful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 10:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-line-issue-in-sap-script/m-p/2279403#M496148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T10:46:14Z</dc:date>
    </item>
  </channel>
</rss>

