<?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: regarding data base update in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475509#M557223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi..&lt;/P&gt;&lt;P&gt;please check this link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3ac8358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3ac8358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2007 10:30:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-22T10:30:56Z</dc:date>
    <item>
      <title>regarding data base update in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475507#M557221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     i have developed a table control in which 10 rows are coming in the output,what i want that when i press save button the complete 10 rows will get save in my own database table at a time ..for this what sud i write under my save button ,plz help me as i new to module pool also i have to save the time in my database table i.e at what time the particluar rows are saving in my database table...thnx in advance,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 10:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475507#M557221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T10:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: regarding data base update in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475508#M557222</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;IN PAI Module of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE UPDATE.
if sy-ucomm = 'SAVE'.
modify ztable from itab " Here Itab should have have the same structure of ZTABLE.
endif.

ENDMODULE UPDATE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;VAsanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 10:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475508#M557222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T10:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: regarding data base update in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475509#M557223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi..&lt;/P&gt;&lt;P&gt;please check this link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3ac8358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3ac8358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ashu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 10:30:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475509#M557223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T10:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: regarding data base update in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475510#M557224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;Check the code below. I have wrked on the similar task. So it would be helpfrul.&lt;/P&gt;&lt;P&gt;After UPDATE  in the below code give the field name in that table which u want to update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write this code in the PAI Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN c_save.&lt;/P&gt;&lt;P&gt;      CLEAR g_update_cnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT i_eine1.&lt;/P&gt;&lt;P&gt;        CLEAR g_cnctnt.&lt;/P&gt;&lt;P&gt;        CONCATENATE sy-mandt i_eine1-infnr&lt;/P&gt;&lt;P&gt;                    i_eine1-ekorg i_eine1-esokz&lt;/P&gt;&lt;P&gt;                    i_eine1-werks INTO g_cnctnt.&lt;/P&gt;&lt;P&gt;        CONDENSE  g_cnctnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'ENQUEUE_E_TABLEE'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            mode_rstable   = 'E'&lt;/P&gt;&lt;P&gt;            tabname        = 'EINE'&lt;/P&gt;&lt;P&gt;            varkey         = g_cnctnt&lt;/P&gt;&lt;P&gt;            _scope         = '2'&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            foreign_lock   = 1&lt;/P&gt;&lt;P&gt;            system_failure = 2&lt;/P&gt;&lt;P&gt;            OTHERS         = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        UPDATE eine&lt;/P&gt;&lt;P&gt;                   SET zira  = i_eine1-zira&lt;/P&gt;&lt;P&gt;                       aplfz = i_eine1-aplfz&lt;/P&gt;&lt;P&gt;                       minbm = i_eine1-minbm&lt;/P&gt;&lt;P&gt;                       bstae = i_eine1-bstae&lt;/P&gt;&lt;P&gt;                       inco1 = i_eine1-inco1&lt;/P&gt;&lt;P&gt;                       inco2 = i_eine1-inco2&lt;/P&gt;&lt;P&gt;                    WHERE&lt;/P&gt;&lt;P&gt;                              infnr = i_eine1-infnr&lt;/P&gt;&lt;P&gt;                          AND ekorg = i_eine1-ekorg&lt;/P&gt;&lt;P&gt;                          AND esokz = i_eine1-esokz&lt;/P&gt;&lt;P&gt;                          AND werks = i_eine1-werks.&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          g_update_cnt = g_update_cnt + 1.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;      IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;        ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;        MESSAGE i076(zptp).&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        MESSAGE s077(zptp) WITH g_update_cnt.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'DEQUEUE_E_TABLEE'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          mode_rstable = 'E'&lt;/P&gt;&lt;P&gt;          tabname      = 'EINE'&lt;/P&gt;&lt;P&gt;          _scope       = '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &amp;amp; Thanks,&lt;/P&gt;&lt;P&gt;Ramana Prasad. T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2007 10:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-base-update-in-table-control/m-p/2475510#M557224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-22T10:33:59Z</dc:date>
    </item>
  </channel>
</rss>

