<?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: sap script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266590#M149199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hazam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer1) Go to Transaction 'NACE'. There Select your Application type and press the Output Types button. On the next screen select your output type and double click the processing routines link on the right hand side. Here under Processing 1 block you can enter your from details to get your form on transaction ME21n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer2) your sap-script form will get called automatically when you try to save some PO in the transaction ME21n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLease reward points if the answer was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2006 06:46:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-25T06:46:42Z</dc:date>
    <item>
      <title>sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266587#M149196</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;&lt;/P&gt;&lt;P&gt; please rectify my qus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    1, we all know that me21n is transaction for purchase order , and for that medruck is standard layout set when we copy medruck to zmedruck how will we attach zmedruck to me21n?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2, how to execute sap-script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 06:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266587#M149196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T06:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266588#M149197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hazam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto OLME-&amp;gt;Message-&amp;gt;Forms (layout set) for messages-&amp;gt;Assign form to Purchase order. In this u can assign ur own ZMEDRUCK to output type NEU ad medium 1. The sapscript is executed when u save the PO. Check in messages for the PO. Further data tab should show dispatch time field if this is set to Send immediately then Print is generated when PO is saved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 06:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266588#M149197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T06:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266589#M149198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hazam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  when we copy medruck to zmedruck how will we attach zmedruck to me21n?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The functional consultant&lt;/P&gt;&lt;P&gt;will do that in customization/configuration&lt;/P&gt;&lt;P&gt;and specify the Z name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.how to execute sap-script? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a for that we have to write one se38 program.&lt;/P&gt;&lt;P&gt;b.  this program is called as driver program&lt;/P&gt;&lt;P&gt;c. in that we have to use 3 fm.&lt;/P&gt;&lt;P&gt;   open_form&lt;/P&gt;&lt;P&gt;   write_form&lt;/P&gt;&lt;P&gt;   close_form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d. in that we specify the sapscript name.&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;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 06:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266589#M149198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T06:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266590#M149199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hazam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer1) Go to Transaction 'NACE'. There Select your Application type and press the Output Types button. On the next screen select your output type and double click the processing routines link on the right hand side. Here under Processing 1 block you can enter your from details to get your form on transaction ME21n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer2) your sap-script form will get called automatically when you try to save some PO in the transaction ME21n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLease reward points if the answer was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 06:46:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266590#M149199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T06:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266591#M149200</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;Take a look at this thread for details. It will be a part of the customization.&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="1543019"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SPRO transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Customizing Implementation Guide --&amp;gt; Materials Management --&amp;gt; Purchasing --&amp;gt; Messages --&amp;gt; Forms (Layout Sets) for Messages --&amp;gt; Assign Form and Output Program for Purchase Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you will be able to assign the Program name / Subroutine name (FORM Routine) and the SAP Script (FORM) Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP Script will need a print program to be called from.&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;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please close the thread if this solves the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 06:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266591#M149200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T06:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266592#M149201</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;1-&lt;/P&gt;&lt;P&gt;WHEN YOU R CONVERTING THE MEDRUCK TO ZMEDRUCK YOU CANT ATTACH THE ME21N TO Z MEDRUCK BECAUSE USING ME21N YOU R CREATING YOUR PURCHASE ORDER NOT YOU R ACCESSING THE MEDRUCK THROUGH THIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE STANDARD PROGRAM FOR ME21N IS SAPLMEGUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2-EXECUTION OF SAP SCRIPT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOLLOW THIS PROCESS&lt;/P&gt;&lt;P&gt;1- OPEN THE SAPSCRIPT FORM&lt;/P&gt;&lt;P&gt;PUT /H IN COMMAND LINE&lt;/P&gt;&lt;P&gt;2- GO TO THE SE38&lt;/P&gt;&lt;P&gt;3- GIVE THE REPORT NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE THE PROGRAM IN THE DEBUG MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 06:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266592#M149201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T06:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266593#M149202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hazam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   This is the way to assign the modified form name to transaction,but this is not developer's duty,my suggession is please do not make any modifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Goto Tcode:NACE&lt;/P&gt;&lt;P&gt;2. select Purchase order(EF) row&lt;/P&gt;&lt;P&gt;3. press output types button in application tool bar&lt;/P&gt;&lt;P&gt;4. Select Purchase Order (ZNEU) &lt;/P&gt;&lt;P&gt;5. Double click the processing routines folder which has placed in left side of that screen.&lt;/P&gt;&lt;P&gt;6. Then you can able to see output parameters,from there you can select print output and you need to give the modified form name there in FORM column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 07:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266593#M149202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T07:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266594#M149203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hazam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) To attach a Sap Script form to any transaction, we create a output type in which we give the Program name and the corresponding Sap Script name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your rquirement:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Go to transaction 'NACE'. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Select the Application type and press the Output Types button.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;On the next screen, click on 'Change' button and than click on 'New Entries'. Mention the name for output type and fill necessary field. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Now, select the Output Type created and double click the 'Processing routines' link on the left side of screen. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enter Medium(1), Program and Form name.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Executing Sap Script:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Go to transaction me22n and select the PO. Select menu option Goto -&amp;gt; messages.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enter Output Type, Medium and Language.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Save the ransaction.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In transaction me23n, you will see the output type in the Menu option. Select that Output Type and it will fire a print for your PO.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neeraj Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2006 07:30:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script/m-p/1266594#M149203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-25T07:30:13Z</dc:date>
    </item>
  </channel>
</rss>

