<?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: Literals in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755588#M903508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Here is the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ZVBDKA-VBTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'A'.&lt;/P&gt;&lt;P&gt;TITLE = 'Inquiry'.&lt;/P&gt;&lt;P&gt;WHEN 'B'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Quotation'.&lt;/P&gt;&lt;P&gt;WHEN 'C'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Order'.&lt;/P&gt;&lt;P&gt;WHEN 'E'.&lt;/P&gt;&lt;P&gt;TITLE = 'Scheduling Agreement Confirmation'.&lt;/P&gt;&lt;P&gt;when 'G'.&lt;/P&gt;&lt;P&gt;TITLE = 'Contract Confirmation'.&lt;/P&gt;&lt;P&gt;when 'H'.&lt;/P&gt;&lt;P&gt;TITLE = 'Returns'.&lt;/P&gt;&lt;P&gt;when 'I'.&lt;/P&gt;&lt;P&gt;TITLE = 'Free-of-Charge Delivery'.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;TITLE = 'Credit Memo Request'.&lt;/P&gt;&lt;P&gt;when 'L'.&lt;/P&gt;&lt;P&gt;TITLE = 'Debit Memo Request'.&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TITLE = 'Order Confirmation.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to do like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ZVBDKA-VBTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'A'.&lt;/P&gt;&lt;P&gt;TITLE = 'Inquiry'.&lt;/P&gt;&lt;P&gt;WHEN 'B'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Quotation'.&lt;/P&gt;&lt;P&gt;WHEN 'C'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Order'.&lt;/P&gt;&lt;P&gt;WHEN 'E'.&lt;/P&gt;&lt;P&gt;TITLE = 'Scheduling Agreement Confirmation'.&lt;/P&gt;&lt;P&gt;when 'G'.&lt;/P&gt;&lt;P&gt;TITLE = 'Contract Confirmation'.&lt;/P&gt;&lt;P&gt;when 'H'.&lt;/P&gt;&lt;P&gt;TITLE = 'Returns'.&lt;/P&gt;&lt;P&gt;when 'I'.&lt;/P&gt;&lt;P&gt;TITLE = 'Free-of-Charge Delivery'.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;TITLE = 'Credit Memo Request'.&lt;/P&gt;&lt;P&gt;when 'L'.&lt;/P&gt;&lt;P&gt;TITLE = 'Debit Memo Request'.&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TITLE = 'Order Confirmation'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 13:43:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T13:43:33Z</dc:date>
    <item>
      <title>Literals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755586#M903506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote this case statement in the Program lines in smartform with input parameter as zvbdka and output parameter as title.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ZVBDKA-VBTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WHEN 'A'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Inquiry'.&lt;/P&gt;&lt;P&gt;  WHEN 'B'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Sales Quotation'.&lt;/P&gt;&lt;P&gt;  WHEN 'C'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Sales Order'.&lt;/P&gt;&lt;P&gt;  WHEN 'E'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Scheduling Agreement Confirmation'.&lt;/P&gt;&lt;P&gt;  when 'G'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Contract Confirmation'.&lt;/P&gt;&lt;P&gt;  when 'H'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Returns'.&lt;/P&gt;&lt;P&gt;  when 'I'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Free-of-Charge Delivery'.&lt;/P&gt;&lt;P&gt;  WHEN 'K'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Credit Memo Request'.&lt;/P&gt;&lt;P&gt;  when 'L'.&lt;/P&gt;&lt;P&gt;    TITLE = 'Debit Memo Request'.&lt;/P&gt;&lt;P&gt;  when others.&lt;/P&gt;&lt;P&gt;TITLE = 'Order Confirmation.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, it is throwing an error message saying "literals that take up more than one line not allowed". What does that mean. Can someone help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:38:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755586#M903506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Literals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755587#M903507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better to write this code in main print program and use text variables( declare all literals with text variables then use it). Hope tis will solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755587#M903507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Literals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755588#M903508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Here is the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ZVBDKA-VBTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'A'.&lt;/P&gt;&lt;P&gt;TITLE = 'Inquiry'.&lt;/P&gt;&lt;P&gt;WHEN 'B'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Quotation'.&lt;/P&gt;&lt;P&gt;WHEN 'C'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Order'.&lt;/P&gt;&lt;P&gt;WHEN 'E'.&lt;/P&gt;&lt;P&gt;TITLE = 'Scheduling Agreement Confirmation'.&lt;/P&gt;&lt;P&gt;when 'G'.&lt;/P&gt;&lt;P&gt;TITLE = 'Contract Confirmation'.&lt;/P&gt;&lt;P&gt;when 'H'.&lt;/P&gt;&lt;P&gt;TITLE = 'Returns'.&lt;/P&gt;&lt;P&gt;when 'I'.&lt;/P&gt;&lt;P&gt;TITLE = 'Free-of-Charge Delivery'.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;TITLE = 'Credit Memo Request'.&lt;/P&gt;&lt;P&gt;when 'L'.&lt;/P&gt;&lt;P&gt;TITLE = 'Debit Memo Request'.&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TITLE = 'Order Confirmation.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to do like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ZVBDKA-VBTYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'A'.&lt;/P&gt;&lt;P&gt;TITLE = 'Inquiry'.&lt;/P&gt;&lt;P&gt;WHEN 'B'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Quotation'.&lt;/P&gt;&lt;P&gt;WHEN 'C'.&lt;/P&gt;&lt;P&gt;TITLE = 'Sales Order'.&lt;/P&gt;&lt;P&gt;WHEN 'E'.&lt;/P&gt;&lt;P&gt;TITLE = 'Scheduling Agreement Confirmation'.&lt;/P&gt;&lt;P&gt;when 'G'.&lt;/P&gt;&lt;P&gt;TITLE = 'Contract Confirmation'.&lt;/P&gt;&lt;P&gt;when 'H'.&lt;/P&gt;&lt;P&gt;TITLE = 'Returns'.&lt;/P&gt;&lt;P&gt;when 'I'.&lt;/P&gt;&lt;P&gt;TITLE = 'Free-of-Charge Delivery'.&lt;/P&gt;&lt;P&gt;WHEN 'K'.&lt;/P&gt;&lt;P&gt;TITLE = 'Credit Memo Request'.&lt;/P&gt;&lt;P&gt;when 'L'.&lt;/P&gt;&lt;P&gt;TITLE = 'Debit Memo Request'.&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TITLE = 'Order Confirmation'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755588#M903508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Literals</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755589#M903509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You forgot the ' in the &lt;STRONG&gt;when others&lt;/STRONG&gt; clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TITLE = 'Order Confirmation'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/literals/m-p/3755589#M903509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:45:02Z</dc:date>
    </item>
  </channel>
</rss>

