<?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 sf in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281797#M496775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given a task to develop a smartform for purchase invoice, credit and debit note and cash receipt and payment receipt. Format for the all form is same including field. Only header should be different for all the forms. So  I have created according to the above mentioned requirement. Now I am having the problem suppose I have assigned header for all like this in smart forms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dg- debit note &lt;/P&gt;&lt;P&gt;kg-credit note&lt;/P&gt;&lt;P&gt;cb-cash payment&lt;/P&gt;&lt;P&gt;ca-cash receipt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when I am giving dg in my print prgram select option it shows the respective data. But there is one problem suppose if there is no data against DG it should show some error message or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I will do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 07:18:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-14T07:18:04Z</dc:date>
    <item>
      <title>sf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281797#M496775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given a task to develop a smartform for purchase invoice, credit and debit note and cash receipt and payment receipt. Format for the all form is same including field. Only header should be different for all the forms. So  I have created according to the above mentioned requirement. Now I am having the problem suppose I have assigned header for all like this in smart forms:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dg- debit note &lt;/P&gt;&lt;P&gt;kg-credit note&lt;/P&gt;&lt;P&gt;cb-cash payment&lt;/P&gt;&lt;P&gt;ca-cash receipt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when I am giving dg in my print prgram select option it shows the respective data. But there is one problem suppose if there is no data against DG it should show some error message or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I will do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 07:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281797#M496775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T07:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: sf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281798#M496776</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;         U can check the condition in ur Print Program itself.&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1, Before calling the Function Module of Smart Form check the condition.&lt;/P&gt;&lt;P&gt;2, If there are no records then do call the FM and instead give an error mesage from the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepu.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 07:21:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281798#M496776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T07:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: sf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281799#M496777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what would be the syntaxt for that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 07:23:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281799#M496777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T07:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: sf</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281800#M496778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Declare a select-option for a field of 10 char such that it accepts all types of documents&lt;/P&gt;&lt;P&gt;in the Header window based on the Document type(some BSTYP field) you put the condition and and write the related header code in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;during the data fetching in program, when there is no data found from tables, populate a flag.&lt;/P&gt;&lt;P&gt;and use that flag in other windows such that if that flag ='x'. data found&lt;/P&gt;&lt;P&gt;then only the data is displayed in other windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 07:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sf/m-p/2281800#M496778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T07:23:58Z</dc:date>
    </item>
  </channel>
</rss>

