<?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: NAST_PROTOCOL_UDPDATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nast-protocol-udpdate/m-p/2681878#M619938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u calling  this FM in ur Driver Progam , then u have to put sy-subrc eq 4, then only u can get .&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;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2007 08:32:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-10T08:32:44Z</dc:date>
    <item>
      <title>NAST_PROTOCOL_UDPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nast-protocol-udpdate/m-p/2681877#M619937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement where if some conditions in smartform print prgram are not met, then the status of corresponding output record must be RED and a error LOG should be maintained. So i used NAST_PROTOCOL_UPDATE FM as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYST-MSGID = 'VN'.&lt;/P&gt;&lt;P&gt;SYST-MSGNO = '096'.&lt;/P&gt;&lt;P&gt;SYST-MSGTY = 'E'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'NAST_PROTOCOL_UPDATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;       msg_arbgb = syst-msgid&lt;/P&gt;&lt;P&gt;          msg_nr    = syst-msgno&lt;/P&gt;&lt;P&gt;          msg_ty    = syst-msgty&lt;/P&gt;&lt;P&gt;          msg_v1    = syst-msgv1&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;      message_type_not_valid = 1&lt;/P&gt;&lt;P&gt;      no_sy_message          = 2&lt;/P&gt;&lt;P&gt;      OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case the Error log is maintained, but the status of output record is displayed as green. &lt;/P&gt;&lt;P&gt;Can somebody give me a solution so as to switch the status of output record also to red?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 13:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nast-protocol-udpdate/m-p/2681877#M619937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T13:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: NAST_PROTOCOL_UDPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nast-protocol-udpdate/m-p/2681878#M619938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u calling  this FM in ur Driver Progam , then u have to put sy-subrc eq 4, then only u can get .&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;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 08:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nast-protocol-udpdate/m-p/2681878#M619938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T08:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: NAST_PROTOCOL_UDPDATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nast-protocol-udpdate/m-p/2681879#M619939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can change the status to red by passing "Ë" to the "MSG_TY" parameter when calling function module "NAST_PROTOCOL_UPDATE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not try setting the return code to 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do not forget to reward if hepful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        vamsi reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        vamsi reddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 08:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nast-protocol-udpdate/m-p/2681879#M619939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T08:46:23Z</dc:date>
    </item>
  </channel>
</rss>

