<?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: update transparent table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087750#M977366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P&gt;INSERT INTO &amp;lt;dbtab&amp;gt; FROM &amp;lt;wa&amp;gt;.&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;Swarup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 12:13:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T12:13:21Z</dc:date>
    <item>
      <title>update transparent table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087748#M977364</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;can anyone help me out of the situation.&lt;/P&gt;&lt;P&gt;I have two text box designed on screen &lt;/P&gt;&lt;P&gt;for a module pool program----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;say for example userid and username.&lt;/P&gt;&lt;P&gt;now whatever user enters on screen&lt;/P&gt;&lt;P&gt;for the two text box userid and username -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;it should hit a customised transparent table&lt;/P&gt;&lt;P&gt;maintained in data dictionary and update the &lt;/P&gt;&lt;P&gt;corresponding field in the table.&lt;/P&gt;&lt;P&gt;now how to write the code in the flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 12:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087748#M977364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T12:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: update transparent table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087749#M977365</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;PRE&gt;&lt;CODE&gt;INSERT INTO &amp;lt;dbtab&amp;gt; VALUES &amp;lt;struct&amp;gt; ACCEPTING DUPLICATE KEYS.
  IF sy-subrc = 0.
    MESSAGE I100(zmsg) WITH
    'Data is uploaded to table &amp;lt;Ztable&amp;gt; successfully.'.
  ELSEIF sy-subrc = 4.
    MESSAGE W100(zmsg) WITH
    'Warning: Duplicate Key Entries!'.
  ELSE.
    MESSAGE E100(zmsg) WITH
    'Data uploading has failed. Please check.'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Syed  Abdul Adil on Jun 26, 2008 2:13 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Syed  Abdul Adil on Jun 26, 2008 2:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 12:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087749#M977365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T12:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: update transparent table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087750#M977366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P&gt;INSERT INTO &amp;lt;dbtab&amp;gt; FROM &amp;lt;wa&amp;gt;.&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;Swarup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 12:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087750#M977366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T12:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: update transparent table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087751#M977367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT ZDATEDIFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters: p_name like sy-uname,&lt;/P&gt;&lt;P&gt;            p_pas like sy-uname lower case.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN skip 1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(70) text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN '0500' STARTING AT 10 10 ending at 70 14.&lt;/P&gt;&lt;P&gt;data: wa_user type ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;  check screen-name eq 'P_PAS'.&lt;/P&gt;&lt;P&gt;  move: 1 to screen-invisible.&lt;/P&gt;&lt;P&gt;  modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_pas = 'venkat'.&lt;/P&gt;&lt;P&gt;wa_user-name = p_name.&lt;/P&gt;&lt;P&gt;wa_user-password = p_pas&lt;/P&gt;&lt;P&gt;insert wa_user to zuser.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 12:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087751#M977367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T12:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: update transparent table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087752#M977368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;you can use 'MODIFY' to update the transparent table.&lt;/P&gt;&lt;P&gt;The MODIFY statement either updates a record or insert a record in database table.&lt;/P&gt;&lt;P&gt;If the key field's value matches with the values you want to enter then it will update that record otherwise it inserts a record in database table.&lt;/P&gt;&lt;P&gt;First:-  declare a work area of type of that table&lt;/P&gt;&lt;P&gt;          e.g. Transparent table name:-Z_TEST_TAB&lt;/P&gt;&lt;P&gt;                 then declare a work area like this&lt;/P&gt;&lt;P&gt;                  data: wa_z_test_tab   type     z_test_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second:-  Populate the work area &lt;/P&gt;&lt;P&gt;               wa_z_test_tab-userid = p_userid. (or Text field in your   &lt;/P&gt;&lt;P&gt;                                                                  screen)&lt;/P&gt;&lt;P&gt;              wa_z_test_tab-username = p_username.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Now:- use the modify statement&lt;/P&gt;&lt;P&gt;          MODIFY Z_TEST_TAB from wa_z_test_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;Please give points if it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 13:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087752#M977368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T13:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: update transparent table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087753#M977369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks ABAPers !!&lt;/P&gt;&lt;P&gt;Tha answers helped a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 05:10:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-transparent-table/m-p/4087753#M977369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T05:10:20Z</dc:date>
    </item>
  </channel>
</rss>

