<?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 Sapscript - displaying two text fields after truncating the spaces. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728380#M897375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a sapscript, I have to display the name of the vendor which is in two different fields each of length 40 chars. The first one may be filled to the maximum and the remaining goes into the second field and may occupy only 30 or 35 chars. I need to display the two side by side and the space available is 70 chars. I am using an existing script and I am not able to print the two side by side. It is going to the next line. How do I truncate the trailing spaces of either field. Please help. It is quite urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2008 08:00:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-24T08:00:20Z</dc:date>
    <item>
      <title>Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728380#M897375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a sapscript, I have to display the name of the vendor which is in two different fields each of length 40 chars. The first one may be filled to the maximum and the remaining goes into the second field and may occupy only 30 or 35 chars. I need to display the two side by side and the space available is 70 chars. I am using an existing script and I am not able to print the two side by side. It is going to the next line. How do I truncate the trailing spaces of either field. Please help. It is quite urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 08:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728380#M897375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T08:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728381#M897376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make use of condense thhat is  e.g.&lt;/P&gt;&lt;P&gt;&amp;amp;field1(C)&amp;amp;&lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 08:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728381#M897376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T08:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728382#M897377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate the two fields in to a String variable with separated by space .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this could work try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 08:25:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728382#M897377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T08:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728383#M897378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindu...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried with concatinating....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 08:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728383#M897378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T08:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728384#M897379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried using the &amp;amp;field(C)&amp;amp; in the text editor but it has not worked. I have not changed anywhere else and I have not touched the driver program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;BP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 08:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728384#M897379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T08:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728385#M897380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wht are the fields you need to display...can You plz send the code so that I can change it..and send You ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 09:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728385#M897380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T09:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728386#M897381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well this is the f110_prenum_chck. and the fields are reguh-znme1, reguh-znme1. &lt;/P&gt;&lt;P&gt;This comes in the address in check  section where only the field name 1 and name 2 are required to be displayed. &lt;/P&gt;&lt;P&gt;My editor has the following.&lt;/P&gt;&lt;P&gt;ADDRESS PARAGRAPH AS&lt;/P&gt;&lt;P&gt;  NAME        &amp;amp;REGUH-ZNME1&amp;amp;, &amp;amp;REGUH-ZNME2&amp;amp;&lt;/P&gt;&lt;P&gt;  NAME        &amp;amp;REGUD-ZNM1S&amp;amp;, &amp;amp;REGUD-ZNM2S&amp;amp;&lt;/P&gt;&lt;P&gt;  ADDRESSNUMBER&lt;/P&gt;&lt;P&gt;ENDADDRESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help out. slightly urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 10:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728386#M897381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T10:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728387#M897382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Increase the window length in Layout .&lt;/P&gt;&lt;P&gt;This may be due to that. If the window is small then the values will come to next line automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 10:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728387#M897382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T10:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728388#M897383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raam,&lt;/P&gt;&lt;P&gt;I cannot increase it more than 72 chars, I get an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;BP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 10:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728388#M897383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T10:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728389#M897384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Decrease the font size in charecter format .&lt;/P&gt;&lt;P&gt;Due to this u may adjust them side by side&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards ,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728389#M897384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728390#M897385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the perform to concatenate name1 and name2 to NAME and use this field in address command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   DEFINE &amp;amp;ZNAME&amp;amp; = ''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM ADDRESS IN PROGRAM 'PROGRAM'&lt;/P&gt;&lt;P&gt;USING    &amp;amp;REGUH-ZNME1&amp;amp;  &lt;/P&gt;&lt;P&gt;USING    &amp;amp;REGUH-ZNME2&amp;amp;                              &lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;ZNAME&amp;amp;                        &lt;/P&gt;&lt;P&gt;ENDPERFORM                                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM address&lt;/P&gt;&lt;P&gt;          TABLES itab STRUCTURE itcsy&lt;/P&gt;&lt;P&gt;                 otab STRUCTURE itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;    CASE itab-name.&lt;/P&gt;&lt;P&gt;      WHEN 'REGUH-ZNME1'.&lt;/P&gt;&lt;P&gt;        l_name1 = itab-value.&lt;/P&gt;&lt;P&gt;      WHEN 'REGUH-ZNME2'.&lt;/P&gt;&lt;P&gt;        l_name2 = itab-value.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the logic.&lt;/P&gt;&lt;P&gt;Endform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728390#M897385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728391#M897386</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;Is it not possible to do something without interfering with the driver program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;BP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728391#M897386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T11:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728392#M897387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bindu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the perform in some subroutine pool or any program ,no need to touch the drive program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 12:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728392#M897387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T12:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript - displaying two text fields after truncating the spaces.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728393#M897388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting it. &lt;/P&gt;&lt;P&gt;Cud u please give a step by step procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be obliged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 12:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-displaying-two-text-fields-after-truncating-the-spaces/m-p/3728393#M897388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-24T12:42:26Z</dc:date>
    </item>
  </channel>
</rss>

