<?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: selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484701#M1061706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fgfdg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2008 18:18:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-11T18:18:48Z</dc:date>
    <item>
      <title>selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484693#M1061698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in my selection screen i have 3 feilds-- billing doc no(vbrk-vbeln), customer no(kna1-kunnr) and customer name(kna1-name1).&lt;/P&gt;&lt;P&gt;i have made a ztable with this 3 feilds. now whenever user executes the report after giving values in the screen, the&lt;/P&gt;&lt;P&gt;feilds in my ztable should be updated with the user entered bill doc no, custno and name.how to do this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 06:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484693#M1061698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T06:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484694#M1061699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi narayan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare one internal table with 3 fields and retrieve selection screen fields values to internal table and update with Ztable with Internal Table , if u need code ask me.&lt;/P&gt;&lt;P&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;Jana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Janardhan Reddy on Sep 11, 2008 11:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 06:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484694#M1061699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T06:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484695#M1061700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi...&lt;/P&gt;&lt;P&gt;you can fetch the slection screens value in a varialbe and upadte your table using rthat varialbe...&lt;/P&gt;&lt;P&gt;that should be one of the solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 06:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484695#M1061700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T06:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484696#M1061701</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 is your table's primary key and if just update needed you have to specify the key field as obligatory and update then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume vbeln is your key, so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update ztable set kunnr = p_kunnr  name1 = p_name1&lt;/P&gt;&lt;P&gt;                     where vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.It will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 06:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484696#M1061701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T06:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484697#M1061702</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 u can do is , save the values entered by the user in internal table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From internal table insert it into Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best.&lt;/P&gt;&lt;P&gt;Mohammadi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 06:32:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484697#M1061702</guid>
      <dc:creator>former_member497886</dc:creator>
      <dc:date>2008-09-11T06:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484698#M1061703</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;First of all declare one internal table with 3 fields that you need and retrieve selection screen fields values to internal table and update with Ztable with Internal Table. in your case you need to either use JOIN or FOR ALL ENTRIES.. as 2 tables are involved &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select  a&lt;SUB&gt;vbeln b&lt;/SUB&gt;kunnr b~name1&lt;/P&gt;&lt;P&gt;from vbrk as a INNER JOIN kna1 as b&lt;/P&gt;&lt;P&gt;ON .....&lt;/P&gt;&lt;P&gt;into table itab1&lt;/P&gt;&lt;P&gt;where a~vbeln = p_vblen&lt;/P&gt;&lt;P&gt;          and b~kunnr =  p_kunnr &lt;/P&gt;&lt;P&gt;          and b_name1 = p_name1.&lt;/P&gt;&lt;P&gt;if sy0subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" then use update command to update the ztable .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update ztable from table itab1.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;          COMMIT WORK.&lt;/P&gt;&lt;P&gt;          l_error = 'X1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          l_error = 'X2'.&lt;/P&gt;&lt;P&gt;          CLEAR l_error.&lt;/P&gt;&lt;P&gt;          ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;        ENDIF.&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;its not the whole code you need to find common fiels in tables vbrk and kna1 that we need to join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhanashri Pawar on Sep 11, 2008 8:40 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 06:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484698#M1061703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T06:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484699#M1061704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in my selection screen i have 3 feilds-- billing doc no(vbrk-vbeln), customer no(kna1-kunnr) and customer name(kna1-name1).&lt;/P&gt;&lt;P&gt;i have made a ztable with this 3 feilds. now whenever user executes the report after giving values in the screen, the&lt;/P&gt;&lt;P&gt;feilds in my ztable should be updated with the user entered bill doc no, custno and name.how to do this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store the values from the selection screen to a structure of type ZTABLE. (here structure because i think only one set of values is possible from ur selection screen...if u have multiple then store it in a internal table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enque/deque your ZTABLE. In between these functions modify ur ztable  using the structure (if it is not initial).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 07:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484699#M1061704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T07:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484700#M1061705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Move pa_matnr to ztable-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming the ztable has a field matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert ztable.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if more fields move it to table header and do insert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 07:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484700#M1061705</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-09-11T07:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484701#M1061706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fgfdg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 18:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484701#M1061706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T18:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484702#M1061707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fgfdg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2008 18:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4484702#M1061707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-11T18:19:04Z</dc:date>
    </item>
  </channel>
</rss>

