<?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: conflict when 2 sapsripts access same standard text ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-when-2-sapsripts-access-same-standard-text/m-p/7027833#M1498948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I had to use standard texts (not a bad approach), I would serialize them or otherwise make them unique with userid, date/time or something, so that the user would not be trying to write the same name into the text tables.  It's possible to construct a text name and use that in the SAPScript, I'd think  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating with the same name could, as you point out, result in wrong texts appearing in the SAPScripts....  And, you probably need to dump those texts after they're used, unless they're going to be used again, lest you end up iwth a few million rows of standard texts...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jun 2010 15:29:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-18T15:29:07Z</dc:date>
    <item>
      <title>conflict when 2 sapsripts access same standard text ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-when-2-sapsripts-access-same-standard-text/m-p/7027832#M1498947</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;I have a question on standard texts created dynamically in the print program of the sapscript &lt;/P&gt;&lt;P&gt;and accessed in the sapscript using the /: INCLUDE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a print program for 2 output types and each one of them deal with different layouts. But both need to display &lt;/P&gt;&lt;P&gt;some textual data related to the material they print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So say user 1 is printing output 1 which may print materials 20001 and 20002.&lt;/P&gt;&lt;P&gt;And user 2 is printing output 2 which may print materials 20001 and 20003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the print program is same and my logic loops thru the materials and for each material it&lt;/P&gt;&lt;P&gt;forms some textual content and using save_text stores in standard text named 'ztext'. This is included&lt;/P&gt;&lt;P&gt;in the sapscripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is on the conflict. When user 1 and 2 simultaneously run the same print program (which &lt;/P&gt;&lt;P&gt;uses the same standard text for all outputs) can I expect conflict ?? How Should this be dealt with ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my question is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pl advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Actually I am trying to pass an internal table of data to the sapscript and rather than passing it&lt;/P&gt;&lt;P&gt;I googled and found that we can use this approach of saving the internal table data in a standard text&lt;/P&gt;&lt;P&gt;and using it in sapscript. Hence followed this approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 14:50:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-when-2-sapsripts-access-same-standard-text/m-p/7027832#M1498947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T14:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: conflict when 2 sapsripts access same standard text ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-when-2-sapsripts-access-same-standard-text/m-p/7027833#M1498948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I had to use standard texts (not a bad approach), I would serialize them or otherwise make them unique with userid, date/time or something, so that the user would not be trying to write the same name into the text tables.  It's possible to construct a text name and use that in the SAPScript, I'd think  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating with the same name could, as you point out, result in wrong texts appearing in the SAPScripts....  And, you probably need to dump those texts after they're used, unless they're going to be used again, lest you end up iwth a few million rows of standard texts...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jun 2010 15:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conflict-when-2-sapsripts-access-same-standard-text/m-p/7027833#M1498948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-18T15:29:07Z</dc:date>
    </item>
  </channel>
</rss>

