<?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: update NAST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070184#M428742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RV_MESSAGE_UPDATE_SINGLE&amp;lt;/b&amp;gt; function module will INSERT an entry to NAST table and You can give the requiered values to the structure &amp;lt;b&amp;gt;MSG_NAST&amp;lt;/b&amp;gt;(Importing parameters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 14:18:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-26T14:18:26Z</dc:date>
    <item>
      <title>update NAST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070180#M428738</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;Have somebody any example code updating NAST table?&lt;/P&gt;&lt;P&gt;I have found in forum multiples results but there are not consensus in what FM you must use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WFMC_MESSAGE_SINGLE&lt;/P&gt;&lt;P&gt;RV_MESSAGE_INSERT&lt;/P&gt;&lt;P&gt;NAST_SAVE_OBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070180#M428738</guid>
      <dc:creator>former_member582701</dc:creator>
      <dc:date>2007-03-26T14:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: update NAST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070181#M428739</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;Nast table holds the output types to be processed.&lt;/P&gt;&lt;P&gt;1) Hence any new document is created which is required to be processed by an output type, the entry automatically inserted into the NAST table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If the existing document is reprocessed, again entry goes into the NAST table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how nast table updates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shahu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070181#M428739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T14:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: update NAST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070182#M428740</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;Please try this FM RV_MESSAGE_UPDATE_SINGLE to update table NAST.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070182#M428740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T14:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: update NAST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070183#M428741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you only have read the title of the post but not the content.&lt;/P&gt;&lt;P&gt;I need update manually the table &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in any case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070183#M428741</guid>
      <dc:creator>former_member582701</dc:creator>
      <dc:date>2007-03-26T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: update NAST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070184#M428742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RV_MESSAGE_UPDATE_SINGLE&amp;lt;/b&amp;gt; function module will INSERT an entry to NAST table and You can give the requiered values to the structure &amp;lt;b&amp;gt;MSG_NAST&amp;lt;/b&amp;gt;(Importing parameters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070184#M428742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T14:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: update NAST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070185#M428743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, thx. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seeing the code probably it will be satisfactory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; NAST = MSG_NAST.&lt;/P&gt;&lt;P&gt;  UPDATE NAST.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;    INSERT NAST.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE A013 WITH NAST-KAPPL NAST-OBJKY.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example filling import strcuture? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 14:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/2070185#M428743</guid>
      <dc:creator>former_member582701</dc:creator>
      <dc:date>2007-03-26T14:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: update NAST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/13871245#M2031015</link>
      <description>&lt;P&gt;Use this code for updating NAST from custom program&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Data Declaration&lt;BR /&gt;DATA: ls_nast TYPE nast,&lt;BR /&gt;lv_msg_doc TYPE char50,&lt;BR /&gt;lv_vbeln TYPE vbeln_vl.&lt;BR /&gt;* Constants&lt;BR /&gt;CONSTANTS: lc_v2 TYPE char2 VALUE 'V2',&lt;BR /&gt;lc_nacha TYPE char1 VALUE '6',&lt;BR /&gt;lc_vsztp TYPE char1 VALUE '4',&lt;BR /&gt;lc_zld2 TYPE char4 VALUE 'ZLD2',&lt;BR /&gt;lc_01 TYPE na_anzal VALUE '01',&lt;BR /&gt;lc_vstat TYPE na_vstat VALUE '1',&lt;BR /&gt;lc_msid TYPE sy-msgid VALUE 'E0',&lt;BR /&gt;lc_msgno TYPE sy-msgno VALUE '045'.&lt;BR /&gt;* Clear&lt;BR /&gt;CLEAR: ls_nast, lv_msg_doc, lv_vbeln.&lt;BR /&gt;* Logic to update NAST for all deliveries&lt;BR /&gt;LOOP AT p_li_docid INTO DATA(ls_docid).&lt;BR /&gt;lv_vbeln = ls_docid-docno+25(10).&lt;BR /&gt;lv_msg_doc = lv_docnum.&lt;BR /&gt;CALL FUNCTION 'NAST_PROTOCOL_INITIALIZE'.&lt;BR /&gt;CALL FUNCTION 'NAST_PROTOCOL_UPDATE'&lt;BR /&gt;EXPORTING&lt;BR /&gt;msg_arbgb = lc_msid&lt;BR /&gt;msg_nr = lc_msgno&lt;BR /&gt;msg_ty = lc_s&lt;BR /&gt;msg_v1 = lv_msg_doc.&lt;BR /&gt;CALL FUNCTION 'NAST_PROTOCOL_STORE' ##FM_SUBRC_OK&lt;BR /&gt;IMPORTING&lt;BR /&gt;msg_cmfpnr = ls_nast-cmfpnr&lt;BR /&gt;EXCEPTIONS&lt;BR /&gt;no_protocol_update = 1&lt;BR /&gt;OTHERS = 2.&lt;BR /&gt;ls_nast-spras = sy-langu.&lt;BR /&gt;ls_nast-anzal = lc_01.&lt;BR /&gt;ls_nast-vstat = lc_vstat. "'1'.&lt;BR /&gt;ls_nast-usnam = sy-uname.&lt;BR /&gt;ls_nast-kappl = lc_v2.&lt;BR /&gt;ls_nast-objky = lv_vbeln.&lt;BR /&gt;ls_nast-kschl = lc_zld2.&lt;BR /&gt;ls_nast-parnr = p_ls_cust-kunnr.&lt;BR /&gt;ls_nast-parvw = lc_we.&lt;BR /&gt;ls_nast-erdat = sy-datum.&lt;BR /&gt;ls_nast-eruhr = sy-uzeit.&lt;BR /&gt;ls_nast-nacha = lc_nacha.&lt;BR /&gt;ls_nast-vsztp = lc_vsztp.&lt;BR /&gt;ls_nast-manue = abap_true.&lt;BR /&gt;ls_nast-datvr = sy-datum.&lt;BR /&gt;ls_nast-uhrvr = sy-uzeit.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RV_MESSAGE_UPDATE_SINGLE'&lt;BR /&gt;EXPORTING&lt;BR /&gt;msg_nast = ls_nast.&lt;BR /&gt;&lt;BR /&gt;CLEAR: ls_docid, ls_nast.&lt;BR /&gt;ENDLOOP.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 15:00:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-nast/m-p/13871245#M2031015</guid>
      <dc:creator>Kartehiik</dc:creator>
      <dc:date>2024-09-19T15:00:12Z</dc:date>
    </item>
  </channel>
</rss>

