<?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: Function module for updating the values in table VTTK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849300#M359970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using BAPI_SHIPMENT_CHANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that you'll need to populate the field HEADERDATA-SERVICE_AGENT_ID (structure BAPISHIPMENTHEADER) with the value that has to be assigned to the VTTK-TDLNR field and the field HEADERDATAACTION-SERVICE_AGENT_ID = 'C' (for Change). Naturally, the field SHIPMENT_NUM should have the shipment number (VTTK-TKNUM) in both structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2007 19:05:57 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2007-01-05T19:05:57Z</dc:date>
    <item>
      <title>Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849299#M359969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a report in which I need to update the value of field tdlnr of table vttk for a particular shipment number. I need to do this using functional module and I am not been able to find one. If anyone knows answer to this plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 12:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849299#M359969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T12:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849300#M359970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using BAPI_SHIPMENT_CHANGE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that you'll need to populate the field HEADERDATA-SERVICE_AGENT_ID (structure BAPISHIPMENTHEADER) with the value that has to be assigned to the VTTK-TDLNR field and the field HEADERDATAACTION-SERVICE_AGENT_ID = 'C' (for Change). Naturally, the field SHIPMENT_NUM should have the shipment number (VTTK-TKNUM) in both structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 19:05:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849300#M359970</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2007-01-05T19:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849301#M359971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicate - deleted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jelena Perfiljeva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 19:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849301#M359971</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2007-01-05T19:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849302#M359972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RV_SHIPMENT_UPDATE&lt;/P&gt;&lt;P&gt;RV_SHIPMENT_UPDATE_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&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>Fri, 05 Jan 2007 19:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849302#M359972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T19:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849303#M359973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ferry,&lt;/P&gt;&lt;P&gt;You had suggested that I use RV_SHIPMENT_UPDATE in my report&lt;/P&gt;&lt;P&gt; for changing the value of forwarding agent field of a particular shipment # in table VTTK . Cud u plz tell me how to use this function. Also I had read that this function for updating dates. Does it mean that it cannot be used for updating any other field other than one for date in table VTTK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 07:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849303#M359973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-06T07:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849304#M359974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena,&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;I did what you had suggested me to do but I don't know what to enter for return in function module BAPI_SHIPMENT_CHANGE. &lt;/P&gt;&lt;P&gt;Waiting for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 07:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849304#M359974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-06T07:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849305#M359975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U should not give any input to return parameter. &lt;/P&gt;&lt;P&gt;Return parameter will return message whether ur values have been updated or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its used to track the message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 08:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849305#M359975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-06T08:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for updating the values in table VTTK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849306#M359976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As noted above, RETURN table must be supplied empty, it is for BAPI to return the messages back to the calling program. You simply need to define an internal table, pass it to BAPI as is and then analyze this table after the BAPI call. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF it_return OCCURS 0.
        INCLUDE STRUCTURE bapiret2.
DATA: END OF it_return.

CALL FUNCTION 'BAPI_SHIPMENT_CHANGE'
&amp;lt;...&amp;gt;
  TABLES
&amp;lt;...&amp;gt;
    return = it_return.

LOOP AT it_return.
  MESSAGE
       ID      it_return-id
       TYPE    it_return-type
       NUMBER  it_return-number
   WITH
               it_return-message_v1
               it_return-message_v2
               it_return-message_v3
               it_return-message_v4.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 17:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-updating-the-values-in-table-vttk/m-p/1849306#M359976</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2007-01-08T17:40:36Z</dc:date>
    </item>
  </channel>
</rss>

