<?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: Perform statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927362#M60137</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´m not very sure but i think sapscript just allowed 72 columns.&lt;/P&gt;&lt;P&gt;try something with tlinetab-tdformat = '=' to make the line continue.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2005 16:42:39 GMT</pubDate>
    <dc:creator>former_member182371</dc:creator>
    <dc:date>2005-06-13T16:42:39Z</dc:date>
    <item>
      <title>Perform statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927361#M60136</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;I am using perform statement in sap script.&lt;/P&gt;&lt;P&gt;I need take a "Terms of payment" text in a PO, the length of text is 180, but when return the text to script only take the 80 first words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: text(255) type c.
call function 'READ_TEXT'
  exporting
   id = id
   language = language "sy-langu
   name = name
   object = object
  tables
   lines = tlinetab 
  exceptions
    others = 8.
 if sy-subrc = 0.
  loop at tlinetab.
    concatenate text tlinetab-tdline into text
    separated by space.
  endloop.
 endif.
 clear tlinetab.
 refresh : tlinetab.  clear tlinetab. 
 read table out_table with key name = 'TEXT'.
 ind = sy-tabix.
 write text to out_table-value.
 out_table-value = out_table-value.
 modify out_table index ind.

**********
The Sap Script code is:

/:   DEFINE &amp;amp;ZID&amp;amp; = 'F07'                
/:   DEFINE &amp;amp;ZOBJECT&amp;amp; = 'EKKO'           
/:   PERFORM TEXTOS IN PROGRAM ZPEDIDO   
/:     USING &amp;amp;ZOBJECT&amp;amp;                   
/:     USING &amp;amp;ZID&amp;amp;                       
/:     USING &amp;amp;EKKO-EBELN&amp;amp;                
/:     CHANGING &amp;amp;TEXT&amp;amp;                 
/:   ENDPERFORM &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I´m debugging the ABAP program the value that take the variables text and out_table-value is correct, but in the script is wrong.&lt;/P&gt;&lt;P&gt;How I resolve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for u help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 16:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927361#M60136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-13T16:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927362#M60137</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´m not very sure but i think sapscript just allowed 72 columns.&lt;/P&gt;&lt;P&gt;try something with tlinetab-tdformat = '=' to make the line continue.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 16:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927362#M60137</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2005-06-13T16:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927363#M60138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;I dont see any issue with code, can you check if the window size is small ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the size of the window and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, &lt;/P&gt;&lt;P&gt;Mano Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 16:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927363#M60138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-13T16:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927364#M60139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mano Sri, the variable "TEXT" is truncate when return to script. When this variable is in ABAP is ok, but when return to script is wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 19:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927364#M60139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-13T19:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927365#M60140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is your variable &amp;amp;TEXT&amp;amp; declared? &lt;/P&gt;&lt;P&gt;If it is done as a locale variable in the SAPscript form using the "DEFINE" clause, the maximum length will be 60 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to define a variable in your main print program. This might work better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/EN/d1/8031d0454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/EN/d1/8031d0454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arjan Aalbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 06:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/927365#M60140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T06:35:27Z</dc:date>
    </item>
  </channel>
</rss>

