<?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: Avoid processing output messages / NAST update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638258#M1571920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to keep the message as new (yellow icon).&lt;/P&gt;&lt;P&gt;The output must be processed when saving the document (a Purchase order).&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;Control routines cannot be a solution because customer do not want to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That requirement doesn't really make sense for a released PO though.  'Processed' and 'Yellow' are contradictory.  Why does the customer not want to use a requirement (or lack of a condition record) to stop the proposal?  Has someone with experience explained to them in depth how it works?  If you don't see a condition, you have a determination log that tells you exactly why it wasn't proposed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're stuck though, I would look at setting the NAST-AKTIV ('X' = deactivated) and NAST-SNDPR ('X" = disregard) values in the message maintenance process just like SAP does...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Feb 2011 15:22:25 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2011-02-17T15:22:25Z</dc:date>
    <item>
      <title>Avoid processing output messages / NAST update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638254#M1571916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;i have to implement a custom procedure with the following requirment:&lt;/P&gt;&lt;P&gt;Based on custom rules, the output should not be processed.&lt;/P&gt;&lt;P&gt;I try to modify the print report recalled by rsnast00 and i give e returncode = 3 but the message on the document is setted as succesfully processed (green icon).&lt;/P&gt;&lt;P&gt;I want to keep the message as new (yellow icon).&lt;/P&gt;&lt;P&gt;The output must be processed when saving the document (a Purchase order).&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;Control routines cannot be a solution because customer do not want to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 08:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638254#M1571916</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2011-02-16T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid processing output messages / NAST update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638255#M1571917</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;Why don't you use requirement routine to stop triggering of the output on not meeting the conditions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 11:10:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638255#M1571917</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2011-02-17T11:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid processing output messages / NAST update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638256#M1571918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;i think there was a misunderstanding on some terms.&lt;/P&gt;&lt;P&gt;i wrote:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Control routines cannot be a solution because customer do not want to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Meaning your requirement routines with my "control routines".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer do not want to implement any of them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 12:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638256#M1571918</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2011-02-17T12:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid processing output messages / NAST update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638257#M1571919</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;Ok. If there is some business reason behind, You can try with an alternate solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your print program will have subroutine something like FORM ENTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the start of the routine itself, place your validations. If validation fails use EXIT statement /come out of processing so that control comes out of the routine and dont process the output. At the same time set the return code to nonzero. You also have to update the NAST protocal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM ENTRY USING return_code us_screen.
IF validations fails.
      retcode = sy-subrc.
      syst-msgno = c_900.
      syst-msgid = c_am.
      syst-msgty = c_e.
"Populate msgv1,2,3,4 if required.
  CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
    EXPORTING
      msg_arbgb = syst-msgid
      msg_nr    = syst-msgno
      msg_ty    = syst-msgty
      msg_v1    = syst-msgv1
      msg_v2    = syst-msgv2
      msg_v3    = syst-msgv3
      msg_v4    = syst-msgv4
    EXCEPTIONS
      OTHERS    = 1.
ELSE.
"Proceed with output processing.
ENDIF.
ENDFORM.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 12:49:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638257#M1571919</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2011-02-17T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid processing output messages / NAST update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638258#M1571920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to keep the message as new (yellow icon).&lt;/P&gt;&lt;P&gt;The output must be processed when saving the document (a Purchase order).&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;Control routines cannot be a solution because customer do not want to use them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That requirement doesn't really make sense for a released PO though.  'Processed' and 'Yellow' are contradictory.  Why does the customer not want to use a requirement (or lack of a condition record) to stop the proposal?  Has someone with experience explained to them in depth how it works?  If you don't see a condition, you have a determination log that tells you exactly why it wasn't proposed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're stuck though, I would look at setting the NAST-AKTIV ('X' = deactivated) and NAST-SNDPR ('X" = disregard) values in the message maintenance process just like SAP does...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 15:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-processing-output-messages-nast-update/m-p/7638258#M1571920</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-02-17T15:22:25Z</dc:date>
    </item>
  </channel>
</rss>

