<?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: Table update does not work + AUFK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181631#M1908945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ramiwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you do not modify or update AUFK /any SAP standard tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the BAPI process , look for a exit or Enhancement technique to pass the value of your custom field and let BAPI save the data on it own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ground rule is we should not write Modify/update on SAP standard tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh Kutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 11:49:23 GMT</pubDate>
    <dc:creator>suresh_kutam</dc:creator>
    <dc:date>2015-07-31T11:49:23Z</dc:date>
    <item>
      <title>Table update does not work + AUFK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181627#M1908941</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;&lt;/P&gt;&lt;P&gt;I am trying to update the AUFK table for a service order that just got created in the previous statement. But the Modify nor update statement&amp;nbsp; does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom field in the AUFK table that I am trying to update (AUFK-ZFIELD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Step 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_ALM_ORDER_MAINTAIN' "&amp;nbsp; This creates a new service order (IW31) and&amp;nbsp; generates an order number aufk-1234.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Step2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'BAPI_TRANSACTION_COMMIT'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Step 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;UPDATE &lt;/SPAN&gt;aufk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SET &lt;/SPAN&gt;ZZ_FIELD &lt;SPAN class="L0S55"&gt;= XXXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;aufnr &lt;SPAN class="L0S55"&gt;= &lt;SPAN style="font-size: 13.3333330154419px;"&gt;aufk-1234.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;The above statement returns sy-subrc eq 4&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I do not want to use the extension BAPI for this custom field update.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me why this doesn't work? I tried using the modify statement likewise with no effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 09:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181627#M1908941</guid>
      <dc:creator>ramiwal_dsilva</dc:creator>
      <dc:date>2015-07-30T09:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Table update does not work + AUFK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181628#M1908942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramiwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;'BAPI_TRANSACTION_COMMIT' exporting WAIT = 'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Archer&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 09:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181628#M1908942</guid>
      <dc:creator>ArcherZhang</dc:creator>
      <dc:date>2015-07-30T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table update does not work + AUFK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181629#M1908943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramiwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Agree with Archer .&lt;/P&gt;&lt;P&gt;Reason why&amp;nbsp; '&lt;STRONG&gt;UPDATE'&lt;/STRONG&gt; is not working is, in database the order number(aufnr &lt;SPAN class="L0S55"&gt;= &lt;SPAN style="font-size: 13.33px;"&gt;aufk-1234) &lt;/SPAN&gt;&lt;/SPAN&gt; is not yet created in AUFK&amp;nbsp; table . When you are trying to update a field of a record which does not exists in database, its showing sy-subrc = 4 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52" style="background: #ffffff; color: #333333; font-size: 12px;"&gt;Use this&amp;nbsp; CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="background: #ffffff; color: #333333; font-size: 12px;"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="background: #ffffff; color: #333333; font-size: 12px;"&gt;'BAPI_TRANSACTION_COMMIT' exporting WAIT = 'X'&amp;nbsp; for synchronous updating .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33" style="background: #ffffff; color: #333333; font-size: 12px;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33" style="background: #ffffff; color: #333333; font-size: 12px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33" style="background: #ffffff; color: #333333; font-size: 12px;"&gt;DJ&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 13:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181629#M1908943</guid>
      <dc:creator>dibyajeeban_jena</dc:creator>
      <dc:date>2015-07-30T13:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table update does not work + AUFK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181630#M1908944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Archer, Jena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response, but i believe i solved the issue.&lt;/P&gt;&lt;P&gt;It is because the data element referring to&amp;nbsp; &lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;aufk-1234 had a conversion exit , and hence &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;was required to be converted before passing it to the Update statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 13.3333330154419px;"&gt;Issue resolved&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 15:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181630#M1908944</guid>
      <dc:creator>ramiwal_dsilva</dc:creator>
      <dc:date>2015-07-30T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table update does not work + AUFK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181631#M1908945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ramiwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you do not modify or update AUFK /any SAP standard tables .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the BAPI process , look for a exit or Enhancement technique to pass the value of your custom field and let BAPI save the data on it own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ground rule is we should not write Modify/update on SAP standard tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any further details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suresh Kutam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 11:49:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-update-does-not-work-aufk/m-p/11181631#M1908945</guid>
      <dc:creator>suresh_kutam</dc:creator>
      <dc:date>2015-07-31T11:49:23Z</dc:date>
    </item>
  </channel>
</rss>

