<?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: debug a smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539583#M576896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;DEBUG Smartform:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) One way to debug smartform is to debug the Function Module of that smartforms.&lt;/P&gt;&lt;P&gt;If you want to debug particular smartform node that the solution would be, &lt;/P&gt;&lt;P&gt;insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. &lt;/P&gt;&lt;P&gt;So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SFTRACE can be used for debugging SMARTFORMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read More here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1305529"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="359231"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="15539"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOGO on Smartform&lt;/P&gt;&lt;P&gt;1)	In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -&amp;gt; Window, Give it a name and Description (Say Window1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Right Click on Window (Window 1) and select Create -&amp;gt; Graphics, Give it a name and description &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Select any picture and set its Resolution in DPI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and   position of the Logo &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) Set any other parameters if required, save and activate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7) If there is only 1 Window in the forms, set it as Main Window in general attributes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Use  TCode SE78 to upload new pictures and logos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at Thread Dynamic Graph in smartforms&lt;/P&gt;&lt;P&gt;Refer the links also -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2276425"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="80791"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&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, 23 Jul 2007 09:51:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T09:51:24Z</dc:date>
    <item>
      <title>debug a smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539580#M576893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,  Can anyone tell me the way to debug a smartform and to upload a logo into&lt;/P&gt;&lt;P&gt;SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539580#M576893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: debug a smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539581#M576894</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;SFTRACE can be used for debugging SMARTFORMS&lt;/P&gt;&lt;P&gt;for details refer this link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Smart Form trace, you can trace how a Smart Form was processed during printing. You can then see, for example, the sequence in which the nodes were run or the point at which processing terminated due to an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Integration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace is activated in transaction SFTRACE or by the user. When the trace is activated, Smart Forms stores a trace on the database for each output, using the generated function module. You can set the degree of detail for this trace. The Smart Form trace is automatically deactivated again after a day. The stored trace files are, however, retained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In deliveries before SAP Web AS 6.10, the trace can be started in transaction SMARTFORM_TRACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace output is user-specific. The trace is therefore only recorded with the user who activated it. For traces to be recorded for batch input, the batch therefore has to be run under the user who activated the trace. This is automatically the case if you do not specify an explicit batch user when scheduling a batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activities&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate and configure the trace. &lt;/P&gt;&lt;P&gt;Call a form - if the trace is activated, Smart Forms automatically stores a trace on the database. &lt;/P&gt;&lt;P&gt;Analyze the trace. &lt;/P&gt;&lt;P&gt;Deactivate the trace if you no longer require it. You can deactivate the trace using the Deactivate pushbutton in Trace management (transaction SFTRACE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activating and Configuring the Trace &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trace is deactivated in the default setting. If you want to use the processing of a form to search for errors, you have to activate and configure the trace beforehand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start transaction SFTRACE (trace management). &lt;/P&gt;&lt;P&gt;If the trace is not activated, you can activate it by choosing the Activate pushbutton. The status in trace management then changes to Trace active. &lt;/P&gt;&lt;P&gt;Set the trace level and other options. &lt;/P&gt;&lt;P&gt;Confirm your entries with the Enter key.&lt;/P&gt;&lt;P&gt;Result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provided that the trace is activated for your user, Smart Forms creates a new trace each time you call a Smart Form. To avoid the trace being used unnecessarily, Smart Forms deactivates it again after one day. You can also deactivate it yourself before this time by choosing the Deactivate pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stored traces are listed in the Traces in the database table. This table is not, however, automatically updated after a trace has been stored. To update the table, choose Refresh ().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analyzing Trace Output &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a user has activated the trace, Smart Forms creates a trace every time this user calls a Smart Form, even if they have left transaction SFTRACE. The trace can be viewed in the system or downloaded as a file in this transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisites&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have activated and configured the trace and created a trace run. You have updated the table in the Traces in the database frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All trace runs stored on the database are displayed in the Traces in the database frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displaying the Trace in the System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a line using the pushbuttons on the left side of the table. &lt;/P&gt;&lt;P&gt;Choose Display Trace. &lt;/P&gt;&lt;P&gt;In the default setting, the trace is only displayed to trace level 15 (document information) at first. To show other levels, use the pushbuttons in the application toolbar.&lt;/P&gt;&lt;P&gt;Exporting the Trace into a Local File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select a line using the pushbuttons on the left side of the table. &lt;/P&gt;&lt;P&gt;Choose Export.&lt;/P&gt;&lt;P&gt;You can now store the whole trace locally on your PC using a file dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539581#M576894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: debug a smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539582#M576895</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;For smartforms debugging you can do this. &lt;/P&gt;&lt;P&gt;1. Execute the smartform (execute button in SMARTFORMS transaction)&lt;/P&gt;&lt;P&gt;2. Take the generated function module and display it in SE80.&lt;/P&gt;&lt;P&gt;3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis&lt;/P&gt;&lt;P&gt;Tcode - SFTRACE&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, 23 Jul 2007 09:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539582#M576895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: debug a smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539583#M576896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;DEBUG Smartform:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) One way to debug smartform is to debug the Function Module of that smartforms.&lt;/P&gt;&lt;P&gt;If you want to debug particular smartform node that the solution would be, &lt;/P&gt;&lt;P&gt;insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. &lt;/P&gt;&lt;P&gt;So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SFTRACE can be used for debugging SMARTFORMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read More here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1305529"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="359231"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="15539"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOGO on Smartform&lt;/P&gt;&lt;P&gt;1)	In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -&amp;gt; Window, Give it a name and Description (Say Window1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Right Click on Window (Window 1) and select Create -&amp;gt; Graphics, Give it a name and description &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Select any picture and set its Resolution in DPI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and   position of the Logo &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) Set any other parameters if required, save and activate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7) If there is only 1 Window in the forms, set it as Main Window in general attributes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Use  TCode SE78 to upload new pictures and logos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at Thread Dynamic Graph in smartforms&lt;/P&gt;&lt;P&gt;Refer the links also -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2276425"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="80791"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&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, 23 Jul 2007 09:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539583#M576896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: debug a smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539584#M576897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Try  &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="165619"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539584#M576897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: debug a smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539585#M576898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) One way to debug smartform is to debug the Function Module of that smartforms.&lt;/P&gt;&lt;P&gt;If you want to debug particular smartform node that the solution would be,&lt;/P&gt;&lt;P&gt;insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.&lt;/P&gt;&lt;P&gt;So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SFTRACE can be used for debugging SMARTFORMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)goto tcode SFTRACE --&amp;gt; click "trace on"&lt;/P&gt;&lt;P&gt;2) Get the function module name and set break points in function module name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read More here.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this:&lt;/P&gt;&lt;P&gt;In the form Utilities-&amp;gt;debugger / RSTXDBUG FM for debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set break "sy-uname" within your smart form code sections and this will take you to the code sections in the function module of the smart form when the break point is reached. This way by timing the break points you can look at the code of the various nodes of your smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BREAK-POINT can be used only in own program lines in smartform - not very helpful because it always stops until removed and generated again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use transaction SMARTFORM_TRACE.&lt;/P&gt;&lt;P&gt;1. use transaction SMARTFORM_TRACE&lt;/P&gt;&lt;P&gt;2. in the SMARTFORMS, use utilities to show the function name. You can analyze this function in SE37 and set dynamic breakpoints as required. Lok at the SMARTFORM_TRACE to decide where to set break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SMARTFORMS DEBUGGING&lt;/P&gt;&lt;P&gt;For smartforms debugging you can do this.&lt;/P&gt;&lt;P&gt;1. Execute the smartform (execute button in SMARTFORMS transaction)&lt;/P&gt;&lt;P&gt;2. Take the generated function module and display it in SE80.&lt;/P&gt;&lt;P&gt;3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis&lt;/P&gt;&lt;P&gt;Tcode - SFTRACE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1305529"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="359231"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="15539"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="109051"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the steps to be followed for uploading graphics in R/3 system&lt;/P&gt;&lt;P&gt;1. First save the file as BMP 2. Open the BMP file in IMaging (Goto -&amp;gt; Programs -&amp;gt; Accessories -&amp;gt; Imaging) and make it Zoom as 100% and save as &lt;STRONG&gt;.TIFF 3. Open SE38 and execute program RSTXLDMC 4. Give your TIFF file path name 5. Select Bcol (for Color) 6. TEXT ID will be ZHEX-MACRO-&lt;/STRONG&gt;. 7. Inplace of * write your own logo name (ZCOMPANYLOGO) 8. Execute the program 9. Now Goto SE71 create your ZFORM 10. Create logo window 11. Goto text element of logo window&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps for including graphical elements in the layout set are as follows&lt;/P&gt;&lt;P&gt;&amp;#149; The graphical element (like company logo) should be in valid graphic file format like .bmp or .jpg&lt;/P&gt;&lt;P&gt;&amp;#149; Use appropriate software to convert the above file into a .TIFF file&lt;/P&gt;&lt;P&gt;&amp;#149; Use report RSTXLDMC to upload this file as a text module in SAP&lt;/P&gt;&lt;P&gt;&amp;#149; Execute the above program from the ABAP /4 editor&lt;/P&gt;&lt;P&gt;&amp;#149; Enter the location of the .TIFF file on the PC&lt;/P&gt;&lt;P&gt;&amp;#149; Specify BMON or BCOL as the raster image type&lt;/P&gt;&lt;P&gt;&amp;#149; The SAP system suggests a name for the file ( like ZHEX-MARCO-* ). The * indicates the type of file. For e.g. if the file contains a logo then the name can be ZHEX-MACRO-LOGO&lt;/P&gt;&lt;P&gt;&amp;#149; The ID should be &amp;#145;ST&amp;#146; and give the logon language&lt;/P&gt;&lt;P&gt;&amp;#149; Running the program will convert this .TIFF file into a text element&lt;/P&gt;&lt;P&gt;&amp;#149; Incorporate this converted logo in the appropriate window under the appropriate text element by giving&lt;/P&gt;&lt;P&gt;INCLUDE ZHEX-MACRO-LOGO OBJECT TEXT ID ST in the first line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*&lt;STRONG&gt;reward points for useful answers&lt;/STRONG&gt;* &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/debug-a-smartform/m-p/2539585#M576898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:55:55Z</dc:date>
    </item>
  </channel>
</rss>

