<?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: script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249384#M775754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can split any text by specifying the max. number of characters that you want in one line by using a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SWA_STRING_SPLIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM splits the data into many lines of an internal table. Each line would contain a maximum of characters specified by you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you could read out the lines of the internal table and format your text as you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if this helps,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 10:02:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T10:02:59Z</dc:date>
    <item>
      <title>script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249380#M775750</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;I want to print the material description &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bon35665(cekonstekkers aansluiten)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in two lines , like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;bon35665(cekonstekkers&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;aansluiten)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do it in script? Plz tell me the code if you can...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martina.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 09:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249380#M775750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T09:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249381#M775751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can split the material description into two strings and using two variable u can print this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 09:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249381#M775751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T09:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249382#M775752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you are working in the scripts you must have the Description in your print program.In the print program create two texts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:lz_text(40) type c,&lt;/P&gt;&lt;P&gt;       lz_text(100) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now split your Desc here into lz_text and lz_text1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lz_text = lz_str+0(40).&lt;/P&gt;&lt;P&gt;lz_text1 = lz_str+40(100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now print these two texts in the two lines in your script.&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;Mueksh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:01:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249382#M775752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T10:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249383#M775753</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;if you need the whole text then you can display that in two lines as&lt;/P&gt;&lt;P&gt;&amp;amp;itab-maktx(20)&amp;amp; in one line and&lt;/P&gt;&lt;P&gt;&amp;amp;itab-maktx+20(20)&amp;amp; in other line.&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;Omkar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:02:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249383#M775753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T10:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249384#M775754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can split any text by specifying the max. number of characters that you want in one line by using a function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SWA_STRING_SPLIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM splits the data into many lines of an internal table. Each line would contain a maximum of characters specified by you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you could read out the lines of the internal table and format your text as you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if this helps,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249384#M775754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T10:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249385#M775755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, exactly....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have taken 2 variables like , &lt;/P&gt;&lt;P&gt; txz01 TYPE txz01,&lt;/P&gt;&lt;P&gt; txz011 TYPE txz01,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and took the values as,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; v_txz01 = wa_final-txz01+0(12).&lt;/P&gt;&lt;P&gt;    v_txz011 = wa_final-txz01+12(28)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, how to make it print in the script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying in the script with 'new-line'. &lt;/P&gt;&lt;P&gt;But i think its not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/script/m-p/3249385#M775755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T10:04:34Z</dc:date>
    </item>
  </channel>
</rss>

