<?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 and data retrieval in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-data-retrieval/m-p/4074178#M974211</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;data:&lt;/P&gt;&lt;P&gt;w_acc type fdsb-bnkko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : begin of block b1 with frame title text-001 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; parameters:&lt;/P&gt;&lt;P&gt;  p_date1 type fdsb-datum obligatory,&lt;/P&gt;&lt;P&gt;  p_date2 type fdsb-datum obligatory,&lt;/P&gt;&lt;P&gt;  p_bukrs type  fdsb-bukrs default 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:  accounta as radiobutton group B1 default 'X',&lt;/P&gt;&lt;P&gt;                    accountb as radiobutton group B1,  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;s_account1 for  w_acc,&lt;/P&gt;&lt;P&gt;s_account2 for  w_acc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_account1.&lt;/P&gt;&lt;P&gt;// if this doeswnt work we can modify the screen. First check this out if any proble reply me.&lt;/P&gt;&lt;P&gt;if s_account1-low and s_account1-high is initial.&lt;/P&gt;&lt;P&gt;s_account1-low = 0.&lt;/P&gt;&lt;P&gt;elseif if s_account2-low and s_account2-high is initial..&lt;/P&gt;&lt;P&gt;s_account2-low = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can aslo refer to Tcode ABAPDOCU where we can find examples.&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&lt;/P&gt;&lt;P&gt;Chandralekha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2008 17:30:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-04T17:30:30Z</dc:date>
    <item>
      <title>selection-screen and data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-data-retrieval/m-p/4074177#M974210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to design the screen based on following points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. &lt;STRONG&gt;date1&lt;/STRONG&gt;: fdsb-datum, single value, mandatory, parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ii. &lt;STRONG&gt;date2&lt;/STRONG&gt;: fdsb-datum, single value, mandatory, parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iii. account1: fdsb-bnkko, ranges of values/single values, managed through selection variant, if blank then do not perform the extraction for the account range. Set balance = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iv. account2: fdsb-bnkko, ranges of values/single values, managed through selection variant, if blank then do not perform the extraction for the account range. Set balance = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v.Company code: fdsb-bukrs, single value.default value XYZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vi.ACCOUNTA \ ACCOUNTB: fdsb-ebene, radio button, boolean, mandatory:at least one value should be set. &lt;/P&gt;&lt;P&gt;================================================================&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;the data retrieval logic for account2(while currency is usd$)&lt;/U&gt;&lt;/STRONG&gt;:  &lt;/P&gt;&lt;P&gt;company code: fdsb-bukrs = XYZ.&lt;/P&gt;&lt;P&gt;value date(Datum&amp;lt;=user entered &lt;STRONG&gt;date1&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;fdsb-ebene='F0' is retrieved if the radio button ACCOUNTA is selected by the user.&lt;/P&gt;&lt;P&gt;fdsb-ebene&amp;lt;&amp;gt;'F0' is retrieved if the radio button ACCOUNTB is selected by the user.&lt;/P&gt;&lt;P&gt;GL account currency(SKB1-WAERS) =USD$.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;the data retrieval logic for account2(while currency is non-usd$)&lt;/U&gt;&lt;/STRONG&gt;:  &lt;/P&gt;&lt;P&gt;company code: fdsb-bukrs = XYZ.&lt;/P&gt;&lt;P&gt;value date(Datum&amp;lt;=user entered &lt;STRONG&gt;date1&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;fdsb-ebene='F0' is retrieved if the radio button ACCOUNTA is selected by the user.&lt;/P&gt;&lt;P&gt;fdsb-ebene&amp;lt;&amp;gt;'F0' is retrieved if the radio button ACCOUNTB is selected by the user.&lt;/P&gt;&lt;P&gt;GL account currency(SKB1-WAERS) =Non-usd$.  &lt;/P&gt;&lt;P&gt;================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 17:16:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-data-retrieval/m-p/4074177#M974210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T17:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-data-retrieval/m-p/4074178#M974211</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;data:&lt;/P&gt;&lt;P&gt;w_acc type fdsb-bnkko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen : begin of block b1 with frame title text-001 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; parameters:&lt;/P&gt;&lt;P&gt;  p_date1 type fdsb-datum obligatory,&lt;/P&gt;&lt;P&gt;  p_date2 type fdsb-datum obligatory,&lt;/P&gt;&lt;P&gt;  p_bukrs type  fdsb-bukrs default 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:  accounta as radiobutton group B1 default 'X',&lt;/P&gt;&lt;P&gt;                    accountb as radiobutton group B1,  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;s_account1 for  w_acc,&lt;/P&gt;&lt;P&gt;s_account2 for  w_acc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_account1.&lt;/P&gt;&lt;P&gt;// if this doeswnt work we can modify the screen. First check this out if any proble reply me.&lt;/P&gt;&lt;P&gt;if s_account1-low and s_account1-high is initial.&lt;/P&gt;&lt;P&gt;s_account1-low = 0.&lt;/P&gt;&lt;P&gt;elseif if s_account2-low and s_account2-high is initial..&lt;/P&gt;&lt;P&gt;s_account2-low = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can aslo refer to Tcode ABAPDOCU where we can find examples.&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&lt;/P&gt;&lt;P&gt;Chandralekha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 17:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-data-retrieval/m-p/4074178#M974211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T17:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen and data retrieval</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-data-retrieval/m-p/4074179#M974212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks chandralekha i've got idea on the selection-screen design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on the data retrieval logic now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Data retrieval logic&lt;/U&gt;&lt;/STRONG&gt;: The report will retrieve data from the fdsb table by fdsb-bukrs, fdsb-datum, fdsb-bnkko, skb1-waers, fdsb-ebene.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Amount needs to be retrieved from&lt;/U&gt;&lt;/STRONG&gt;: FDSB-WRSHB is selected if currency of selected record is equal to USD.FDSB-DMSHB is selected if currency of selected record &amp;lt;&amp;gt; USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we have to calculate cash for account2(both for us$ and non-us$ separately):&lt;/P&gt;&lt;P&gt;company code: fdsb-bukrs = XYZ.&lt;/P&gt;&lt;P&gt;value date(Datum&amp;lt;=user entered &lt;STRONG&gt;date1&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;fdsb-ebene='F0' is retrieved if the radio button ACCOUNTA is selected by the user.&lt;/P&gt;&lt;P&gt;fdsb-ebene&amp;lt;&amp;gt;'F0' is retrieved if the radio button ACCOUNTB is selected by the user.&lt;/P&gt;&lt;P&gt;GL account currency(SKB1-WAERS) =USD$.&lt;/P&gt;&lt;P&gt;Kindly help on this data retrieval logic.&lt;/P&gt;&lt;P&gt;==================================================================&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2008 19:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-and-data-retrieval/m-p/4074179#M974212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-04T19:01:35Z</dc:date>
    </item>
  </channel>
</rss>

