<?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: Button in Dynpro in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742270#M1875098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already have it declared ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some advice how to insert that three fields by pressing BUTTON into database ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2014 08:24:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-12-09T08:24:41Z</dc:date>
    <item>
      <title>Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742265#M1875093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, probably simply question for you .. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have dynpro, in that 3 fields from table (3 field taken from DDIC) and under that button "Insert" .. and when I press Insert, I need to take whats written in that three inputs and insert it into table .. button has function code BUT1 .. Do I have to put it into CASE okcode like BACK for example? .. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 07:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742265#M1875093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T07:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742266#M1875094</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;you can try it with following code. Just put the code in your PAI-Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'BUT1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... "Here you can program your &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;requirements&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'BUT2'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... "Here you can program your &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;requirements&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN OTHERS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .... "Here you can program your &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;requirements&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CATCH cx_static_check INTO l_exc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE l_exc TYPE /auk/cl_msg_t100_type=&amp;gt;e.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark with correct answer, if it helps! &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742266#M1875094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T08:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742267#M1875095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t OCCURS 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id TYPE ZZTABLE_PLATB-IDTRANSAKCE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mnozstvi TYPE ZZTABLE_PLATB-CASTKA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mena TYPE ZZTABLE_PLATB-MENA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END OF t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in CASE okcode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'BUT1 (its my button to insert).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INSERT ZZTABLE_PLATB FROM t.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDCASE ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(There is few more commands, but this is important .. ) .. Can somebody give me some advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742267#M1875095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T08:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742268#M1875096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That CASE okcode or syucomm will work .. I need that what I have to write in BUT1, my Insert is not working ... &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742268#M1875096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T08:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742269#M1875097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data ok_code =&amp;nbsp; sy-ucomm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742269#M1875097</guid>
      <dc:creator>Sidhant-Acharya</dc:creator>
      <dc:date>2014-12-09T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742270#M1875098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already have it declared ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some advice how to insert that three fields by pressing BUTTON into database ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 08:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742270#M1875098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T08:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742271#M1875099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the name which you have entered for the input fields on the screen layout to retrieve the data in the program.&lt;/P&gt;&lt;P&gt;Suppose here you have structure t,&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;Declare the screen input fields as t-id, t-mnozstvi, t-mena respectively. And after that you can use your code&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;CASE okcode.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'BUT1 (its my button to insert).&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INSERT ZZTABLE_PLATB FROM t.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDCASE ..&lt;/P&gt;&lt;P&gt;the structure t will get the 3 field values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 09:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742271#M1875099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T09:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742272#M1875100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I tried to APPEND t TO itab (itab&amp;nbsp; like table of t WITH HEADER line) so now I just need to insert it into DATABASE ZZPLATB_UKOL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 10:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742272#M1875100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T10:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742273#M1875101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have to insert only one record than no need to append to itab. you can insert to database from the structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 10:42:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742273#M1875101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742274#M1875102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My mentor told me that there is no way how u can insert from itab to database when u have already something in that database ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 10:45:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742274#M1875102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T10:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742275#M1875103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah true. are you trying to insert new records to the database or you are modifying the existing one???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if your requirement is to add a new record if record doesn't exist already and if record already exists then to modify with the new values , you can use 'modify' statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 10:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742275#M1875103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T10:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742276#M1875104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add new one.. Its like transactions .. so each one has to be new one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 10:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742276#M1875104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T10:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Button in Dynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742277#M1875105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you can use insert statement. before that you can put a check if any record exists in the database with the value you are trying to insert. if no record exists you can insert otherwise you can exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 11:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-in-dynpro/m-p/10742277#M1875105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-12-09T11:04:08Z</dc:date>
    </item>
  </channel>
</rss>

