<?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: smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989524#M73857</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;Check this link.Here I am using convert_OTF fucntion module.This link describes how to convert smartform into PDF and then mailing the output of the smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap" target="test_blank"&gt;https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap&lt;/A&gt; code samples/smartforms/smart form in abap.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2005 07:38:58 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2005-07-26T07:38:58Z</dc:date>
    <item>
      <title>smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989520#M73853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I am new to smartforms. I need help from u guys. my problem i have to print data in the header area of smartforms. there are 4 fields. for suppose if the host id &amp;gt;1 i have to print it on the item data otherwise print in header data. if there is no data i have to supress it. depending on this condition i have to retrieve the data on the smartforms. in the same manner if there are multiple kunnrs for the same order i have to print it in item details otherwise print it in header. plz send me the solution to this problem ASAP.&lt;/P&gt;&lt;P&gt;THank u in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 06:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989520#M73853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T06:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989521#M73854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hasmath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. This can be done. You can use either the alternate condition or the condition tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example you can give the condition 'host id &amp;gt; 1' in the General attribute tab of alternate condition node. Right click on your window to create this node. &lt;/P&gt;&lt;P&gt;Whenever the value of host id is greater than 1, whatever you have given under 'TRUE' condition will be executed, otherwise the 'FALSE' condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar way you can control the execution using the condition tab. You can find a tab called 'Conditions' in all the nodes in smartforms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if there is no data then you want to supress the display of some node. For this get the number of items in the internal table using DESCRIBE command and in the condition give;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_lines &amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same way you can do for the multiple kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 06:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989521#M73854</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-07-26T06:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989522#M73855</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;Create a program line before header.In that write the ABAP code to select records having multiple kunnr for same order.Move those records to separate table.Delete the same from the main internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the second internal table to dispalying items and first internal table to display header [one kunnr for one order].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 06:38:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989522#M73855</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-26T06:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989523#M73856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u frnd,&lt;/P&gt;&lt;P&gt;  i will try the same as u describe. along with that i need to print the smrtform in pdf format. if u have any code plz forward it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u once again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hasmath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 07:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989523#M73856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989524#M73857</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;Check this link.Here I am using convert_OTF fucntion module.This link describes how to convert smartform into PDF and then mailing the output of the smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap" target="test_blank"&gt;https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap&lt;/A&gt; code samples/smartforms/smart form in abap.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 07:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989524#M73857</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-26T07:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989525#M73858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai jayanthi&lt;/P&gt;&lt;P&gt;I am going thru the code which u had given. it is very helpful. in that ur sending it as a email. i want to store the pdf in system. can u tell me which func. calls the save dialog box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hasmath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 09:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989525#M73858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989526#M73859</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;After that CONVERT_OTF function module,just use this.It will save the PDF in your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data w_filesize type i.&lt;/P&gt;&lt;P&gt;call function 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;Exporting&lt;/P&gt;&lt;P&gt;bin_filesize = v_len_in&lt;/P&gt;&lt;P&gt;filename = 'd:\test.pdf'&lt;/P&gt;&lt;P&gt;filetype = 'BIN'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;filelength = w_filesize&lt;/P&gt;&lt;P&gt;tables &lt;/P&gt;&lt;P&gt;data_tab = i_tline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check whether it is downloaded in your system properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 09:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989526#M73859</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-26T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989527#M73860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hasmath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope below fm will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CONVERT_ABAPSPOOLJOB_2_PDF and CONVERT_OTFSPOOLJOB_2_PDF&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 09:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989527#M73860</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T09:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989528#M73861</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 had used the code provided by u. the pdf file is saved on the disk but the data is not displayed. A message box has been displayed as "not a supported file format or because the file has been damaged. it was sent as an email attachment was wasn't correctly decoded ". I haven't used this part of code &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sending mail.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;document_data = w_doc_chng&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;packing_list = i_objpack&lt;/P&gt;&lt;P&gt;object_header = w_objhead&lt;/P&gt;&lt;P&gt;contents_hex = i_objbin&lt;/P&gt;&lt;P&gt;contents_txt = i_objtxt&lt;/P&gt;&lt;P&gt;receivers = i_reclist&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as this is for sending the email. where may be the code gone wrong. ur suggestions are precious to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hasmath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 10:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989528#M73861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T10:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989529#M73862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u give the description or code for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 10:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989529#M73862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T10:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989530#M73863</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;As you told,'SO_NEW_DOCUMENT_ATT_SEND_API1' is for mailing.Did you checked your smartform output from smartform itself?If it has data,then obviously data should come here also.&lt;/P&gt;&lt;P&gt;In my program,I am not passing anything from report to smartform.I am handling the code inside the smartform program lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 12:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989530#M73863</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-26T12:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989531#M73864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  data is represented in the smartform. there is no problem in that. but the data is not appearing in .pdf file. can u tell me whr the error may have occured.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 12:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989531#M73864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989532#M73865</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;call function 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          formname           = 'ZZZ_TEST2' &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the formname is your smartform name in Upper case.Did you used any form interface in smartform?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 12:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989532#M73865</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-26T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989533#M73866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had given as it is. there is no problem in that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2005 12:21:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989533#M73866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-26T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989534#M73867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello jayanthi,&lt;/P&gt;&lt;P&gt; still there is problem in that. the data is been printed in the smartform preview. but it is not printed in the pdf file. when i am trying to open the file a mesage comes like file it is either not a supported file format or the file may be damaged.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 04:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989534#M73867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-27T04:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989535#M73868</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;Could you post the entire code in your report here?And also let me know,what are the parameters you declared in form interface of smartforms?According to my program,I didn't declare anything in form interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2005 04:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms/m-p/989535#M73868</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-27T04:31:29Z</dc:date>
    </item>
  </channel>
</rss>

