<?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: PLEASE HELP WITH SAPSCRIPTS! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-with-sapscripts/m-p/953767#M65754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guillermo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In print program, there is a function 'OPEN_FORM', here you can find the name of your Sapscript form. Put a breakpoint there and see. Alternatively, if it doesn't help, look in the table TNAPR for the name of Form for your print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you know exactly the name of your Sapscript form, go to your sapscript form using TXN SE71.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use Graphical form painter (its easy), for doing this: goto setting (in top menu) -&amp;gt; Form Painter -&amp;gt; check the Graphical form Painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get a graphical window for 'LAYOUT'. When you right click on any window in this graphical layout, choose edit text. Now, change the editor from GOTO -&amp;gt; Change editor. Here, you will get a very comfortable looking editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, look for symbols '/E' in the left hand side boxes, corresponding to them are the 'ELEMENTS'. This is what you need to identify first. Now, see which information is getting printed under which element. You can find same element in your print program in Functions 'WRITE_FORM'. So, you can find which portion of print program is printing in which element. Now you can definitely plan for making changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, like ABAP, debugger is here too for your help, For activating the debugger, just goto SE71, write your form name and without going further, just go to UTILITIES -&amp;gt; Activate Debugger. Now, run your print program and see the fun of debugger on script form. It will help you understand each and every thing, what changes are desirable in print program and what in form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To assign a changed form name to print program or vice versa, i.e. in simple words, to redefine the mapping of print program - form name so that your desirable print program prints your required form, please check the link below (i got reward points for it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://" target="test_blank"&gt;https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://&lt;/A&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="622282"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you are apprehensive about making changes, its a good idea to copy your Sapscripts to local files, later if something goes undesirable while making changes, you can re-import your saved script. Also, this goes well for taking back-up of script form. Txn for doing it: RSTXSCRP. Please check the link below for more information(i got reward points for this too &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://" target="test_blank"&gt;https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://&lt;/A&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="613385"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2005 05:52:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-23T05:52:22Z</dc:date>
    <item>
      <title>PLEASE HELP WITH SAPSCRIPTS!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-with-sapscripts/m-p/953765#M65752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need a lot of help 'cause i'm completly new on programming sapscript, so I don't know where and how to edit a sapscript, for example in program that extracts information before it is send to the script, how am I supposed to do that, and where to edit the sapscript, for example the especified fields that receive the information, if any one could help me, I really aprecciate it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2005 01:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-with-sapscripts/m-p/953765#M65752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-23T01:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP WITH SAPSCRIPTS!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-with-sapscripts/m-p/953766#M65753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guillermo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What SAPscript are you trying to modify? Once you know this, you can go to transaction NACE to find the SAPscript Name and Print Program. Let's say you are trying to change invoice, go to NACE and select "V3" - Billing. Click on the "Output Types" button and select the relevant Outpt Type (in this case "RD00". Single click on this node and select "Processing Routines" (this is on the left hand "tree" structure").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Program" column is your Print Program (this gathers all the data and calls your SAPscript) and the "Form" column identifies your SAPscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can modify the print program like any ABAP program via SE80. You can use the SAPscript Editor (SE71) to modify your SAPscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the SAPscript there are "Text Elements" defined in each window (they are defined as "/E"). The Print Program calls these Text Elements via the FM "WRITE_FORM".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should get you started. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2005 01:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-with-sapscripts/m-p/953766#M65753</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-08-23T01:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP WITH SAPSCRIPTS!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-with-sapscripts/m-p/953767#M65754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guillermo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In print program, there is a function 'OPEN_FORM', here you can find the name of your Sapscript form. Put a breakpoint there and see. Alternatively, if it doesn't help, look in the table TNAPR for the name of Form for your print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you know exactly the name of your Sapscript form, go to your sapscript form using TXN SE71.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use Graphical form painter (its easy), for doing this: goto setting (in top menu) -&amp;gt; Form Painter -&amp;gt; check the Graphical form Painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get a graphical window for 'LAYOUT'. When you right click on any window in this graphical layout, choose edit text. Now, change the editor from GOTO -&amp;gt; Change editor. Here, you will get a very comfortable looking editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, look for symbols '/E' in the left hand side boxes, corresponding to them are the 'ELEMENTS'. This is what you need to identify first. Now, see which information is getting printed under which element. You can find same element in your print program in Functions 'WRITE_FORM'. So, you can find which portion of print program is printing in which element. Now you can definitely plan for making changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, like ABAP, debugger is here too for your help, For activating the debugger, just goto SE71, write your form name and without going further, just go to UTILITIES -&amp;gt; Activate Debugger. Now, run your print program and see the fun of debugger on script form. It will help you understand each and every thing, what changes are desirable in print program and what in form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To assign a changed form name to print program or vice versa, i.e. in simple words, to redefine the mapping of print program - form name so that your desirable print program prints your required form, please check the link below (i got reward points for it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://" target="test_blank"&gt;https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://&lt;/A&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="622282"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you are apprehensive about making changes, its a good idea to copy your Sapscripts to local files, later if something goes undesirable while making changes, you can re-import your saved script. Also, this goes well for taking back-up of script form. Txn for doing it: RSTXSCRP. Please check the link below for more information(i got reward points for this too &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://" target="test_blank"&gt;https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&amp;amp;contenttype=url&amp;amp;content=https://&lt;/A&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="613385"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2005 05:52:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-help-with-sapscripts/m-p/953767#M65754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-23T05:52:22Z</dc:date>
    </item>
  </channel>
</rss>

