<?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: Smartform Interface Parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203207#M131446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;  Are you testing the function module from se37 itself?&lt;/P&gt;&lt;P&gt;You need to call this Function module in your print program, wherein you populate the fields mydate and reason before calling this FM.&lt;/P&gt;&lt;P&gt;Othre wise, if you test it in se37, it will treat &amp;amp;MYDATE&amp;amp; as just another text.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Mar 2006 17:35:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-17T17:35:23Z</dc:date>
    <item>
      <title>Smartform Interface Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203206#M131445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a simple Smartform and added two of my own fields under Import Interface: MYDATE and REASON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reference text loks like this:&lt;/P&gt;&lt;P&gt;Dear Sir or madam,&lt;/P&gt;&lt;P&gt;This is in reference to the orders made on &amp;amp;MYDATE&amp;amp; for with the reason of &amp;amp;REASON&amp;amp;.......Thank-You. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I activated the Smartform and got the Function Module  to execute. However when I test the function module and input my two fields with a date and a reason the output looks exactly like the ref text above....fieldnames are shown with the ampersands, not my input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there a way to display the form before printing?&lt;/P&gt;&lt;P&gt;          Thank-You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 17:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203206#M131445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T17:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Interface Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203207#M131446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;  Are you testing the function module from se37 itself?&lt;/P&gt;&lt;P&gt;You need to call this Function module in your print program, wherein you populate the fields mydate and reason before calling this FM.&lt;/P&gt;&lt;P&gt;Othre wise, if you test it in se37, it will treat &amp;amp;MYDATE&amp;amp; as just another text.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 17:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203207#M131446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T17:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Interface Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203208#M131447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi, I tried putting the Smartform's function module in an SE38 program (I guess this is my print program)and called it by passing sy-datum for mydate and 'Testing' for reason.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still printed the field names with ampersands. I still must be forgetting another step. Can you display this before printing?&lt;/P&gt;&lt;P&gt;      Thanks for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 17:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203208#M131447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T17:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Interface Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203209#M131448</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;The call of sf in your print program should be like following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: fm_smartform TYPE rs38l_fnam.&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  formname           = &amp;lt;smartform name&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                variant            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                direct_call        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING  fm_name            = fm_smartform&lt;/P&gt;&lt;P&gt;     EXCEPTIONS no_form            = 1&lt;/P&gt;&lt;P&gt;                no_function_module = 2&lt;/P&gt;&lt;P&gt;                OTHERS             = 3.&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;/P&gt;&lt;P&gt;CALL FUNCTION fm_smartform&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_OPTIONS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    MYDATE                     = SY-datum&lt;/P&gt;&lt;P&gt;    REASON                     = 'Testing'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOCUMENT_OUTPUT_INFO       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_INFO            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FORMATTING_ERROR           = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTERNAL_ERROR             = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SEND_ERROR                 = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_CANCELED              = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                     = 5&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 18:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203209#M131448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T18:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Interface Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203210#M131449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you to copy a std. print prg. to a z-copy.&lt;/P&gt;&lt;P&gt;then remove all the unwanted code except the standard def.'s and make sure there is a call to SF also in it.&lt;/P&gt;&lt;P&gt;( SSF_FUN......) . populate your cuple of fields before the call is made in prg. Iam pretty sure it would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 18:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203210#M131449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T18:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Interface Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203211#M131450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tom&lt;/P&gt;&lt;P&gt;i got ur point &lt;/P&gt;&lt;P&gt;while declaring the text in the main window i think u added these variables by typing as other text if u do it like this then u will get the same problem&lt;/P&gt;&lt;P&gt;so to to get the values other than variable while declaring the varibale along with the text in the main window u should use the insert command option for the variables and then for the text normal typing&lt;/P&gt;&lt;P&gt;in that above option u should secify those variables with in &amp;amp;xxxxx&amp;amp; &lt;/P&gt;&lt;P&gt;k if u have any further doubts let me know don't forget to award points if it is useful answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 18:12:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203211#M131450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T18:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Interface Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203212#M131451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 18:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-interface-parameters/m-p/1203212#M131451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-17T18:23:37Z</dc:date>
    </item>
  </channel>
</rss>

