<?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 Creating sapscript from a standard sapscript - need suggestions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019698#M1168058</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;I am currently working on a settlement form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a standard invoice settlement with the following details:&lt;/P&gt;&lt;P&gt;- SAPscript - MR_PRINT&lt;/P&gt;&lt;P&gt;- Program - RM08NAST&lt;/P&gt;&lt;P&gt;- Entry Routine - ENTRY_KONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My task is to create a new SAPscript, which will have a different look. However, the new SAPscript will be 90% composed of existing standard data, with the other 10% composed of several new fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At 1st, I thought of just copying the entire standard print-program.&lt;/P&gt;&lt;P&gt;However, the entry point ENTRY_KONS calls an FM that does all the data selection. This FM has tons of includes inside.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;What is generally done, especially in regards to output type KONS? what do I do?&lt;/P&gt;&lt;P&gt;Do I copy every include or create my own program and copy only what I need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jan 2009 01:18:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-03T01:18:26Z</dc:date>
    <item>
      <title>Creating sapscript from a standard sapscript - need suggestions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019698#M1168058</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;I am currently working on a settlement form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a standard invoice settlement with the following details:&lt;/P&gt;&lt;P&gt;- SAPscript - MR_PRINT&lt;/P&gt;&lt;P&gt;- Program - RM08NAST&lt;/P&gt;&lt;P&gt;- Entry Routine - ENTRY_KONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My task is to create a new SAPscript, which will have a different look. However, the new SAPscript will be 90% composed of existing standard data, with the other 10% composed of several new fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At 1st, I thought of just copying the entire standard print-program.&lt;/P&gt;&lt;P&gt;However, the entry point ENTRY_KONS calls an FM that does all the data selection. This FM has tons of includes inside.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;What is generally done, especially in regards to output type KONS? what do I do?&lt;/P&gt;&lt;P&gt;Do I copy every include or create my own program and copy only what I need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 01:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019698#M1168058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T01:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sapscript from a standard sapscript - need suggestions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019699#M1168059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use existing includes as it is (no need to copy into zinclude) since you not need to change them for your new data manipulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand in include some manipulation is done by SAP and if you now change their standard fields calculation according to your requirement than only you need to copy these includes into zinclude and add your piece of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility If you are going to add any new window or new fields in script than for calling WRITE_FORM for new window you may need to copy the include where all WRITE_FORM definition is maintained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it make sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 02:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019699#M1168059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T02:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sapscript from a standard sapscript - need suggestions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019700#M1168060</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;I would suggest you to avoid changing the standard Includes. Let them be the standard one only. Put all your code in the main Z Prog only and try to create new includes for your Custom Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change a Standard Include by renaming it as Z Include only when it is the last option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember renaming a standard Include as Z include will bring issues in Version Upgrades and you will not be getting any additional functionality introduced by SAP in that Standard Include in future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 03:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019700#M1168060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-03T03:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sapscript from a standard sapscript - need suggestions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019701#M1168061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     If additional fields are few and any relationship with the existing data.&lt;/P&gt;&lt;P&gt;     Copy Standard sapscript and use original print program.&lt;/P&gt;&lt;P&gt;     You try using Subroutines, You can get the data for the additional fields and other calculations in the   subroutines and pass the data to the sapscript.&lt;/P&gt;&lt;P&gt;      First identify from which tables the additional fields reside and any relation with the existing data in the &lt;/P&gt;&lt;P&gt;sapscript which can be used as USING parameter in PERFORM statement.&lt;/P&gt;&lt;P&gt;      Call the subroutine, fetch the data and do additional calculations and send data back to sapscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the SAP help link on PERFORM statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find many threads on PERFORM in SAPSCRIPTS, do a search in SCN for additional help on that statement.&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;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jan 2009 04:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019701#M1168061</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2009-01-03T04:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating sapscript from a standard sapscript - need suggestions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019702#M1168062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John, I want help from you. Could you plz explain me the process u have done for MR_PRINT ???&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;&lt;/P&gt;&lt;P&gt;Ajay kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2009 07:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-sapscript-from-a-standard-sapscript-need-suggestions/m-p/5019702#M1168062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-28T07:17:57Z</dc:date>
    </item>
  </channel>
</rss>

