<?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: Smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021606#M413792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Teena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check standard smartform SF_SFX_DEMO1.And Program SF_XSF_DEMO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Please reward suitable points&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Navin Khedikar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2007 12:18:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-27T12:18:09Z</dc:date>
    <item>
      <title>Smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021603#M413789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any tell me about sending Fax from smart forms.&lt;/P&gt;&lt;P&gt;and also usage of XSF output and&lt;/P&gt;&lt;P&gt;                          XSF output + HTML&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;~Teena.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 12:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021603#M413789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T12:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021604#M413790</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 prog BCS_EXAMPLE_2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT bcs_example_2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This example shows how to send&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  - a simple text provided in an internal table of text lines&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  - and an attached PC document (in form of text lines itab)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  - to a fax number.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All activities done via facade CL_BCS!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: send_request       TYPE REF TO cl_bcs.&lt;/P&gt;&lt;P&gt;DATA: text               TYPE bcsy_text.&lt;/P&gt;&lt;P&gt;DATA: att_text           TYPE bcsy_text.&lt;/P&gt;&lt;P&gt;DATA: document           TYPE REF TO cl_document_bcs.&lt;/P&gt;&lt;P&gt;DATA: sender             TYPE REF TO cl_sapuser_bcs.&lt;/P&gt;&lt;P&gt;DATA: recipient          TYPE REF TO if_recipient_bcs.&lt;/P&gt;&lt;P&gt;DATA: bcs_exception      type ref to cx_bcs.&lt;/P&gt;&lt;P&gt;data: sent_to_all        type os_boolean.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    PERFORM main.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM main                                                     *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM main.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  try.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    -------- create persistent send request ------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      send_request = cl_bcs=&amp;gt;create_persistent( ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    -------- create and set document with attachment ---------------&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    create document from internal table with text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      APPEND 'Hello world!' TO text.&lt;/P&gt;&lt;P&gt;      document = cl_document_bcs=&amp;gt;create_document(&lt;/P&gt;&lt;P&gt;                      i_type    = 'RAW'&lt;/P&gt;&lt;P&gt;                      i_text    = text&lt;/P&gt;&lt;P&gt;                      i_length  = '12'&lt;/P&gt;&lt;P&gt;                      i_subject = 'test created by BCS_EXAMPLE_2' ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    add attachment to document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      REFRESH text.&lt;/P&gt;&lt;P&gt;      APPEND 'This is an attachment' TO text.&lt;/P&gt;&lt;P&gt;      CALL METHOD document-&amp;gt;add_attachment&lt;/P&gt;&lt;P&gt;        EXPORTING  i_attachment_type    = 'RAW'&lt;/P&gt;&lt;P&gt;                   i_attachment_subject = 'My attachment'&lt;/P&gt;&lt;P&gt;                   i_attachment_size    = '21'&lt;/P&gt;&lt;P&gt;                   i_att_content_text   = text.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    add document to send request&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL METHOD send_request-&amp;gt;set_document( document ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    --------- set sender -------------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    note: this is necessary only if you want to set the sender&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          different from actual user (SY-UNAME). Otherwise sender is&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          set automatically with actual user.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      sender = cl_sapuser_bcs=&amp;gt;create( sy-uname ).&lt;/P&gt;&lt;P&gt;      CALL METHOD send_request-&amp;gt;set_sender&lt;/P&gt;&lt;P&gt;        EXPORTING i_sender = sender.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    --------- add recipient (fax) -----------------------&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    create recipient - please replace fax number !!!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      recipient = cl_cam_address_bcs=&amp;gt;create_fax_address(&lt;/P&gt;&lt;P&gt;        i_country = 'DE'&lt;/P&gt;&lt;P&gt;        i_number  = '09999-123456' ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    add recipient with its respective attributes to send request&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL METHOD send_request-&amp;gt;add_recipient&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_recipient  = recipient&lt;/P&gt;&lt;P&gt;          i_express    = 'X'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ---------- send document ---------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL METHOD send_request-&amp;gt;send(&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          i_with_error_screen = 'X'&lt;/P&gt;&lt;P&gt;        receiving&lt;/P&gt;&lt;P&gt;          result              = sent_to_all ).&lt;/P&gt;&lt;P&gt;      if sent_to_all = 'X'.&lt;/P&gt;&lt;P&gt;        write text-003.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;-----------------------------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;*                     exception handling&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;-----------------------------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;* replace this very rudimentary exception handling&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;* with your own one !!!&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;-----------------------------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    catch cx_bcs into bcs_exception.&lt;/P&gt;&lt;P&gt;      write: 'Fehler aufgetreten.'(001).&lt;/P&gt;&lt;P&gt;      write: 'Fehlertyp:'(002), bcs_exception-&amp;gt;error_type.&lt;/P&gt;&lt;P&gt;      exit.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  endtry.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 12:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021604#M413790</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-03-27T12:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021605#M413791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi teena,&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;              To FAX smartform first you need to download the smarform.&lt;/P&gt;&lt;P&gt;In smartforms initial screen, in the menu bar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;GOTO -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; utilities ---&amp;gt;Download form.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get the .xml file at ur desired destination.&lt;/P&gt;&lt;P&gt;Now you can FAX that .xml. At the same time you can upload this file &lt;/P&gt;&lt;P&gt;at your destination system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 12:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021605#M413791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021606#M413792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Teena&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check standard smartform SF_SFX_DEMO1.And Program SF_XSF_DEMO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Please reward suitable points&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Navin Khedikar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 12:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021606#M413792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T12:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021607#M413793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I got the solution &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your help&lt;/P&gt;&lt;P&gt;~Teena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 06:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2021607#M413793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T06:48:06Z</dc:date>
    </item>
  </channel>
</rss>

