<?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 focus in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443566#M826997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Piotr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to use the SET CURSOR ... statement. More info in SAPhelp!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2008 09:53:11 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-02-26T09:53:11Z</dc:date>
    <item>
      <title>button focus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443565#M826996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there. I've got few components in the screen, and I'd like to set focus on one of them after entering the screen. How can I do this? Greetings. P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 09:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443565#M826996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T09:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: button focus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443566#M826997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Piotr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to use the SET CURSOR ... statement. More info in SAPhelp!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 09:53:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443566#M826997</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-02-26T09:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: button focus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443567#M826998</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 u please explain it clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 10:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443567#M826998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T10:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: button focus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443568#M826999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your component developed on? Module pool or WebDynpro? If you developed it in WebDynpro and want to have a particular view as the default view, then you can go to the window list, select the view that you want to be the default, right click on it and then set it as default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 10:22:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443568#M826999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T10:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: button focus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443569#M827000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Call Screen: Calling a single screen can be used for embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely (say u want 2 display both screen) you can use the CALL SCREEN statement with the STARTING AT and ENDING AT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 200&lt;/P&gt;&lt;P&gt;If we write this statement in screen 100 ,it will goto screen 200 and it will retain screen 100(ie u can come back)&lt;/P&gt;&lt;P&gt;and moreover u have options using this&lt;/P&gt;&lt;P&gt;CALL SCREEN 200 STARTING AT x1 y1 ENDING AT x2 y2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If we use set screen first the processing blocks in the present screen will be executed and control goes to the screen which is called.&lt;/P&gt;&lt;P&gt;in this control remains in that calling screen only, it doesnt come back to our screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)In screen 100,we call screen 200.The PBO and PAI of screen 200 is processed.Now in screen 200,if we use leave to screen 100,the processing starts from screen 100 after the call screen 200 statement.The PBO and the PAI of screen 100 need not be processed again from the beginning in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) That is if we use leave to screen,the control goes back to the screen from which the present screen was called and continues with the processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET SCREEN 200&lt;/P&gt;&lt;P&gt;1) With the above statement , it will goto screen 200 and screen 100 no more remains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Screen No 0 : This special screen number causes the screen to jump back to the calling screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set screen 0 used to go back to the previous screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With SET SCREEN the current screen simply specifies the next screen in the chain , control branches to this next screen as sonn as th e current screen has been processed .Return from next screen to current screen is not automatic .It does not interrupt processing of the current screen.If we want to branch to the next screen without finishing the current one ,use LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With CALL SCREEN , the current (calling) chain is suspended , and a next screen (screen chain) is called .The called can then return to the suspended chain with the statement LEAVE SCREEN TO SCREEN 0 .Sometime we might want to let an user call a pop up screen from the main application screen to let him enter secondary information.After they have completed their enteries, the users should be able to close the popup and return directly to the place where they left off in the main screen.Here comes CALL SCREEN into picture .This statement lets us insert such a sequence intp the current one &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the example code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gd_fcurr TYPE tcurr-fcurr,&lt;/P&gt;&lt;P&gt;      gd_tcurr TYPE tcurr-tcurr,&lt;/P&gt;&lt;P&gt;      gd_date  TYPE sy-datum,&lt;/P&gt;&lt;P&gt;      gd_value TYPE i.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;gd_fcurr = 'EUR'.&lt;/P&gt;&lt;P&gt;gd_tcurr = 'GBP'.&lt;/P&gt;&lt;P&gt;gd_date  = sy-datum.&lt;/P&gt;&lt;P&gt;gd_value = 10.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PERFORM currency_conversion USING gd_fcurr&lt;/P&gt;&lt;P&gt;                                  gd_tcurr&lt;/P&gt;&lt;P&gt;                                  gd_date&lt;/P&gt;&lt;P&gt;                         CHANGING gd_value.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert value to Currency value &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  currency_conversion&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_GD_FCURR  text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_GD_TCURR  text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_GD_DATE   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     &amp;lt;--P_GD_VALUE  text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM currency_conversion  USING    p_fcurr&lt;/P&gt;&lt;P&gt;                                   p_tcurr&lt;/P&gt;&lt;P&gt;                                   p_date&lt;/P&gt;&lt;P&gt;                          CHANGING p_value.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  DATA: t_er        TYPE tcurr-ukurs,&lt;/P&gt;&lt;P&gt;        t_ff        TYPE tcurr-ffact,&lt;/P&gt;&lt;P&gt;        t_lf        TYPE tcurr-tfact,&lt;/P&gt;&lt;P&gt;        t_vfd       TYPE datum,&lt;/P&gt;&lt;P&gt;        ld_erate(12)   TYPE c.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_EXCHANGE_RATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLIENT                  = SY-MANDT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      date                    = p_date&lt;/P&gt;&lt;P&gt;      foreign_currency        = p_fcurr&lt;/P&gt;&lt;P&gt;      local_currency          = p_tcurr&lt;/P&gt;&lt;P&gt;      TYPE_OF_RATE            = 'M'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      EXACT_DATE              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;      exchange_rate           = t_er&lt;/P&gt;&lt;P&gt;      foreign_factor          = t_ff&lt;/P&gt;&lt;P&gt;      local_factor            = t_lf&lt;/P&gt;&lt;P&gt;      valid_from_date         = t_vfd&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      DERIVED_RATE_TYPE       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FIXED_RATE              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      OLDEST_RATE_FROM        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     no_rate_found           = 1&lt;/P&gt;&lt;P&gt;     no_factors_found        = 2&lt;/P&gt;&lt;P&gt;     no_spread_found         = 3&lt;/P&gt;&lt;P&gt;     derived_2_times         = 4&lt;/P&gt;&lt;P&gt;     overflow                = 5&lt;/P&gt;&lt;P&gt;     zero_rate               = 6&lt;/P&gt;&lt;P&gt;     OTHERS                  = 7&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    ld_erate = t_er / ( t_ff / t_lf ).&lt;/P&gt;&lt;P&gt;    p_value = p_value * ld_erate.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " currency_conversion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below link for explanation and a Program&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/fm" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/fm&lt;/A&gt;&lt;EM&gt;Currency&lt;/EM&gt;Conversion&amp;amp;&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;sowjanya.b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 10:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button-focus/m-p/3443569#M827000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T10:26:09Z</dc:date>
    </item>
  </channel>
</rss>

