<?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: Preview invoice in ABAPcode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982434#M72241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bert,&lt;/P&gt;&lt;P&gt; Get the entry for the table NAST for your selected invoice #. Now call the sub routine EINZELNACHRICHT_SCREEN from the program RSNAST00 to show the print preview of the invioce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code. I have hardcoded some values (invoice #/Output type/Partner type/Partner# --&amp;gt; These entries should be from the NAST table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZZEXCEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : NAST.&lt;/P&gt;&lt;P&gt;DATA L_RCOD TYPE SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM NAST WHERE&lt;/P&gt;&lt;P&gt;       KAPPL = 'V3'         AND&lt;/P&gt;&lt;P&gt;       OBJKY = '0090000001' AND&lt;/P&gt;&lt;P&gt;       KSCHL = 'RD00'       AND&lt;/P&gt;&lt;P&gt;       SPRAS = 'E'          AND&lt;/P&gt;&lt;P&gt;       PARNR = '0001000001' AND&lt;/P&gt;&lt;P&gt;       PARVW =  'RE'        AND&lt;/P&gt;&lt;P&gt;       ERDAT = '20030414'   AND&lt;/P&gt;&lt;P&gt;       ERUHR = '173509'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAST-TDARMOD = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM EINZELNACHRICHT_SCREEN(RSNAST00) USING L_RCOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: L_RCOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEt me know , if u need any clearifications.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2005 08:42:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-25T08:42:27Z</dc:date>
    <item>
      <title>Preview invoice in ABAPcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982432#M72239</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;In a report we can click on a invoicenumber(SD) (hotspot) which leads us to tcode VF03-Display billing document. This is quite simple en works ofcourse fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the requirement is not to show VF03 but to display the invoice in print-preview mode. In VF03 we can do this through menu: issue output to - screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to ABAP (function module perhaps) to show invoice directly in printpreviewmode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 07:48:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982432#M72239</guid>
      <dc:creator>former_member378650</dc:creator>
      <dc:date>2005-08-25T07:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Preview invoice in ABAPcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982433#M72240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you try this with BDCs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 08:26:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982433#M72240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T08:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Preview invoice in ABAPcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982434#M72241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bert,&lt;/P&gt;&lt;P&gt; Get the entry for the table NAST for your selected invoice #. Now call the sub routine EINZELNACHRICHT_SCREEN from the program RSNAST00 to show the print preview of the invioce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample code. I have hardcoded some values (invoice #/Output type/Partner type/Partner# --&amp;gt; These entries should be from the NAST table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZZEXCEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : NAST.&lt;/P&gt;&lt;P&gt;DATA L_RCOD TYPE SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM NAST WHERE&lt;/P&gt;&lt;P&gt;       KAPPL = 'V3'         AND&lt;/P&gt;&lt;P&gt;       OBJKY = '0090000001' AND&lt;/P&gt;&lt;P&gt;       KSCHL = 'RD00'       AND&lt;/P&gt;&lt;P&gt;       SPRAS = 'E'          AND&lt;/P&gt;&lt;P&gt;       PARNR = '0001000001' AND&lt;/P&gt;&lt;P&gt;       PARVW =  'RE'        AND&lt;/P&gt;&lt;P&gt;       ERDAT = '20030414'   AND&lt;/P&gt;&lt;P&gt;       ERUHR = '173509'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAST-TDARMOD = '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM EINZELNACHRICHT_SCREEN(RSNAST00) USING L_RCOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: L_RCOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEt me know , if u need any clearifications.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 08:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982434#M72241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Preview invoice in ABAPcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982435#M72242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the FM RV_MESSAGE_DIALOG, it's the same fm called by VF02/3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 08:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982435#M72242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T08:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Preview invoice in ABAPcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982436#M72243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your answers. Saved me a lot of time !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 10:11:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/preview-invoice-in-abapcode/m-p/982436#M72243</guid>
      <dc:creator>former_member378650</dc:creator>
      <dc:date>2005-08-25T10:11:41Z</dc:date>
    </item>
  </channel>
</rss>

