<?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>Question Re: MVC design pattern for developing BSP Applications in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805123#M250189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be sure to mark your problem as solved so others can benefit in the future and thanks for the code sample!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Aug 2004 05:10:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-08-24T05:10:44Z</dc:date>
    <item>
      <title>MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaq-p/805117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just started my exploration in the MVC design pattern of BSP applications.(Beginner)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First let me tell, what my need is : When I run an application, an initial page should be shown with an input field and a button. On clicking the button the &amp;lt;u&amp;gt;value typed in the input field of the first page must be displayed in a new page&amp;lt;/u&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do this with MVC design pattern. I know how to do the same if both were to be diplayed on the same page ( A single page with two views ). But I don't know how to do it, &amp;lt;u&amp;gt;if the second view is to be shown on a new page.&amp;lt;/u&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any of you give me a hint on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;P&gt;Loveline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2004 11:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaq-p/805117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-23T11:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805118#M250184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loveline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try it with &amp;lt;bsp:goto&amp;gt; element instead of &amp;lt;bsp:call&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2004 11:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805118#M250184</guid>
      <dc:creator>rainer_liebisch</dc:creator>
      <dc:date>2004-08-23T11:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805119#M250185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loveline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please also have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/3b/39453caff4f703e10000000a114084/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/3b/39453caff4f703e10000000a114084/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2004 11:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805119#M250185</guid>
      <dc:creator>rainer_liebisch</dc:creator>
      <dc:date>2004-08-23T11:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805120#M250186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the immediate response. But I haven't meant my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code written in the layout of my first view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;htmlb:content&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;htmlb:page title="First Page " &amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;htmlb:form&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;htmlb:gridLayout columnSize  = "2"&lt;/P&gt;&lt;P&gt;                        rowSize     = "1"&lt;/P&gt;&lt;P&gt;                        cellSpacing = "10"&lt;/P&gt;&lt;P&gt;                        cellPadding = "10"&lt;/P&gt;&lt;P&gt;                        style       = "TRANSPARENT" &amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;htmlb:gridLayoutCell columnIndex = "1"&lt;/P&gt;&lt;P&gt;                              rowIndex    = "1" &amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;htmlb:inputField id   = "IF1"&lt;/P&gt;&lt;P&gt;                            size = "10" /&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/htmlb:gridLayoutCell&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;htmlb:gridLayoutCell columnIndex = "2"&lt;/P&gt;&lt;P&gt;                              rowIndex    = "1" &amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;htmlb:button id      = "B1"&lt;/P&gt;&lt;P&gt;                        text    = "Click Me"&lt;/P&gt;&lt;P&gt;                        onClick = "click" /&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/htmlb:gridLayoutCell&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/htmlb:gridLayout&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/htmlb:form&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/htmlb:page&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/htmlb:content&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I place the code &amp;lt;bsp:goto&amp;gt; as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@page language="abap" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@extension name="htmlb" prefix="htmlb" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@extension name="bsp" prefix="bsp" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;htmlb:content&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;htmlb:page title="First Page " &amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;htmlb:form&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;htmlb:gridLayout columnSize  = "2"&lt;/P&gt;&lt;P&gt;                        rowSize     = "1"&lt;/P&gt;&lt;P&gt;                        cellSpacing = "10"&lt;/P&gt;&lt;P&gt;                        cellPadding = "10"&lt;/P&gt;&lt;P&gt;                        style       = "TRANSPARENT" &amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;htmlb:gridLayoutCell columnIndex = "1"&lt;/P&gt;&lt;P&gt;                              rowIndex    = "1" &amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;htmlb:inputField id   = "IF1"&lt;/P&gt;&lt;P&gt;                            size = "10" /&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/htmlb:gridLayoutCell&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;htmlb:gridLayoutCell columnIndex = "2"&lt;/P&gt;&lt;P&gt;                              rowIndex    = "1" &amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;htmlb:button id      = "B1"&lt;/P&gt;&lt;P&gt;                        text    = "Click Me"&lt;/P&gt;&lt;P&gt;                        onClick = "click" /&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;u&amp;gt;&amp;lt;bsp:goto url = "Second.do" &amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;u&amp;gt;&amp;lt;/bsp:goto&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/htmlb:gridLayoutCell&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/htmlb:gridLayout&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/htmlb:form&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/htmlb:page&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/htmlb:content&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first view is not being dislayed (nor the second view). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think the &amp;lt;bsp:goto&amp;gt; will work out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Loveline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2004 13:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805120#M250186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-23T13:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805121#M250187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;maybe my suggestion might be too simple, but often these ways are the best ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try working with the "target"-attribute in the htmlb:form tag?&lt;/P&gt;&lt;P&gt;From what I understood from your posts that should satisfy your needs ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this in the first view:&lt;/P&gt;&lt;P&gt;&amp;lt;htmlb:form target="_blank"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To call another controller, you could place the target controller there as well:&lt;/P&gt;&lt;P&gt;&amp;lt;htmlb:form target="_blank" action="secondController.do"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to sum up, small example:&lt;/P&gt;&lt;P&gt;View 1:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;%@page language="abap"%&amp;gt;
&amp;lt;%@extension name="htmlb" prefix="htmlb"%&amp;gt;

&amp;lt;htmlb:content design="design2003"&amp;gt;
  &amp;lt;htmlb:page title = " "&amp;gt;
    &amp;lt;htmlb:form target="_blank" action="test2.do"&amp;gt;
      &amp;lt;htmlb:inputField   id            = "test_string"
                          value         = "XXXXXXX"/&amp;gt;
      &amp;lt;htmlb:button       text          = "Press Me"
                          onClick       = "EvtBtnPressme" /&amp;gt;
    &amp;lt;/htmlb:form&amp;gt;
  &amp;lt;/htmlb:page&amp;gt;
&amp;lt;/htmlb:content&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Controller 2 - Method DO_REQUEST:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;method do_request .

*** Data Defs ***
data: main_view type ref to if_bsp_page.

*** Event Handling
dispatch_input( ).

*** Call Main View
main_view = create_view( view_name = 'test2.htm' ).
main_view-&amp;gt;set_attribute(     name = 'test_string'
                             value = me-&amp;gt;test_string ).
call_view( main_view ).

endmethod.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Controller 2 - Method DO_HANDLE_DATA:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;method do_handle_data .

*** Data Defs ***
  field-symbols: &amp;lt;field&amp;gt; type ihttpnvp.

* Test-String
  read table form_fields with table key
       name = 'test_string' assigning &amp;lt;field&amp;gt;.
  if &amp;lt;field&amp;gt; is assigned.
    me-&amp;gt;test_string = &amp;lt;field&amp;gt;-value.
  else.
    clear me-&amp;gt;test_string.
  endif.

endmethod.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View 2:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;%@page language="abap"%&amp;gt;
&amp;lt;%@extension name="htmlb" prefix="htmlb"%&amp;gt;

&amp;lt;htmlb:content design="design2003"&amp;gt;
  &amp;lt;htmlb:page title = " "&amp;gt;
    &amp;lt;htmlb:form&amp;gt;
      &amp;lt;htmlb:textView     text          = "&amp;lt;%=test_string%&amp;gt;"
                          design        = "EMPHASIZED" /&amp;gt;
    &amp;lt;/htmlb:form&amp;gt;
  &amp;lt;/htmlb:page&amp;gt;
&amp;lt;/htmlb:content&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And don't forget to create a page attribute for the second view.&lt;/P&gt;&lt;P&gt;(test_string type string)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I didn't forget anything, and that this was helpful to you.&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Aug 2004 13:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805121#M250187</guid>
      <dc:creator>maximilian_schaufler</dc:creator>
      <dc:date>2004-08-23T13:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805122#M250188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the hint. I used the attribute action of the htmlb form. I was able to satisfy my need. I have included the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lay out of first view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@page language="abap" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@extension name="htmlb" prefix="htmlb" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@extension name="bsp" prefix="bsp" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;htmlb:content&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;htmlb:page title="First Page " &amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;htmlb:form action = "Second.do"&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;htmlb:gridLayout columnSize  = "2"&lt;/P&gt;&lt;P&gt;                        rowSize     = "1"&lt;/P&gt;&lt;P&gt;                        cellSpacing = "10"&lt;/P&gt;&lt;P&gt;                        cellPadding = "10"&lt;/P&gt;&lt;P&gt;                        style       = "TRANSPARENT" &amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;htmlb:gridLayoutCell columnIndex = "1"&lt;/P&gt;&lt;P&gt;                              rowIndex    = "1" &amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;htmlb:inputField id   = "IF1"&lt;/P&gt;&lt;P&gt;                            size = "10" /&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/htmlb:gridLayoutCell&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;htmlb:gridLayoutCell columnIndex = "2"&lt;/P&gt;&lt;P&gt;                              rowIndex    = "1" &amp;gt;&lt;/P&gt;&lt;P&gt;          &amp;lt;htmlb:button id      = "B1"&lt;/P&gt;&lt;P&gt;                        text    = "Click Me"&lt;/P&gt;&lt;P&gt;                        onClick = "click" /&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/htmlb:gridLayoutCell&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;/htmlb:gridLayout&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/htmlb:form&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/htmlb:page&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/htmlb:content&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;controller 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO_REQUEST Method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD do_request .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : view TYPE REF TO if_bsp_page.&lt;/P&gt;&lt;P&gt;  DATA : value(10) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  dispatch_input( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF is_navigation_requested( ) IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    RETURN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  view = create_view( view_name = 'First.htm' ).&lt;/P&gt;&lt;P&gt;  call_view( view ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lay out of second view with page attribute value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@page language="abap" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@extension name="htmlb" prefix="htmlb" %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;htmlb:content&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;htmlb:page title="Second Page " &amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;htmlb:form&amp;gt;&lt;/P&gt;&lt;P&gt;      &amp;lt;htmlb:textView text    = "This is the text entered in the initial page &amp;lt;b&amp;gt;&amp;lt;%= value. %&amp;gt;&amp;lt;/b&amp;gt;"&lt;/P&gt;&lt;P&gt;                      tooltip = "Simple quick info"&lt;/P&gt;&lt;P&gt;                      encode  = "true" /&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/htmlb:form&amp;gt;&lt;/P&gt;&lt;P&gt;  &amp;lt;/htmlb:page&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/htmlb:content&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Controller 2 with attribute value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD do_request .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : view type ref to if_bsp_page.&lt;/P&gt;&lt;P&gt;value = request-&amp;gt;get_form_field( name = 'if1' ).&lt;/P&gt;&lt;P&gt;view = create_view( view_name = 'Second.htm' ).&lt;/P&gt;&lt;P&gt;view-&amp;gt;set_attribute( name = 'value' value = value ).&lt;/P&gt;&lt;P&gt;call_view( view ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Loveline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2004 05:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805122#M250188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-24T05:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805123#M250189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be sure to mark your problem as solved so others can benefit in the future and thanks for the code sample!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2004 05:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805123#M250189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-24T05:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805124#M250190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Craig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had selected the option soloved. But I don't know why the status hasn't changed to solved ( blue star ). Is there any other way in setting the status of the topic posted ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Loveline.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2004 05:31:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805124#M250190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-24T05:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805125#M250191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;if you yourself watch the topic, you will see a yellow star in the header lines of each single post made by others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just look for the post that you want to reward with some points, and then click on the according yellow star - there you can choose how many points this post should be awarded (10 for solved problem, 6 for very helpful, and 2 for helpful answer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the status star for the topic in the forum view will take the highest awarded points color (so far I only have seen grey or blue stars).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Have a look at these two blogs, they make for some nice reading and contain useful information!&lt;/P&gt;&lt;P&gt;&amp;lt;a href="/people/mark.finnern/blog/2004/08/10/spread-the-love"&amp;gt;Spread the Love!&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="/people/sap.user72/blog/2005/08/16/have-you-checked-your-stars-lately"&amp;gt;Have you checked your stars lately?&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take care,&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Maximilian Moder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2004 08:15:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805125#M250191</guid>
      <dc:creator>maximilian_schaufler</dc:creator>
      <dc:date>2004-08-24T08:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805126#M250192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to do as Max said, sometimes just marking it as solved when replying doesn't cover it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2004 17:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805126#M250192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-24T17:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805127#M250193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have did it just as Max said. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to both of you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lovelne.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2004 04:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805127#M250193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-08-25T04:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805128#M250194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maximilian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your solution, or sample code might helps me also, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is ur sample code for do_request method or controller 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method DO_REQUEST:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method do_request .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Data Defs ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;data: main_view type ref to if_bsp_page.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Event Handling&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;dispatch_input( ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Call Main View&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;main_view = create_view( view_name = 'test2.htm' ).&lt;/P&gt;&lt;P&gt;main_view-&amp;gt;set_attribute(     name = 'test_string'&lt;/P&gt;&lt;P&gt;                             &amp;lt;b&amp;gt;value = me-&amp;gt;test_string&amp;lt;/b&amp;gt; ).&lt;/P&gt;&lt;P&gt;call_view( main_view ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very nice of you, if you pls let me know what is me in value = me-&amp;gt;test_string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from where we got this me-&amp;gt;, ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: you have used ( me-&amp;gt; ) also in your do_handle_data method of controller 2, ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haider&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Syed Haider&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2004 09:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805128#M250194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-12T09:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805129#M250195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &amp;lt;b&amp;gt;me&amp;lt;/b&amp;gt; always references to the object you are currently in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in this example, when &amp;lt;b&amp;gt;me-&amp;gt;test_string&amp;lt;/b&amp;gt; is used in the method DO_REQUEST of the controller, then this variable used is an attribute of the controller class object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: If you have any further question that might not be directly related to the original problem in this thread, then please open another thread for your next question - this will help improve future search results in the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Maximilian Moder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2004 09:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805129#M250195</guid>
      <dc:creator>maximilian_schaufler</dc:creator>
      <dc:date>2004-10-12T09:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805130#M250196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maximilian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so me in ABAP is as this in java, &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks, I will try to do so, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem of sending this input feild parameter from view to model via controller,?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if you add a model class besides these (view and controller), to move test_string in the model class, ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very nice of you !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haider&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2004 09:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805130#M250196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-12T09:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805131#M250197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really suggest you open up another thread, as this one is already marked "answered".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the new thread, please also specify if you want your model class just simple like an application class or if you want to use data binding as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2004 10:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805131#M250197</guid>
      <dc:creator>maximilian_schaufler</dc:creator>
      <dc:date>2004-10-12T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: MVC design pattern for developing BSP Applications</title>
      <link>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805132#M250198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maximilian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, for ur suggestions, but I have already started a thread. here, with name "parameter passing + MVC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I though if you write a code for model class also in the same thread, it would be complete example as you have given sample code of view and controller,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to have a simple model class, which has a method which recives the user input, as a parameter, Actually I wana call the BAPI in model class,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your help would be appriciated, as you like in this thread or my thread with entitle "parameter passing + MVC"&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haider&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2004 10:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mvc-design-pattern-for-developing-bsp-applications/qaa-p/805132#M250198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-10-12T10:20:08Z</dc:date>
    </item>
  </channel>
</rss>

