<?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: Entering data to a database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758415#M904202</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;do this way ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables : mara.

 parameters : p_matnr like mara-matnr,
                    

 start-of-selection.
 select  single * from mara into mara 
     where matnr = p_matnr.             
 if sy-subrc = 0.
   wa_mara-lvorm = 'X'. 
   modify mara from wa_mara transporting lvorm. 
 endif.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 11:05:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T11:05:35Z</dc:date>
    <item>
      <title>Entering data to a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758414#M904201</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;I am trying to code a program using the the ABAP/4 Editor. I want a program that reads input from a user and updates a table in the database. Can you please assist me with the correct coding that I am suppose to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 10:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758414#M904201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T10:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data to a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758415#M904202</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;do this way ...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables : mara.

 parameters : p_matnr like mara-matnr,
                    

 start-of-selection.
 select  single * from mara into mara 
     where matnr = p_matnr.             
 if sy-subrc = 0.
   wa_mara-lvorm = 'X'. 
   modify mara from wa_mara transporting lvorm. 
 endif.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 11:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758415#M904202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T11:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data to a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758416#M904203</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;I am not sure, maybe my question wasnt clear enough, let me elaborate:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I have a table called ZPMS_PARTNERS, the table doesn't contain any data and I want to have a program that allows the user to insert the partner's name, the partner's address and the partner's contact details. After the user has entered this data, I want the program to take the data entered by the user and then modify the table ZPMS_PARTNERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 11:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758416#M904203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data to a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758417#M904204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First your question is not in a transparanet way. As per my under stand that you can mention that Update statement in the user exit then that table can be updated when ever realted information will be change.&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;Kumar..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 11:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758417#M904204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T11:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data to a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758418#M904205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Function Module?Program with input parameters that you need and update the Ztable (sample coding as Santosh gave).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 19:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758418#M904205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T19:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data to a database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758419#M904206</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;To insert the data into the table ZPMS_PARTNERS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where you will have all the table fields has input fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;think there are 3 fields .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field1     input filed(give the name gt_tab-field1)&lt;/P&gt;&lt;P&gt;field2     input field(give the name gt_tab-field2)&lt;/P&gt;&lt;P&gt;field3    input field(give the name gt_tab-field3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save      exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make save and exit as pushbuttons .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after entering the data into the input fields ,press save button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;module after 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process after input.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'SAVE'.&lt;/P&gt;&lt;P&gt;Insert ztable from table gt_tab&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 04:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-to-a-database-table/m-p/3758419#M904206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T04:37:13Z</dc:date>
    </item>
  </channel>
</rss>

