<?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: Database not updating using Update Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888241#M1888759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check that SELECT query again?&lt;/P&gt;&lt;P&gt;Student name is not a key field and in where clause you are using no key fields.&lt;/P&gt;&lt;P&gt;Now you may check for the following things,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when you select the Stud_ID based on name, what happens if two same name exist with different Stud_IDs? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 07:23:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-02-16T07:23:44Z</dc:date>
    <item>
      <title>Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888235#M1888753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hi Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;I had written the Following Update Function Module to update the student marks in zstudentmarks&amp;nbsp; based on the name of student imported from main program.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;ZF_MARKS &lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*"----------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*"*"Update Function Module:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*"*"Local Interface:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*"&amp;nbsp; IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE(NAME) TYPE&amp;nbsp; CHAR30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;*"----------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;lv_id &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;int1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Getting StudentID Based on name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;SELECT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SINGLE &lt;/SPAN&gt;stud_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;zstudentmaster&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;lv_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;stud_name &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;name&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_id&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mark1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;35&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mark2 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;35&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mark3 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;38&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mark4 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;36&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mark5 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;35&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*Inserting into Internal Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INSERT &lt;/SPAN&gt;wa &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;itab&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Updating entry in DB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;zstudentmarks &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;itab&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp; COMMIT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;WORK&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDFUNCTION&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;While Debugging the record is showing in the internal table. But it is not updating in the database....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Thanx in advance...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 05:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888235#M1888753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-16T05:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888236#M1888754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj, &lt;/P&gt;&lt;P&gt; Kindly check whether mark1, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;mark&lt;/SPAN&gt;2, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;mark3, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;mark4, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;mark5 is not a primary key. If it is a primary key, then system wont update the value.&amp;nbsp; In debug mode check the Subrc value in modify statement.&lt;/SPAN&gt;&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;Make sure Itab has the same structure of the Ztable '&lt;STRONG&gt;zstudentmarks&lt;/STRONG&gt;'.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajkumar Narasimman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 05:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888236#M1888754</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2015-02-16T05:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888237#M1888755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you have client field (field having data element MANDT) in the custom table, try to include it in the work area WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is already an entry in the table with the same primary key(s) as in work area, you will end up getting a data dump with error statement saying 'duplicate record'. Please check if that is the case here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 06:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888237#M1888755</guid>
      <dc:creator>former_member185613</dc:creator>
      <dc:date>2015-02-16T06:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888238#M1888756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajkumar N,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;Internal Table&lt;/STRONG&gt; and &lt;STRONG&gt;Zstudentmarks&lt;/STRONG&gt; has the same structure.&lt;/P&gt;&lt;P&gt;And mark1, mark2, mark3, mark4, mark5 is not a primary key. The primary key is the stud_id.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 06:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888238#M1888756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-16T06:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888239#M1888757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no MANDT field in the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stud_id is a primary key and i want to update the existing record not inserting another record. It is not giving any error. If I am copying this code to the REPORT program than its working fine and updating the records in database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 06:27:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888239#M1888757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-16T06:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888240#M1888758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Have you declared &lt;A href="#" style="background: none repeat scroll 0% 0% transparent ! important; border: medium none ! important; display: inline-block ! important; text-indent: 0px ! important; float: none ! important; font-weight: bold ! important; height: auto ! important; margin: 0px ! important; min-height: 0px ! important; min-width: 0px ! important; padding: 0px ! important; text-transform: uppercase ! important; text-decoration: underline ! important; vertical-align: baseline ! important; width: auto ! important;" title="Click to Continue &amp;gt; by 1ClickMovie Downloader1.1"&gt;your&lt;IMG src="http://cdncache1-a.akamaihd.net/items/it/img/arrow-10x10.png" style="background: none repeat scroll 0% 0% transparent ! important; border: medium none ! important; display: inline-block ! important; text-indent: 0px ! important; float: none ! important; font-weight: bold ! important; height: 10px ! important; margin: 0px 0px 0px 3px ! important; min-height: 0px ! important; min-width: 0px ! important; padding: 0px ! important; text-transform: uppercase ! important; text-decoration: underline ! important; vertical-align: super ! important; width: 10px ! important;" /&gt;&lt;/A&gt; internal table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data itab type table of zstudentmarks with header line.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And work area&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa like line of itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You can select and modify using this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;select &lt;SPAN class="L0S52"&gt;single &lt;/SPAN&gt;* &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;zstudmarks &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;wa &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;stud_name &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;name&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0 &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modify the fields you want here&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wa&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mark1 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;78&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;wa&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;mark2 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;79&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;* modify table&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;modify&amp;nbsp; &lt;/SPAN&gt;zstudmarks &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;wa&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;I hope this helps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888240#M1888758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-16T07:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888241#M1888759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check that SELECT query again?&lt;/P&gt;&lt;P&gt;Student name is not a key field and in where clause you are using no key fields.&lt;/P&gt;&lt;P&gt;Now you may check for the following things,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when you select the Stud_ID based on name, what happens if two same name exist with different Stud_IDs? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888241#M1888759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-16T07:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888242#M1888760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pankaj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be record is already there and therefore it is not updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also for checking the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Updating entry in DB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;zstudentmarks &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;itab&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;*Updating entry in DB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;zstudentmarks &lt;SPAN class="L0S52"&gt;FROM wa&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 08:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888242#M1888760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-16T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Database not updating using Update Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888243#M1888761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Sayeh Cyril wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;Have you declared &lt;A _jive_internal="true" href="https://answers.sap.com/"&gt;your&lt;IMG src="http://cdncache1-a.akamaihd.net/items/it/img/arrow-10x10.png" style="margin: 0px 0px 0px 3px !important; padding: 0px !important; border: currentColor !important; width: 10px !important; height: 10px !important; text-transform: uppercase !important; text-indent: 0px !important; font-weight: bold !important; text-decoration: underline !important; vertical-align: super !important; float: none !important; display: inline-block !important; min-height: 0px !important; min-width: 0px !important;" /&gt;&lt;/A&gt; internal table like this&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Data itab type table of zstudentmarks with header line.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And work area&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;wa like line of itab&lt;/STRONG&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, HEADER LINES are obsolete. Second, if you have a header line, you don't need a work area defined seperately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 08:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-not-updating-using-update-function-module/m-p/10888243#M1888761</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2015-02-16T08:32:14Z</dc:date>
    </item>
  </channel>
</rss>

