<?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: two sapscript in one in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364808#M523506</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;  s...u can do it by placing the same two fields in two different text elements in the script and call them each based on the condition in your driver program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like this in your write_form&lt;/P&gt;&lt;P&gt;if.&lt;/P&gt;&lt;P&gt;call text-element a&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;call text-element b&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2007 08:03:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-07T08:03:27Z</dc:date>
    <item>
      <title>two sapscript in one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364807#M523505</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 to design two similar sapscripts with barcodes. The difference between them is two fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is if it's possible to design only one sapscript with all these fields overlapped and print the fields needed every time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And with smartforms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 08:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364807#M523505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T08:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: two sapscript in one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364808#M523506</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;  s...u can do it by placing the same two fields in two different text elements in the script and call them each based on the condition in your driver program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like this in your write_form&lt;/P&gt;&lt;P&gt;if.&lt;/P&gt;&lt;P&gt;call text-element a&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;call text-element b&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 08:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364808#M523506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T08:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: two sapscript in one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364809#M523507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes just put conditon when printing that field...or you can either put same field but changed its value in the print program before printing..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 08:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364809#M523507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T08:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: two sapscript in one</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364810#M523508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alberto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible with smartforms i'm not sure about scripts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in smartform u can use IF condition to check the related field&lt;/P&gt;&lt;P&gt;U try to use the same if condition in scripts also check whether it is possible or not &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpfull&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 08:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-sapscript-in-one/m-p/2364810#M523508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T08:06:12Z</dc:date>
    </item>
  </channel>
</rss>

