<?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: BSP &amp; Flex in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024779#M414886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, i have successfully used http service (utilizing bsp as xml data provider) and also webservice. why i want to send via flashvars is that the environment i work doesnt support JS, thus trying flashvar. but it looks like the size is limited to 64kb. i need to come up with some owrk around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 19:40:41 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2007-03-14T19:40:41Z</dc:date>
    <item>
      <title>BSP &amp; Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024773#M414880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the continuation from the following thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="322159"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi Quentin &lt;/P&gt;&lt;P&gt; can you post the bsp code for calling flex here. how did you overcome the IE issue with embedding movie within form tags?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 05:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024773#M414880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T05:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: BSP &amp; Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024774#M414881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code of my bsb that's call a flash from the mime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Page attributes :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;APPLI	TYPE	STRING
URL	TYPE	STRING&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPLI is the application ¨BSP wich contains the swf.&lt;/P&gt;&lt;P&gt;URL is the path inside the bsp application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onInitialization EventHandler :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; event handler for data retrieval
*--------------------
* local variables
*--------------------
DATA: l_xstring TYPE xstring.
DATA: l_mimetype TYPE string.


* References
DATA: lo_mr_api TYPE REF TO if_mr_api.
DATA: i_url TYPE string.

CONCATENATE 'SAP/' appli '/' url  INTO i_url.

* instantiate MIME API class
CALL METHOD cl_mime_repository_api=&amp;gt;if_mr_api~get_api
      RECEIVING
        r_mr_api = lo_mr_api.


* Get file from MIME repository
    CALL METHOD lo_mr_api-&amp;gt;get
      EXPORTING
       i_url             = i_url
*      I_CHECK_AUTHORITY  = 'X'
      IMPORTING
*       e_is_folder      =
        e_content         = l_xstring
        e_mime_type       = l_mimetype
*      E_LOIO             =
*    CHANGING
*      C_LANGUAGE         =
      EXCEPTIONS
        parameter_missing  = 1
        error_occured      = 2
        not_found          = 3
        permission_failure = 4
        OTHERS             = 5.


response-&amp;gt;set_data( l_xstring ).

navigation-&amp;gt;response_complete( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here how i call the flash inside my javascript, it write inside a &lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt; "&lt;EM&gt;data&lt;/EM&gt;" as it id, and create a flash element with and id "&lt;EM&gt;myflash&lt;/EM&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;var so;
var version = deconcept.SWFObjectUtil.getPlayerVersion();		
if  (version['major'] &amp;gt;= 9 ){

so = new SWFObject("../Z0000/P9994.htm?APPLI=Z0000&amp;amp;URL=Z0003/FLEX/P1020.swf", "myflash", "1000", "600", "8", "#B3D2D7");
						
so.addParam("FlashVars", 'idmaj=' + idmaj);
so.addParam("vmode", "opaque");
so.addParam("allowScriptAccess", "always");
so.write("data");
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHy do you need to put the flash inside a from element ??? &lt;/P&gt;&lt;P&gt;Because i tried it and it is not working, i'll look into it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good day &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 10:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024774#M414881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T10:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: BSP &amp; Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024775#M414882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;about your flash into a form element you may want to have a look at this &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.deconcept.com/swfobject/forum/discussion/19/new-script-fixes-externalinterface-and-formss-in-ie/#Item_0" target="test_blank"&gt;http://blog.deconcept.com/swfobject/forum/discussion/19/new-script-fixes-externalinterface-and-formss-in-ie/#Item_0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good day &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024775#M414882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: BSP &amp; Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024776#M414883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first of all thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have  more questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is there any limitation for the size of flashvar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the idea is sending the abap generated xml via flashvar to the movie and thru actionscript dynamically build the array (data provider) for datagrid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you see any problem with this approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024776#M414883</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-03-14T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: BSP &amp; Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024777#M414884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by the way my json to ABPA itab is ready, but not able to update the wiki, it throwing errors and i have emailed sdn@sap.com. if you want to have a look i can email it to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024777#M414884</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-03-14T11:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: BSP &amp; Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024778#M414885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not use flash vars to pass xml or json.&lt;/P&gt;&lt;P&gt;I either call a javascript function from my flex on the &amp;lt;b&amp;gt;createcomplete&amp;lt;/b&amp;gt; event&lt;/P&gt;&lt;P&gt;(ExternalInterface.call("MyJsonFunc","MyJsParam" )). &lt;/P&gt;&lt;P&gt;Or i use the httpservice object from the flash to call a sap bsp &lt;/P&gt;&lt;P&gt;(you can find a sample &amp;lt;a href="http://weblogs.macromedia.com/mesh/archives/2006/03/one_of_the_litt.html"&amp;gt;here&amp;lt;/a&amp;gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem posting the code, when you have to much " character, it won't work.&lt;/P&gt;&lt;P&gt;you can post the code inside the forum post about abap and json and make a reference &lt;/P&gt;&lt;P&gt;of it inside the wiki, that's waht i did for mine. &lt;/P&gt;&lt;P&gt;I also complete a function json to abap (so far i worked from a flex array to an abap table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Quentin Dubois&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 13:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024778#M414885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T13:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: BSP &amp; Flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024779#M414886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, i have successfully used http service (utilizing bsp as xml data provider) and also webservice. why i want to send via flashvars is that the environment i work doesnt support JS, thus trying flashvar. but it looks like the size is limited to 64kb. i need to come up with some owrk around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 19:40:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bsp-flex/m-p/2024779#M414886</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2007-03-14T19:40:41Z</dc:date>
    </item>
  </channel>
</rss>

