<?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: A ZPRINTPROGRAM and ZSMARTFORMS  attached to standard tcode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-zprintprogram-and-zsmartforms-attached-to-standard-tcode/m-p/3677958#M885769</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;It is always a nasty work, if there is no example standard printer program and smartforms from you can get some idea.&lt;/P&gt;&lt;P&gt;You have to debug the standard program, which is calling the ZPRINTERPROGRAM.&lt;/P&gt;&lt;P&gt;Put a break point into your printer program, and check the program, which were calling it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some good way to retrieve data, from the caller programs:&lt;/P&gt;&lt;P&gt;- find some useful global variables&lt;/P&gt;&lt;P&gt;- call standard functions, which is called also in this transaction&lt;/P&gt;&lt;P&gt;- run forms from these programs, like this: PERFORM sapform(SAPL1234). "this will call the sapform form from program SAPL1234.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 10:57:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-08T10:57:23Z</dc:date>
    <item>
      <title>A ZPRINTPROGRAM and ZSMARTFORMS  attached to standard tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-zprintprogram-and-zsmartforms-attached-to-standard-tcode/m-p/3677957#M885768</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 have written a ZPRINTPROGRAM and ZSMARTFORMS and it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want the ZPRINTPROGRAM to be attached to the standard Transaction VT02N where, &lt;/P&gt;&lt;P&gt;if I give the shipment number in the intial screen and goto Menu- Shipment - output -printer,It&lt;/P&gt;&lt;P&gt;should print the output of the shipment number given in the initial screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transaction VT02N,the given shipment number should be passed to ZPRINTPROGRAM&lt;/P&gt;&lt;P&gt;selection screen,where the selection screen contains the shipment number and it will trigger&lt;/P&gt;&lt;P&gt;automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone find any userexit and suggestions,let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any queries let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manohar S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 10:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-zprintprogram-and-zsmartforms-attached-to-standard-tcode/m-p/3677957#M885768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T10:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: A ZPRINTPROGRAM and ZSMARTFORMS  attached to standard tcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a-zprintprogram-and-zsmartforms-attached-to-standard-tcode/m-p/3677958#M885769</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;It is always a nasty work, if there is no example standard printer program and smartforms from you can get some idea.&lt;/P&gt;&lt;P&gt;You have to debug the standard program, which is calling the ZPRINTERPROGRAM.&lt;/P&gt;&lt;P&gt;Put a break point into your printer program, and check the program, which were calling it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some good way to retrieve data, from the caller programs:&lt;/P&gt;&lt;P&gt;- find some useful global variables&lt;/P&gt;&lt;P&gt;- call standard functions, which is called also in this transaction&lt;/P&gt;&lt;P&gt;- run forms from these programs, like this: PERFORM sapform(SAPL1234). "this will call the sapform form from program SAPL1234.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 10:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a-zprintprogram-and-zsmartforms-attached-to-standard-tcode/m-p/3677958#M885769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T10:57:23Z</dc:date>
    </item>
  </channel>
</rss>

