<?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: Forms and Scripts. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605651#M868504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi hema,&lt;/P&gt;&lt;P&gt;chk this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.sap scripts&lt;/P&gt;&lt;P&gt;This can done in two ways: &lt;/P&gt;&lt;P&gt;In the form Utilities-&amp;gt;debugger / RSTXDBUG FM for debugging script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Procedure for debugging SAP script is: &lt;/P&gt;&lt;P&gt;Generally SAP script contains the Layout and corresponding print program. &lt;/P&gt;&lt;P&gt;First go to SE71 and enter ur script name. In the same screen go to Utilities-&amp;gt;click on activate debugger option. &lt;/P&gt;&lt;P&gt;Now go to SE 38 and enter ur Print Program name and execute the program. &lt;/P&gt;&lt;P&gt;Now you can debug the script Page wise and window wise. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. sap smartforms&lt;/P&gt;&lt;P&gt;1.In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap &lt;/P&gt;&lt;P&gt;Break Point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Smart debugging:--&amp;gt; Execute the smartform.It will open a FM in se37 screen.&lt;/P&gt;&lt;P&gt;--&amp;gt; Press Display.&lt;/P&gt;&lt;P&gt;--&amp;gt; Press find(CTRL+F).&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter command here at which you want to put the break point.&lt;/P&gt;&lt;P&gt;--&amp;gt; Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.&lt;/P&gt;&lt;P&gt;--&amp;gt; Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On activating smartform it will generate one function moudle, take that name and go to SE37 , Put your generated FM name and display.. check the code where you want debug.. place the break point there .. come back and then execute your dirver program .. it will stop you at your break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;1.place SFTRACE inplace where we enter T_CODE and press ENTER.&lt;/P&gt;&lt;P&gt;after that press F8.&lt;/P&gt;&lt;P&gt;2 ./H&lt;/P&gt;&lt;P&gt;3 /SH&lt;/P&gt;&lt;P&gt;4.after generating the function module there is a button DEBUGGING&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;bye,&lt;/P&gt;&lt;P&gt;madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Mar 2008 13:35:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-23T13:35:00Z</dc:date>
    <item>
      <title>Forms and Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605648#M868501</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;please send me the differences between forms and scripts .&lt;/P&gt;&lt;P&gt;Also send me some material for readdy reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 13:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605648#M868501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-23T13:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Forms and Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605649#M868502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sap script is old obsolete and pure scripting tool. You have to write script to draw graphics, Tables and Lines. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IN smart forms you create graphics more easily with help of tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards point if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 13:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605649#M868502</guid>
      <dc:creator>adnanmaqbool</dc:creator>
      <dc:date>2008-03-23T13:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Forms and Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605650#M868503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;scripts&lt;/P&gt;&lt;P&gt;    scripts  are client dependent&lt;/P&gt;&lt;P&gt;    we can create lables&lt;/P&gt;&lt;P&gt;    without main window it is not possible&lt;/P&gt;&lt;P&gt;    mulitple page formats are not supported&lt;/P&gt;&lt;P&gt;    alighnment is diffcult compare smartforms&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;smart forms&lt;/P&gt;&lt;P&gt;    smart forms are client independent&lt;/P&gt;&lt;P&gt;    we can test indivdually&lt;/P&gt;&lt;P&gt;    when we execute it creates afunction module&lt;/P&gt;&lt;P&gt;    multiple page format supporting&lt;/P&gt;&lt;P&gt;    without main window we can execute this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 13:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605650#M868503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-23T13:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Forms and Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605651#M868504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi hema,&lt;/P&gt;&lt;P&gt;chk this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.sap scripts&lt;/P&gt;&lt;P&gt;This can done in two ways: &lt;/P&gt;&lt;P&gt;In the form Utilities-&amp;gt;debugger / RSTXDBUG FM for debugging script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Procedure for debugging SAP script is: &lt;/P&gt;&lt;P&gt;Generally SAP script contains the Layout and corresponding print program. &lt;/P&gt;&lt;P&gt;First go to SE71 and enter ur script name. In the same screen go to Utilities-&amp;gt;click on activate debugger option. &lt;/P&gt;&lt;P&gt;Now go to SE 38 and enter ur Print Program name and execute the program. &lt;/P&gt;&lt;P&gt;Now you can debug the script Page wise and window wise. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. sap smartforms&lt;/P&gt;&lt;P&gt;1.In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap &lt;/P&gt;&lt;P&gt;Break Point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Smart debugging:--&amp;gt; Execute the smartform.It will open a FM in se37 screen.&lt;/P&gt;&lt;P&gt;--&amp;gt; Press Display.&lt;/P&gt;&lt;P&gt;--&amp;gt; Press find(CTRL+F).&lt;/P&gt;&lt;P&gt;--&amp;gt; Enter command here at which you want to put the break point.&lt;/P&gt;&lt;P&gt;--&amp;gt; Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.&lt;/P&gt;&lt;P&gt;--&amp;gt; Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On activating smartform it will generate one function moudle, take that name and go to SE37 , Put your generated FM name and display.. check the code where you want debug.. place the break point there .. come back and then execute your dirver program .. it will stop you at your break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;1.place SFTRACE inplace where we enter T_CODE and press ENTER.&lt;/P&gt;&lt;P&gt;after that press F8.&lt;/P&gt;&lt;P&gt;2 ./H&lt;/P&gt;&lt;P&gt;3 /SH&lt;/P&gt;&lt;P&gt;4.after generating the function module there is a button DEBUGGING&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;bye,&lt;/P&gt;&lt;P&gt;madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 13:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605651#M868504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-23T13:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Forms and Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605652#M868505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, also chk this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;. Go with a transaction code : smartforms &lt;/P&gt;&lt;P&gt;2. Enter the form name like : ysmart_forms1 &lt;/P&gt;&lt;P&gt;3. Create &lt;/P&gt;&lt;P&gt;4. Enter the Description for the form &lt;/P&gt;&lt;P&gt;5. From the left side window there will be a form interface to provide table ..... &lt;/P&gt;&lt;P&gt;6. Go for tables option &lt;/P&gt;&lt;P&gt;7. ugyfel like ugyfel(ref.type) &lt;/P&gt;&lt;P&gt;8. Pages and window&lt;DEL&gt;-&amp;gt; page1&lt;/DEL&gt;-&amp;gt; main window &lt;/P&gt;&lt;P&gt;9. Go to the form painter adjust the main window. &lt;/P&gt;&lt;P&gt;10. Select main window and right click --&amp;gt; go for create loop &lt;/P&gt;&lt;P&gt;11. Name: loop1, desc: display loop. &lt;/P&gt;&lt;P&gt;12. Internal table ktab into ktab. &lt;/P&gt;&lt;P&gt;13. select loop right click -&amp;gt; create a text &lt;/P&gt;&lt;P&gt;14. name : text1, desc: display text. &lt;/P&gt;&lt;P&gt;15. Go to change editor. &lt;/P&gt;&lt;P&gt;16. Write the mater what ever you want and if you want to display data from the table write the table fields as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;ktab-&amp;lt;field1&amp;gt;&amp;amp; &amp;amp;ktab-&amp;lt;field2&amp;gt;&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save &amp;amp; activate then execute ,, scripts will generate a function module like : '/ibcdw/sf0000031' copy this function module and call in executable program... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that &lt;/P&gt;&lt;P&gt;1. go with abap editor se38. &lt;/P&gt;&lt;P&gt;2. table: ugyfel. &lt;/P&gt;&lt;P&gt;3. parameters: test like ugyfel-&amp;lt;field1&amp;gt;. &lt;/P&gt;&lt;P&gt;4. data itab like ugyfel occurs 0 with header line. &lt;/P&gt;&lt;P&gt;5. select * from ugyfel into table itab where field1 = test1. &lt;/P&gt;&lt;P&gt;6. call function '/ibcdw/sf0000031' &lt;/P&gt;&lt;P&gt;7. tables &lt;/P&gt;&lt;P&gt;ktab = itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test the scripts, go to SE71 then goto 'utilities' in menu bar..click on printing test.there in the field of 'output device' enter LP01 and press print preview. you can see the preview of the script you made. similarly for smartforms, goto the transaction Smartforms..then press F8..it displays the function module name..hit 'display' button...then press F8 twice..there in the field of 'output device' enter LP01 and press print preview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye,&lt;/P&gt;&lt;P&gt;madhavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 13:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605652#M868505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-23T13:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Forms and Scripts.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605653#M868506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SmartForms Vs SAP Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple page formats are possible in SmartForms which is not the case in SAPScripts &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to have a SmartForm without a main window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Labels cannot be created in SmartForms. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Routines can be written in SmartForms tool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SmartForms generates a function module when activated.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SmartForms are easier to develop, maintain and transport than SAP Script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forms-and-scripts/m-p/3605653#M868506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T04:05:07Z</dc:date>
    </item>
  </channel>
</rss>

