<?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: please adivse in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284028#M785461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Newbie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theres no matter in which order u asign the values to the fields. But u have to consider only whether u have assigned the values to right field or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here u can check one thing. When u filled 1,2,10 ... and then if u have to fill 3, 4 ,15 if u have to modify the already filled records or to add new records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u use append a new record will be created. i.e. if u select radiobutton 1 or 2 values of the fields 3,4,15 will be created in a new record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u use modify statement with a condition, as u already have records with 1,2, 10 ... fields filled with data and 3,4,15 fields are empty, u can insert these values in already existing record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2008 04:53:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-10T04:53:24Z</dc:date>
    <item>
      <title>please adivse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284025#M785458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;suppose i have a database table with field &lt;/P&gt;&lt;P&gt;Field1&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;Field3&lt;/P&gt;&lt;P&gt;Field4&lt;/P&gt;&lt;P&gt;Field5... till 20 field&lt;/P&gt;&lt;P&gt;In my program &lt;/P&gt;&lt;P&gt;if radio button 1 EQ X&lt;/P&gt;&lt;P&gt;--I am filling in field 1 , 2 , 10, 11, 12 , 19 20 which i put in a perform (F_both radio button)&lt;/P&gt;&lt;P&gt;--processing condition specific to radio button 1&lt;/P&gt;&lt;P&gt;--field 3 = xxx (other condition)&lt;/P&gt;&lt;P&gt;--field 4 = xxx (other condition)&lt;/P&gt;&lt;P&gt;--field 15 = xxx (other condition)&lt;/P&gt;&lt;P&gt;append internal table&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if radio button 2 EQ x&lt;/P&gt;&lt;P&gt;--I am calling the perform F_both radio button (so as not to write the same code twice)&lt;/P&gt;&lt;P&gt;--processing condition specific to radio button 2&lt;/P&gt;&lt;P&gt;--field 3 = xxx (other condition)&lt;/P&gt;&lt;P&gt;--field 4 = xxx (other condition)&lt;/P&gt;&lt;P&gt;--field 15 = xxx (other condition)&lt;/P&gt;&lt;P&gt;append internal table&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOte: user either choose to radio button 1 or 2&lt;/P&gt;&lt;P&gt;when i am filling in the field do i need to fill in the field in tha same order as my database table or can i do as code above like filling field 1, 2, 10 (found in F_both radio button)&lt;/P&gt;&lt;P&gt;then filling in field 3 4 15&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;does it cause performance issu or is ti ok what ever the order i fill in the table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 04:33:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284025#M785458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T04:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: please adivse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284026#M785459</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;what you can do is fill your Internal Table once with Required fields before Your &lt;/P&gt;&lt;P&gt;conditioni &lt;/P&gt;&lt;P&gt;if radio button 1 EQ X &lt;/P&gt;&lt;P&gt;and then call perform I think it will help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of any issue please revery back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Donot Forgot to reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 04:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284026#M785459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T04:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: please adivse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284027#M785460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Newbie,&lt;/P&gt;&lt;P&gt;                I will send a sample code 4 u.check it once..No problem on Perfomance issue.If we want u put below SELECT statements in perfom's ok..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;          field1,&lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;          upto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         filed20,&lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if raidobutton1 = 'X'.&lt;/P&gt;&lt;P&gt; select field1 &lt;/P&gt;&lt;P&gt;           field2&lt;/P&gt;&lt;P&gt;           field10&lt;/P&gt;&lt;P&gt;           field12&lt;/P&gt;&lt;P&gt;           field19&lt;/P&gt;&lt;P&gt;           field20 &lt;/P&gt;&lt;P&gt;  from DB TABLE NAME&lt;/P&gt;&lt;P&gt; into corresponding fileds of table itab&lt;/P&gt;&lt;P&gt;where CONDITION&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if radiobutton2 = 'X'.&lt;/P&gt;&lt;P&gt; select filed3&lt;/P&gt;&lt;P&gt;          filed4&lt;/P&gt;&lt;P&gt;          filed15&lt;/P&gt;&lt;P&gt;   form DBTABLE NAME&lt;/P&gt;&lt;P&gt;into corresponding fileds of table itab&lt;/P&gt;&lt;P&gt;where CONDITION&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Award points if helpful.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Kiran Kumar.G.A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: KIRAN KUMAR on Jan 10, 2008 5:47 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 04:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284027#M785460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T04:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: please adivse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284028#M785461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Newbie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Theres no matter in which order u asign the values to the fields. But u have to consider only whether u have assigned the values to right field or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here u can check one thing. When u filled 1,2,10 ... and then if u have to fill 3, 4 ,15 if u have to modify the already filled records or to add new records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u use append a new record will be created. i.e. if u select radiobutton 1 or 2 values of the fields 3,4,15 will be created in a new record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u use modify statement with a condition, as u already have records with 1,2, 10 ... fields filled with data and 3,4,15 fields are empty, u can insert these values in already existing record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 04:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284028#M785461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T04:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: please adivse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284029#M785462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OLD piece of code ---&amp;gt;&lt;/P&gt;&lt;P&gt;if radio button1 EQ X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 1 = condition same for both radio button 1 &amp;amp; 2 &lt;/P&gt;&lt;P&gt;field 2 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 3 = other conditon for radio button1&lt;/P&gt;&lt;P&gt;field 4 =  other condition radio button1&lt;/P&gt;&lt;P&gt;field 10 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 11 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 12 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 13 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if radio button2 EQ X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 1 = condition same for both radio button 1 &amp;amp; 2 &lt;/P&gt;&lt;P&gt;field 2 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 3 = other conditon for radio button1&lt;/P&gt;&lt;P&gt;field 4 =  other condition radio button1&lt;/P&gt;&lt;P&gt;field 10 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 11 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 12 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;field 13 = condition same for both radio button 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of writing same code twice .  if it ok if i write re-structure it as below for readability .  would it cause a performance issue is fild is not fill in in sequential order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New code structure --&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if radio button1 EQ X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_itab&lt;/P&gt;&lt;P&gt;perform f_fill(filling field 1 2 10 11 12 13 from i_itab directly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 3 = other conditon for radio button1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 4 =  other condition radio button1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if radio button2 EQ X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_itab&lt;/P&gt;&lt;P&gt;perform f_fill(filling field 1 2 10 11 12 13 from i_itab directly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 3 = other conditon radio button1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 4 =  other condition radio button1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 05:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284029#M785462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T05:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: please adivse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284030#M785463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes u can do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after assigning the fields u have to put an append statement. This append u shud not keep in ur perform statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 05:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284030#M785463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T05:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: please adivse</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284031#M785464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;From your question what i can understand is : You got 20 fields in your DB table.Based on your radio button selection you want the fields of internal table to be filled and then you fill internal table data to the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if i am right in understanding you then there should not be any performance issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Parth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 05:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-adivse/m-p/3284031#M785464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T05:23:29Z</dc:date>
    </item>
  </channel>
</rss>

