<?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 SAP Script Standard Text Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-standard-text-issue/m-p/6879197#M1478273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give some suggestion in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 4 windows in a SAP Scripts in footer window i want to print text based on condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Add text field containing the VAT directive based on the following conditions

A0 Debit VAT Exempt according to art.44 of BE VAT Code
A0 Credit or VAT Exempt according to Art.135 Directive 2006/112/EC
A4 Debit VAT due by the Co-contracting party according to Art.51$2,5 ,of BE VAT Code
A4 Credit or VAT Due by the customer according to Art.194 of Directive 2006/112/EC



Eg:
for a debit posting with Tax code A0 insert text "VAT Exempt according to art.44 of BE VAT Code"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want this type of output for this in which way i need to approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Surendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 May 2010 03:35:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-17T03:35:50Z</dc:date>
    <item>
      <title>SAP Script Standard Text Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-standard-text-issue/m-p/6879197#M1478273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give some suggestion in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 4 windows in a SAP Scripts in footer window i want to print text based on condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Add text field containing the VAT directive based on the following conditions

A0 Debit VAT Exempt according to art.44 of BE VAT Code
A0 Credit or VAT Exempt according to Art.135 Directive 2006/112/EC
A4 Debit VAT due by the Co-contracting party according to Art.51$2,5 ,of BE VAT Code
A4 Credit or VAT Due by the customer according to Art.194 of Directive 2006/112/EC



Eg:
for a debit posting with Tax code A0 insert text "VAT Exempt according to art.44 of BE VAT Code"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want this type of output for this in which way i need to approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Surendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 03:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-standard-text-issue/m-p/6879197#M1478273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T03:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script Standard Text Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-standard-text-issue/m-p/6879198#M1478274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can put condition in your footer window something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

Example:

IF &amp;amp;T001-BUKRS&amp;amp; = '01'.
INCLUDE &amp;amp;T001G-TXTFU&amp;amp; OBJECT TEXT ID ADRS LANGUAGE E.
ELSEIF &amp;amp;T001-BUKRS&amp;amp; = '02'.
INCLUDE ZTEXT OBJECT TEXT ID ADRS LANGUAGE E.
ELSEIF &amp;amp;T001-BUKRS&amp;amp; = '03'.
INCLUDE ZTEXT2 OBJECT TEXT ID ADRS LANGUAGE E.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 03:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-standard-text-issue/m-p/6879198#M1478274</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2010-05-17T03:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script Standard Text Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-standard-text-issue/m-p/6879199#M1478275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintain these 4 texts in 4 separate standard texts in SO10 i.e. ztext1, ztext2, ztext3, ztext4. Put the tax code and debit or credit in 2 variables i.e. var1 &amp;amp; var2. In your SAPscript check the contents of these two variables and call the standard text accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
/:  if &amp;amp;var1&amp;amp; = 'A0' and &amp;amp;var2&amp;amp; = 'DEBIT'.
*  Call the standtext ztext1
/:  endif.
/:  if &amp;amp;var1&amp;amp; = 'A0' and &amp;amp;var2&amp;amp; = 'CREDIT'.
*  Call the standtext ztext2
/:  endif.
/:  if &amp;amp;var1&amp;amp; = 'A4' and &amp;amp;var2&amp;amp; = 'DEBIT'.
*  Call the standtext ztext3
/:  endif.
/:  if &amp;amp;var1&amp;amp; = 'A4' and &amp;amp;var2&amp;amp; = 'CREDIT'.
*  Call the standtext ztext4
/:  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Also no need to create 4 seperate windows.&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;Dillip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 03:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-standard-text-issue/m-p/6879199#M1478275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T03:59:39Z</dc:date>
    </item>
  </channel>
</rss>

