Adobe Flex with RFC

Hi all,
Can anybody provide me with any document that involves integration of Adobe Flex with R/3 RFCs. I have tried SAP Integration woth Adobe Flex in form of Web Services, and it is working fine. Please help.
Regards,
Gita

HI,
U can try this code using Adobe Flex 2. BAPI_FLIGHT_GETLIST is used as example.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
     <mx:Script>
          <![CDATA[
               import mx.rpc.events.ResultEvent;
               import mx.rpc.events.FaultEvent;
                          import mx.controls.Alert;
          public function fault_getAll(event:FaultEvent):void
                    Alert.show(event.fault.faultString);
          public function result_getAll(event:ResultEvent):void
               Alert.show(dsCol.toString());
          public function Test():void
               ws.BAPI_FLIGHT_GETLIST.send();
          ]]>
     </mx:Script>
     <mx:XMLListCollection id="dsCol" source="{ws.BAPI_FLIGHT_GETLIST.lastResult.FLIGHT_LIST.item}"/>
     <mx:WebService id="ws" useProxy="false" showBusyCursor="true"
          wsdl="http://XXX.XX.XX.XX:8080/sap/bc/soap/wsdl11?services=BAPI_FLIGHT_GETLIST&style=rpc_enc" >
Here XXX.XX.XX.XX - is nothing but Ip address and 8080 is port Number.
          <mx:operation name="BAPI_FLIGHT_GETLIST" 
               resultFormat="e4x" result="result_getAll(event)" fault="fault_getAll(event)" >
               <mx:request>
                 <AIRLINE>AIR</AIRLINE>
                 <DESTINATION_FROM></DESTINATION_FROM>
                 <DESTINATION_TO></DESTINATION_TO>
                 <MAX_ROWS>10</MAX_ROWS>
                 <DATE_RANGE>
                  <item>
                      <SIGN>I</SIGN>
                      <OPTION>GT</OPTION>
                      <LOW>20000101</LOW>
                      <HIGH></HIGH>
                  </item>
                 </DATE_RANGE>
                 <EXTENSION_IN></EXTENSION_IN>
                 <FLIGHT_LIST></FLIGHT_LIST>
                 <EXTENSION_OUT></EXTENSION_OUT>
                 <RETURN></RETURN>
               </mx:request>
          </mx:operation>                                   
</mx:WebService>     
     <mx:Button x="116" y="146" label="Button" click="Test()"/>
     <mx:DataGrid x="52" y="176" width="601" height="135" dataProvider="">
          <mx:columns>
               <mx:DataGridColumn headerText="AIRLINEID" dataField="AIRLINEID"/>
               <mx:DataGridColumn headerText="AIRLINE" dataField="AIRLINE"/>
               <mx:DataGridColumn headerText="CONNECTID" dataField="CONNECTID"/>
               <mx:DataGridColumn headerText="FLIGHTDATE" dataField="FLIGHTDATE"/>               
          </mx:columns>
     </mx:DataGrid>
</mx:Application>

Similar Messages

  • Integration of Adobe Flex with SAP Web Dynpro ABAP

    I am new to adobe flex development. i am following a tutorial prepared by
    Mr. Karthikeyan Venkatesan (Infosys Technologies Limited) Integration of Adobe Flex with SAP Web Dynpro ABAP-for ABAPers
    He used flex 3 to develop the flex application. i am using flex 4 downloaded from adobe(At a time Build release I used low version only 3.5). I followed all the steps. At a time of Run the data was not came.
    How to fetch the data?
    Please Guide how to proceed.

    Hi Laxmikanth,
    For Adebo Flex help..
    Please go through Thomas tutorial..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163&overridelayout=true
    and ...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480?quicklink=index&overridelayout=true
    Hope it might helps you
    Thanks,
    Kris.

  • Adobe flex with floor plan manage

    Hi,
    Can we be integrate ABAP floor plan manager with adobe flex ?
    Many artical says that ABAP web dynpro can be integrate with adobe flex. However I could not found any document related to floorplan manager with adobe flex.
    Thanks,
    Jennifer.

    Hi Jennifer,
    FPM in its essence consists of WD ABAP coding. Therefore as a general rule, what is possible with WD ABAP is also possible with FPM. You can try this: Create a freestyle UIBB and there inside this integrate your Flex stuff in the way as you would do with freestyle WD ABAP. Then when you're finished you can make use of that UIBB in FPM where ever you would like to.
    Regards,
    Ulrich

  • Adobe Flex with Java webdynpro

    Hello,
    I like to use Adobe flex applications for my webdynpro java projects which then later I can use in portals. I need some learning materials for that. I was looking from google but I haven't found many sources. if you guys can help me out then It would be great.
    Regards,
    NK

    Hi Bala,
    Adobe Flex is not similar to Java Webdynpro. You can get more information from the Adobe Webpage and also a trial version. Adobe Flex is part of Visual Composer Compiler capabilities. At SAP TechEd in Munich was an interessting demo of rendering webdynpro with Flex during the Demo Jam. For more information you can download the Demo Jam Video <a href="http://www.sapteched.com/emea/activities/videos/DemoJam.wmv">here.</a>
    Best Regards,
    Marcel

  • Are there any recent tutorials or information for integrating Adobe Flex with Ruby on Rails 4?

    I've combed and searched extensively and most of the documentation is anywhere from 4 to 7 years old.  A lot of it focuses on outdated gems or libraries.  I've even seen Rails 2.0 as a focus for a lot of this information.
    I would just like to know if anyone has any valid resources for the latest Adobe Flex integrating with a Rails 4.x application.  And, if so, where is this hidden information listed or located?
    Thanks.

    I've combed and searched extensively and most of the documentation is anywhere from 4 to 7 years old.  A lot of it focuses on outdated gems or libraries.  I've even seen Rails 2.0 as a focus for a lot of this information.
    I would just like to know if anyone has any valid resources for the latest Adobe Flex integrating with a Rails 4.x application.  And, if so, where is this hidden information listed or located?
    Thanks.

  • Creating ADOBE form with RFC

    Hi All..
    I need to  Create a Adobe Form with the table structure as used in my RFC and Using onSubmit event to store the entered data into SAP. Please Provide me Some Useful links to know the proper process, please guide me the process.
    Thanks,
    Parameshwari

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b33fc-9eb1-2c10-0599-f2ef9fb5c5b6?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f02b33fc-9eb1-2c10-0599-f2ef9fb5c5b6?QuickLink=index&overridelayout=true
    Regards,
    Mahesh

  • Adobe Flex with xml creates cache problems....Need help

    Hi,
    I have created a qoute calculator in flex and the data's are pulled from an xml file, but when I upload these to server and when new xml file with new data is uploaded the application is showing with same old data.
    Every time I have to change the xml and have to run the application one again to get new updated data.Following way I am connecting the xml file.
    I have read in many places that by giving random time function will clear this cache so I tried and even that also not working for me.
    Please, looking for an urgent help .
    ..................Code.................................
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete=" initComponent()"  layout="absolute" width="640" height="516" backgroundColor="#FFFFFF"  >
    private function initComponent():void
                     var url:String = "data.xml?blabla="+new Date().milliseconds+";";
                    var d:Date = new Date();
                   xmlURL = url + "?" + Math.random();
                   items.source=xmlURL;
    <mx:XML id="items" source="data.xml" />
    <mx:HTTPService id="xmlDataList" url="{xmlURL}" />   

    try adding a datadump to your HTTPService; POST some irrelevant data, this will force the service to run without caching

  • Integrate adobe flex with ABAP WD : set_attribute not working

    Hi All ,
    I am using NetWeaver 7.0 Enhancement Package . In my flex bulder I have created a bindable variable "newVar" of type string and in my ABAP WD , I have used the same name in the "Name" of  the GAC property and bind the value property with a context attribute
    In my .SWF  mime object imported in my WD ABAP application , I have a input field . Now I want  this field to be defaulted with some value .For this , I am using the set_attribute method in WD DOINIT of my ABAP WD application , but I am not able to set the field with some value .
    Can any one  please reply me ASAP , where am I missing ?
    regards,
    amit

    yes Thomas thnx for your reply  , I am able to transfer values back to the WDA from Flex , binding names are same . I had also verified in the
    IRS_Scripts.as under the flex builder and had given the same name in my WDA ..
    is there any standard document regarding this .. so that I can match my steps , I had searched on SDN forum but not able to find any so far , any blog or some other help regarding this
    regards,
    amit

  • Using Flex with JSPDynPage

    Hi,
    Can we develop a JSPDynPage component, using Adobe Flex as the UI instead of using HTMLB? (by embedding flex components in the jsp file). Is it possible to call methods in other java files from a flex application?
    Did anyone try to develop a JSPDynPage component this way?
    Regards,
    Sudhir

    Hi,
    Pls check out these links below for this info -
    Adobe Flex with RFC - 
    Binding Data through function module in adobe to display charts
    How to connect to SAP Database from a Adobe flex application?
    Adobe flex and Sap
    Adobe Flex within SAP NetWeaver Developer
    Regards
    Lekha

  • Using Flex with Microsoft Project

    I am absolutely brand new to FLEX. What I saw on the Adobe
    site was a data chart that could be drilled down to expose
    additional layers of "contriburory detail" for the master graph.
    What I am wondering is if it is possible to do something
    similar using Micrsoft Project Data as the basis. MS Project will
    allow users to save the file as XML. So, all the data should be
    available in a form understandable to FLEX.
    Here's the tricky part (and I can add more detail if needed).
    Project will create a summary line (at some level of indentue) and
    show you a calculated %Complete such as 47%. So, level of indenture
    1 I have the major summary tasks of the project at various status
    of %Complete. I believe FLEX can make some type of bar or pie chart
    out of that for me. What I want to do is click on a "Level1"
    indenture and have it expose the Level2 indure that contributes to
    that 47%. Then drill on one of the Level2's to Level3 .... to Level
    "n".
    This needs to be accomplished in "stand alone" fashion so the
    ultimate user can launch a desktop application and tell the
    application the name of the Microsoft Project XML file. We will not
    be able to use Client/Server ... client side only with the file
    located either locally or at least on a network drive.
    Can this be done? Has anyone looked at a MS Project XML
    schema to see if there is sufficeint information available?
    OK, now the blunt truth. It ain't %Complete that I care
    about. What I care about is BCWS, BCWP, ACWP, %Complete, and a few
    other parameters. These are the "Earned Value Fields". If you do
    not know what they are, don't worry about it just now .... it is
    really all just time phased data.
    Can anyone give me some advice or an opinion? TIA.
    Jim

    Hi,
    Pls check out these links below for this info -
    Adobe Flex with RFC - 
    Binding Data through function module in adobe to display charts
    How to connect to SAP Database from a Adobe flex application?
    Adobe flex and Sap
    Adobe Flex within SAP NetWeaver Developer
    Regards
    Lekha

  • How to save the data to sap abap using Adobe Flex

    Hi Everybody......
    I am new to Adobe flex with sap abap.
          How to save the data in sap abap using Adobe Flex coding is Action Script and using RFC web service.
    Please give me any suggisions on that.
    Thank you
    Venkatesh V

    Hi Venkatesh,
    Try with folowing coding...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
         initialize="initApp()">
         <mx:Label x="10" y="23" text="Airline" width="90" id="lblAirline"/>
         <mx:TextInput x="108" y="21" id="txtAirline"/>
         <mx:Button x="10" y="49" label="Get Data" id="btnGetData" enabled="false" click="getData()"/>
         <mx:DataGrid x="10" y="97" id="dgFlightData" dataProvider="">
         </mx:DataGrid>
           <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   import mx.rpc.AbstractOperation;
                   import mx.rpc.events.FaultEvent;
                   import mx.rpc.soap.LoadEvent;
                   import mx.rpc.events.ResultEvent;
                   import mx.rpc.soap.WebService;
                   [Bindable] public var flightData:ArrayCollection;
        private var flightWS:WebService;
         private function initApp():void{
              flightWS = new WebService();
              flightWS.wsdl = "http://uscib20.wdf.sap.corp:50021/sap/bc/soap/wsdl11?services=ZGTEST&sap-client=000";
            flightWS.addEventListener(FaultEvent.FAULT,onWSError);
              flightWS.addEventListener(LoadEvent.LOAD,onWSDLLoaded);
             flightWS.addEventListener(ResultEvent.RESULT,onFlightWSGotResult);
              flightWS.loadWSDL();
    private function getData():void{
              var operation:AbstractOperation = flightWS.getOperation("ZGTEST");
              var input:Object = new Object();
              input.Airline = txtAirline.text.toUpperCase();
              operation.arguments = input;
              operation.send();
         private function onWSError  (event:FaultEvent):void{
         private function onWSDLLoaded(event:LoadEvent):void{
              btnGetData.enabled = true;
         private function onFlightWSGotResult(event:ResultEvent):void{
              flightData = event.result.SFLIGHT;
              ]]>
         </mx:Script>
    </mx:Application>
    Regards,
    Vinoth

  • Need information about Adobe Flex and WD

    Hello SDN!
    We try to decide is it possible to use Adobe Flex with WD java for us. So I need to know information like:
    1) hardware requirements
    2) software requirements (e.g. which versions of SAP NetWeaver are supported, which IDEs are supported and so on)
    3) what about licenses - is it free or it necessary to buy it?
    4) Adobe Flex and Adobe Flash are the same things or not
    5) any other useful information
    regards, Lev

    Hi Tarun,
            You can follow these links for more information
    http://help.sap.com/saphelp_nwce711/helpdata/en/48/825afcf53d3ff6e10000000a42189c/content.htm
    http://www.adobe.com/devnet/sap/articles/understanding_richislands.html
    Hope it helps.
    Regards
    Uday

  • Adobe flex application development in NWDS

    Hi All,
    I have to develop an adobe flex application in NWDS.The questions are:
    1.What version of NWDS is required
    2.How do i integrate adobe flex with NWDS
    3.Any tutorial for a sample Adobe flex application development in NWDS
    Thanks and Regards
    Radhika

    Hi,
    Does it have to be NWDS?
    See if this post gives you some answers:
    Integrating Flex into Developer Studio
    Rgds.

  • Integration of Flex with Aprimo Lead Management

    Has anybody worked on integrating Adobe Flex with Aprimo Lead Management? If so,how can it be done?

    "jonpor" <[email protected]> wrote in
    message
    news:gbj914$ct$[email protected]..
    > If you do any asp.net you've probably seen and used an
    updatepanel. You
    > are
    > right, it is AJAX. An "updatepanel" is an asp.net
    control that
    > encapsulates the
    > AJAX functionality to do partial page postbacks in
    Asp.net. With an
    > updatepanel, you can trigger ajax postbacks on parts of
    a page (whatever
    > is in
    > the updatepanel). Problem I'm having is when I trigger
    an update on the
    > client
    > side, it is triggering 'the whole page' to update,
    rather than only
    > posting
    > back what is in the panel. This is probably a better
    question for an
    > asp.net
    > site, but figured someone in the flex/flash camp might
    have figured out
    > how to
    > do it.
    >
    > Since I'm putting Flex in Asp.net, figured I'd try to
    look for an answer
    > here
    > rather then getting flamed on a Microsoft board for
    using Flex.
    I'd look at using ExternalInterface to fire of the js methods
    that run the
    AJAX.
    HTH;
    Amy

  • Please give me some examples of video chat with adobe flash builder 4 or adobe flex 3.5

    I'm a newbie for flex. I had a project from my college to made a video chat application using Adobe Flash Builder 4 and used Red5.  please help me, give me some examples of video chat source code, so that i may to learn it. thanks a lot friends.

    As you are starting at the beginning you may as well start with FB4. When you install FB4 you will find that its start page has links to documentation tutorials and examples through the tour-de-flex. There are some great blogs that continue to offer advice and examples, nothing beats well written examples for learning. If you are on face book there is an Adobe Flex page that is continually giving links to examples and information about e-seminars.
    And of course there is here. So jump on board and have a bit of fun.
    David

Maybe you are looking for

  • Help Required: Working with relational data

    Hi, I'm looking for some advice Scenario We have a customer who has an SE relational database with Apex for transaction processing. They require reporting functionality and are debating whether to buy BI SE One or BI EE; they will not buy the entepri

  • Which playlist?

    Hi there I'm a bit of an iTunes novice but I've managed to screw things up a bit somehow. Anyway, to cut a long story short, I've got a shed load of songs in my music library, but they're not all allocated to playlists. I obviously want them to be in

  • Mac intel computer OS 10.6.8, mail has quit working.

    Every time I click on the icon on the tool bar, it has to import my mail. This takes an hour to complete. I then click done. It goes to the mail page and freezes.  I have the rotating rainbow.  Beside each of my inboxes I have a blue circle with a sq

  • How do I manage Airport in Server?

    I can not use Airport anymore and I can't see my Extreme Router. How do I edit router now?

  • Search help - error message

    hi everybody Ive created an elementary searchhelp - zz-fipex, which i have added to the collective search help COBL_EX_FPOS The search help is appearin on the screen but when Im trying to use that new search help to find the corresponding entry, Im g