<?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 field UHRVR time diff. while updating in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nast-field-uhrvr-time-diff-while-updating/m-p/5283498#M1219302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've resolved it myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2009 09:47:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-17T09:47:57Z</dc:date>
    <item>
      <title>Nast field UHRVR time diff. while updating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nast-field-uhrvr-time-diff-while-updating/m-p/5283497#M1219301</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;&lt;/P&gt;&lt;P&gt;For some reason i need to update all the invoices falling under same category with same time....say for example the output type is RD00 status yellow technically nast-vstat = '0' for 5 invoices and now i need to update them to green i.e nast-vstat = '1' with same time i.e nast-uhrvr = 'same time' for all invoices....this is not happing and there is a time difference of say about a few seconds......i dont know why.....i even took freezed the time considering it at the begining and assinged it similar but even though its not working......i tried with individual update of invoices using RV_MESSSAGE_UPDATE_SINGLE and now with RV_MESSSAGE_UPDATE....but still goes vain......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my code........plz come up with some solution.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: g_tab_nast type standard table of nast,&lt;/P&gt;&lt;P&gt;        g_wa_nast type nast,&lt;/P&gt;&lt;P&gt;        g_tab_nast_new type standard table of vnast,&lt;/P&gt;&lt;P&gt;       g_wa_nast_new type vnast,&lt;/P&gt;&lt;P&gt;       l_uzeit type sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_uzeit = sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT g_tab_nast INTO g_wa_nast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING g_wa_nast TO g_wa_nast_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR: g_wa_nast_new-vstat,g_wa_nast_new-uhrvr, g_wa_nast_new-usnam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    g_wa_nast_new-vstat = '1'.&lt;/P&gt;&lt;P&gt;    g_wa_nast_new-usnam = sy-uname.&lt;/P&gt;&lt;P&gt;    g_wa_nast_new-datvr = sy-datum.&lt;/P&gt;&lt;P&gt;    g_wa_nast_new-uhrvr = l_uzeit.&lt;/P&gt;&lt;P&gt;    g_wa_nast_new-updat = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND g_wa_nast_new TO g_tab_nast_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR:g_wa_nast,g_wa_nast_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RV_MESSAGE_UPDATE'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      msg_xnast = g_tab_nast_new&lt;/P&gt;&lt;P&gt;      msg_ynast = g_tab_nast&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_update = 1&lt;/P&gt;&lt;P&gt;      OTHERS    = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 15:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nast-field-uhrvr-time-diff-while-updating/m-p/5283497#M1219301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T15:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nast field UHRVR time diff. while updating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nast-field-uhrvr-time-diff-while-updating/m-p/5283498#M1219302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've resolved it myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 09:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nast-field-uhrvr-time-diff-while-updating/m-p/5283498#M1219302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T09:47:57Z</dc:date>
    </item>
  </channel>
</rss>

