<?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: Output reprocessing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-reprocessing/m-p/2412236#M538124</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;This is normally achieved by selecting from NAST to see if an entry for the same key has a processed status (nast-vstat = '1'). You can then set a field in the IDOC according to the existence of this record or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example selection from nast being:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select single * into *nast &lt;/P&gt;&lt;P&gt;    from nast           where   kappl = nast-kappl&lt;/P&gt;&lt;P&gt;                                and   objky = nast-objky&lt;/P&gt;&lt;P&gt;                                and   kschl = nast-kschl&lt;/P&gt;&lt;P&gt;                                and   spras = nast-spras&lt;/P&gt;&lt;P&gt;                                and   parnr = nast-parnr&lt;/P&gt;&lt;P&gt;                                and   parvw = nast-parvw&lt;/P&gt;&lt;P&gt;                                and   nacha between '1' and '4'&lt;/P&gt;&lt;P&gt;                                and   vstat = '1'.&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   This is a repeat output&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   This is not a repeat output&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2007 15:00:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-28T15:00:13Z</dc:date>
    <item>
      <title>Output reprocessing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-reprocessing/m-p/2412235#M538123</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;is there a way to set a indicartor in the SAP side to tell the ASN IDOC has been resend and not orginal?&lt;/P&gt;&lt;P&gt;The customer wants that if the ASN idoc is sent again the customer would want to know that its not an origianl ASN instead its a copy of the ASN sent earlier.&lt;/P&gt;&lt;P&gt;any idea how to achieve this?&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 19:40:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-reprocessing/m-p/2412235#M538123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T19:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Output reprocessing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-reprocessing/m-p/2412236#M538124</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;This is normally achieved by selecting from NAST to see if an entry for the same key has a processed status (nast-vstat = '1'). You can then set a field in the IDOC according to the existence of this record or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example selection from nast being:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select single * into *nast &lt;/P&gt;&lt;P&gt;    from nast           where   kappl = nast-kappl&lt;/P&gt;&lt;P&gt;                                and   objky = nast-objky&lt;/P&gt;&lt;P&gt;                                and   kschl = nast-kschl&lt;/P&gt;&lt;P&gt;                                and   spras = nast-spras&lt;/P&gt;&lt;P&gt;                                and   parnr = nast-parnr&lt;/P&gt;&lt;P&gt;                                and   parvw = nast-parvw&lt;/P&gt;&lt;P&gt;                                and   nacha between '1' and '4'&lt;/P&gt;&lt;P&gt;                                and   vstat = '1'.&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   This is a repeat output&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   This is not a repeat output&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 15:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-reprocessing/m-p/2412236#M538124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-28T15:00:13Z</dc:date>
    </item>
  </channel>
</rss>

