<?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: Output documents and SAP Scripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786910#M911045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.Standard Text is client dependent.So,in scripts we can handle as done.&lt;/P&gt;&lt;P&gt; 2.There is another option,The conditions can call in the layout and pass the condition type and write include text .&lt;/P&gt;&lt;P&gt;3.The hardcoded text can be maintained in the SO10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 06:37:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T06:37:21Z</dc:date>
    <item>
      <title>Output documents and SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786909#M911044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have an ever increasing problem with Sap Scripts and driver programs for Output Documents. There is a lot of hard coded stuff in the driver programs based on output type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;If nast-kschl = 'XX'
 Do something 
elseif nast-kschl = 'YY' 
 Do something else 
Endif&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is causing a lot of maintainance problems. Logically, such conditional behavior is required. We need to execute different logic for different output types. Similarly there are hard coded conditions based on parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * from knvk where kunnr = hardcoded and abtnr = hardcoded&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that all this custom hard coded logic is dispersed through out the program and it becomes difficult to maintain them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering how folks on SDN have tackled this problem at your various clients.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:19:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786909#M911044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Output documents and SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786910#M911045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.Standard Text is client dependent.So,in scripts we can handle as done.&lt;/P&gt;&lt;P&gt; 2.There is another option,The conditions can call in the layout and pass the condition type and write include text .&lt;/P&gt;&lt;P&gt;3.The hardcoded text can be maintained in the SO10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 06:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786910#M911045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T06:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Output documents and SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786911#M911046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S Kumar -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you may have misunderstood my original question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider this scnerio: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;If nast-kschl = 'XX'
     var1 = A 
     var2 = B
elseif nast-kschl = 'YY'
     var1 = C
     var2 = D
Endif&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is a simplified version of what the problem is. There are many output types and many different business logic that are conditionally applied. This is creating havoc in my driver programs. Plus these are 10 year old driver programs. They have been maintained over and over again and numerous changes have taken place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would not want to face a similar issue for our next implemention and am wondering what the best solution to this problem would be. Going Smartforms? Would that help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 07:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786911#M911046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T07:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Output documents and SAP Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786912#M911047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.If u use smartforms ,u can write the conditions in program lines ,wherever  u need.&lt;/P&gt;&lt;P&gt; 2.Total conditions need not be put in driver program.So it appears simply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in scripts ,we cann't write other than that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 07:49:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-documents-and-sap-scripts/m-p/3786912#M911047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T07:49:15Z</dc:date>
    </item>
  </channel>
</rss>

