<?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 reg : modification in sap script driver prog in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972602#M70028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need some help regarding sap scripts &lt;/P&gt;&lt;P&gt;i havecopied the standard layout medruck to my layout &lt;/P&gt;&lt;P&gt;and made some changes. &lt;/P&gt;&lt;P&gt;now i have to modify the driver program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the tnapr table the driver prog for medruck is &lt;/P&gt;&lt;P&gt;given as sapfm06p &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i see the source code for that in the &lt;/P&gt;&lt;P&gt;editor &lt;/P&gt;&lt;P&gt;evrthing is like included functions there &lt;/P&gt;&lt;P&gt;in the incuded there is a form named with "entry_neu" &lt;/P&gt;&lt;P&gt;which has some code calling few functions &lt;/P&gt;&lt;P&gt;but... &lt;/P&gt;&lt;P&gt;there is no openform,no write form etc. &lt;/P&gt;&lt;P&gt;where should i give the name of the form name that i have &lt;/P&gt;&lt;P&gt;i have developed(changes made to the copy of the medruck) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where should i make the changes in the prog &lt;/P&gt;&lt;P&gt;how about going at modifying the driver program &lt;/P&gt;&lt;P&gt;do i have to assign the o/p type using the tcode nace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me the steps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please treat it as very urgent &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expecting a promt responses from u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;annamreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2005 11:58:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-24T11:58:44Z</dc:date>
    <item>
      <title>reg : modification in sap script driver prog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972602#M70028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need some help regarding sap scripts &lt;/P&gt;&lt;P&gt;i havecopied the standard layout medruck to my layout &lt;/P&gt;&lt;P&gt;and made some changes. &lt;/P&gt;&lt;P&gt;now i have to modify the driver program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the tnapr table the driver prog for medruck is &lt;/P&gt;&lt;P&gt;given as sapfm06p &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i see the source code for that in the &lt;/P&gt;&lt;P&gt;editor &lt;/P&gt;&lt;P&gt;evrthing is like included functions there &lt;/P&gt;&lt;P&gt;in the incuded there is a form named with "entry_neu" &lt;/P&gt;&lt;P&gt;which has some code calling few functions &lt;/P&gt;&lt;P&gt;but... &lt;/P&gt;&lt;P&gt;there is no openform,no write form etc. &lt;/P&gt;&lt;P&gt;where should i give the name of the form name that i have &lt;/P&gt;&lt;P&gt;i have developed(changes made to the copy of the medruck) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where should i make the changes in the prog &lt;/P&gt;&lt;P&gt;how about going at modifying the driver program &lt;/P&gt;&lt;P&gt;do i have to assign the o/p type using the tcode nace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me the steps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please treat it as very urgent &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expecting a promt responses from u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;annamreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 11:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972602#M70028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T11:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: reg : modification in sap script driver prog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972603#M70029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you need to customize the layout for the Purchase Order, you can copy the standard MEDRUCK form to a ZMEDRUCK Form, and then make changes only in the ZMEDRCUK form as required. YOU NEED NOT CHANGE ANYTHING IN THE DRIVER PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the form modifications, Goto TCODE NACE and assign this new for to the output type of PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1) Goto NACE Tcode&lt;/P&gt;&lt;P&gt;2) Select EF Purchase Order and click on the Output Types button on the top&lt;/P&gt;&lt;P&gt;3) Choose NEU and dbl click on the Processing routines on the left.&lt;/P&gt;&lt;P&gt;4) Now ,in this screen update the formname to ZMEDRUCK for print out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't confuse urself understanding the standard print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 12:03:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972603#M70029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T12:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: reg : modification in sap script driver prog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972604#M70030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, there is no need for you to modify the standard print program because it will work fine even if you make a ZMEDRUCK and assign it to that standard print program. Only those fields which you feel needs to be aligned/removed will reflect in the PO layout in the print preview of ME23N according to the changes you've made in the ZMEDRUCK form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 12:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972604#M70030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: reg : modification in sap script driver prog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972605#M70031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I answered a similar question in a forum. Please check the link below for details (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;Regards&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 12:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972605#M70031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T12:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: reg : modification in sap script driver prog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972606#M70032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We modified the driver program because there was a requirement to add stuff that was not available in the standard driver program.  Here is what we did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First,  Copied the SAPFM06P program to SAPFZM06P.  Did not copy all of the includes. Copied only the FM06PE02 include program to ZFM06PE02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second,  in the include ZFM06PE02,   there is a form call ENTRY_NEU,  this is the entry point to print the form, notice that there is a function module in this form called ME_PRINT_PO.  This is the function module that will print the PO.  Eventually, you will want to call a Z version of that funciton module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third,  copy the entire funtion group MEDRUCK into ZMEDRUCK.  This is the function group which has the function module ME_PRINT_PO.  Don't copy the includes into Z versions.  You don't need to modify all of them.  Only copy them when needed.  Save and Activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally,  go back to that include program ZFM06PE02,  now make the call to ME_PRINT_PO to the Z version, in my case it is ZME_PRINT_PO.  Save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that you change your configuration in SPRO to use the SAPFZM06P program instead of the standard.  Now your form should be printing from the custom driver program.  Modify away!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't forget to award points for helpful answers.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 12:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-modification-in-sap-script-driver-prog/m-p/972606#M70032</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-24T12:50:33Z</dc:date>
    </item>
  </channel>
</rss>

