Flash Island: Get varibles from Flex into SAP

Hello,
I am trying to get the content of a variable from an Flash Island into SAP. I am using :
FlashIsland.fireEvent(this, "add");
in order to fire the event in SAP which is working well. But I also have a variable which content I want to send to SAP. I am using:
FlashIsland.storeProperty(this , "ERGEBNIS", Ergebnis);
which is not working. "ERGEBNIS" should be the name of the context attribute in SAP, Ergebnis is the name of the variable in flex.
In my FlashIsland I have a GACEVENT called add which triggers the ACTION ADD and a GACPROPERTY called ERGEBNIS with the value FLASH.ERGEBNIS.
My problem is to get the value of Ergebnis from FLEx to SAP.
regards
stefan

The storeProperty should work.  I've got an application that uses that very technique and it is working just fine.  Make sure that your name usage is mapping properly.  For instance here is my applicatoin:
I have a textField.  I register a function for the change event of the textField. In this function I copy the current value back with the storeProperty function:
public function changeText():void
               if (!RTE.htmlText == ""){
              var l_text:String;
                    l_text = RTE.htmlText.valueOf()
                    l_text = cleanHTML(l_text);
               FlashIsland.storeProperty(this, "RichText", l_text );
Now RichText is the name of the public variable that I am exposing to the Island. It is not the name of the context attribute in WDA. Inside of WDA I have a GACProperty with a name of RichText and a value bound to a context attribute named HTML_TEXT.
If this still doesn't work for you (although it should) consider passing the value back as an event parameter instead of via the context. You can pack event parameters directly into the fireEvent function and then they can be read from within your ABAP event handler method:
     FlashIsland.fireEvent(this, "newSel", {newLS:coverflow.selectedIndex});

Similar Messages

  • Need to transport a Folder from cFolders into SAP R/3

    Dear Members,
      I want to import a whole folder( and it's child documents) from cFolder into SAP R/3. What I did so far is that I have created the RFC Dest., Configured the cFolder in R/3 using Tx CFC01, created a Search for the folder inside cFolder and ran CFI01. There I entered the cFolder Application name and entered the cFolder Search as my search name (using the search help). Then when I am trying to Add Documents it's showing a message <b>No lines added. cFolders document(s) contain no file(s)</b>. What I have seen so far even after debuging and after doing a lot of R&D is that, Documents can be imported but folders can't be. <b>But my requirement is to import all the folder element in one shot.. how to go about that? Please lit into the matter..I am waiting with points</b>
    Sugata

    in cfi02 it is not possible if you are game you can try
    CFX_API package to write a prg to do so
    CFX_API_FOLDER_GETDETAIL - to get doc ids
    CFX_API_DOC_DOCUMENT_READ

  • Clarification on details regarding getting data from APO into BW

    Hi Friends,
    I need some clarification in terms of getting data from APO into BW for reporting:
    I observed that SAP has provided standard data flows for PPDS module, where as for the Demand Planning and Supply Network Planning SAP has just provided some standard InfoCubes ex: 0APO_C07, 0APO_C10, 0APO_C11, 0APO_C12.
    Which makes me believe that for Demand Planning and Supply Network Planning we need to generate DataSources from the Planning books in DP & SNP and build our own custom data flows. In that case what is the use of above mentioned InfoCubes provided by SAP?
    Also in my current project the client has built a custom DataSource on top of a Planning Book in DP and created custom data flow in BW for reporting and also created a Back up cube in APO.
    My question on this is, what is the use of this Back up cube in APO, what is the need to maintain two same cubes in two different systems?
    My next question is, I have installed complete data flow for 0APO_C02 (Orders Data) in BW and loaded data. In SAP documentation it says when we try to load data for a particular date range using this InfoSource (0APO_PPDS_ORDER_01), it directly loads data from the live cache.
    Is there a way to know if the data is coming from Live Cache or from APO server, can we get data from live cache for 9A*** Datasources also, which we create on planning books in DP and SNP?
    Any comments and Info will be greatly appreciated. Thanks!

    Hi Sunitha, thanks for your inputs. So does that mean for Demand Planning and Supply Network Planning, SAP has not given any standard DataSources because it makes more sense to build DataSources from the planning books as each company has their own planning strategies based on how they do there business. Right?
    And for these modules there is no other way rather than generating DataSources from Planning Books and build the Data Flows based on it. Right?
    Also these generated DataSources i.e. 9A**** pull data from live cache itself right or is there any setting that we need to enable for it to get data from live cache?
    Thanks again for your valuable inputs hope to get answers to above questions as well.

  • Upload data from Excel into SAP CRM using webservices

    Hi,
               I want to upload the data from EXCEL into SAP CRM using a web  service, can anyone say me the process and also how to map the excel and the source code structures.
    Thanks,
    Sanju.

    Try the following :
    Class: CL_GUI_FRONTEND_SERVICES
    Method: GUI_UPLOAD
    Thanks
    <b>Allot points if this helps!</b>

  • Creation of an RFC to pass notification number from IOMS into SAP.

    hi sap,
    i have a  requirment to such as:
         Creation of an RFC to pass notification number from IOMS into SAP. The RFC containing notification number must access notification details via transaction IW23.
         Creation of an RFC to pass notification field specific information from SAP to IOMS. Upon accessing the notification inside SAP the following field information must be passed back to IOMS.
    can you please help me out with the RFC which would be much helpful to me.
    when i give the RFC then through the RFC the IOMS will pass the NOTIFICATION NUMBER. Based on the notication number i have to pass the data that belongs to that perticlar NUMBER.
    your help is much aprreicated and thanks in advance.
    regards,
    laya.

    I dont know what is IOMS and what platform they are using.
    If you want to access data from Non-SAP system or Insert from non SAP system, you need to develop remote enabled function modules, check for standard function modules.
    Check package IWOC, for standard function modules.
    Thanks and Regards,

  • How do I get pics from Preview into iphoto?

    How do I get pics from Preview into iphoto?

    While you are viewing a photo in Preview, and want to import it into iPhoto, select the document icon in the toolbar of the preview window and drag this icon onto the iPhoto icon in the Dock or in the applications folder.
    For example:

  • How do I get music from itunes into my slideshow in elements 10

    What is the procedure to get music from itunes into a slideshow in elements 10?

    If your music is in iTunes own format, you'll need to convert it first. Elements works best with .wav files. Here is the Apple article on making conversions:
    iTunes: How to convert a song to a different file format.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • How do I get images from Aperture into print shop for mac?

    Friends,
    I have Print Shop for Mac and Aperture. How do I get images from Aperture into Print Shop? I'musing managed images with previews. Is there any option besides exporting to the desktop and importing?
    Thanks!
    Steve

    if you have previews turned on in Aperture and they're all genereated, you can simply drag-n-drop them into any application (just about). drag-n-drop is essentially the same as copy/paste as long as the application is setup to accept "drops" onto its windows.
    otherwise, if you're running Leopard (10.5) as your version of Mac OS X, when you import (or whatever it is in PrintShop), you should get a file selection dialog. from here, scroll down the left-hand side bar set of icons. near the bottom is a group called "Media". click on the triangle to open the group, choose Photos, and from here you should see an Aperture icon. click this and you'll see your whole library (or at least the portion of it that you have previews generated for. select the photo you want and viola!
    scott

  • Cannot get contacts from Iphone into gmail :-(

    Cannot get contacts from Iphone into gmail, have followed tutorial and no joy :-(

    Where does your contact list have to go? (Computer, android phone, etc)

  • How to get mail from Outlook to SAP GUI (workflow)

    Hi All ,
    How can we get a mail from outlook or personal mail into SAP GUI .
    can it be used as an event for 'wait for event step ' in workflow . ?
    Thanks ,
    Naval bhatt

    Hi Naval,
    I just want to clarify some areas from your question:
    1. Will a workflow be triggered because of the email from Outlook to SAP? Does it always have to start from the Outlook side?
    The integration of SAP Workplace (thru Workflow) and Outlook is possible using the Extended Notification (tcode SWNCONFIG). Here, you can send an email from SAP to Outlook then execute a function from your Outlook message and then you will be directed to the tcode of SAP side (SAP GUI).
    Regards,
    Reymar

  • Want to pull data from MDM into SAP and send it to portal.

    Hi,
    I have a requirement where-in i want to get some data from master data management application(a third party application) into sap and send that data to portal. Kindly suggest me on how to go about doing the same. Awaiting your kind responses guys.
    Regards
    Shailendra.k

    Hi Shailendra,
    Your requirement is a huge activity with multiple tasks which can be done in multiple ways.
    Some basic points:
    1. You can read data from your Third party application using
    a. Native SQL or
    b. a middleware as PI or
    c. using connectors based on the platform of the Third party application (VB, .NET, etc.)
    2. Data can be sent to portal using
    a. Middleware as PI or
    b. Creating RFC's
    c. BAPI's.
    For any specific details, you can check SDN as detailed posts on each of the above is available or can post further.
    Regards,
    Pranav.

  • Data upload from excel into SAP

    Hi Gurus
    Could anyone please guide me how to upload excel data into SAP?
    I need to update existing Gross weight and Net weight data. Got new data in excel format.So need to upload excel file straight into SAP and update the data.
    Step by step procedure will be much appreciated.
    Rgds
    Utpal

    try with bdc .....
    below coding is move the data from excel to internal table ....
    TYPES: BEGIN OF s_ovro,
              VKORG LIKE V_TVSFK-VKORG,
              VTWEG LIKE V_TVSFK-VTWEG,
              SPART LIKE V_TVSFK-SPART,
              STGKU LIKE V_TVSFK-STGKU,
              STGAK LIKE V_TVSFK-STGAK,
              STAFO LIKE V_TVSFK-STAFO,
           END OF s_ovro.
    DATA: I_OVRO TYPE TABLE OF s_ovro,
          w_ovro type s_ovro.
    data : request(15) type c,
            i type c.
    DATA : IT_EXCEL TYPE STANDARD TABLE OF ALSMEX_TABLINE WITH HEADER LINE.
    FIELD-SYMBOLS: <FS1> TYPE ANY.
    include bdcrecx1.
    SELECTION-SCREEN BEGIN OF BLOCK DATA WITH FRAME.
    PARAMETERS: P_FILE TYPE  RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\itfactory\Desktop\sd1.xls' OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK DATA.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
    start-of-selection.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = P_FILE
          I_BEGIN_COL             = 1
          I_BEGIN_ROW             = 1
          I_END_COL               = 24
          I_END_ROW               = 60000
        TABLES
          INTERN                  = IT_EXCEL
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      LOOP AT IT_EXCEL.
        ASSIGN COMPONENT IT_EXCEL-COL OF STRUCTURE
        W_ovro TO <FS1>.
        <FS1> = IT_EXCEL-VALUE.
        AT END OF ROW.
         MOVE-CORRESPONDING: Wib TO Iib.
          APPEND w_ovro to I_ovro.
          CLEAR W_ovro.
        ENDAT.
      ENDLOOP.
    through bdc program update the data from internal table to bdc...

  • How to pass thr document from Webdynpro into SAP R/3?

    HI Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Please ad

    Refer Oliveri's solution in [this|Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2); thread.

  • How to push data from BW into SAP R/3 system???

    Hello,
    We have faced a problem. We need to push compressed sales data from BW to SAP R/3 system. But We don't know how to do it.
    Does it exist the standard instruments for it (without ABAP development)?
    How to integrate BW and SAP system?
    We will be much obliged you for your recomendations and advices.

    Hi Igor,
    I'm not aware of any standard out of the box mechanisms for moving Sales data back into SAP ERP. There are some delivered "retractors" for business scenarios like financial planning and consolidations where updated data is sent back to SAP ERP in a closed loop scenario. These retractors have been written in ABAP.
    I would suggest that you search the latest BI content to see if there is anything for sales data retraction. There might also be information in SAP note on how to do this in code.
    To send data from BI, you can also use the 'open hub' feature to extract the BI data to a DB table or file for example. This could then be read by a program to load SAP ERP. The loading would have to be custom development.
    Sorry I can't help you more - I fear you will most definitely have some custom development in this case.
    Cheers,
    Mike.

  • Without NI DAQ device- how to get data from MSP into labVIEW and process it

    Hi,
    I do not have an NI DAQ device. I have an MSP430 and my sensor is an ADXL335 Accelerometer. How do I get data from my MSP into labVIEW and process it?
    Just looking for a nudge in the right direction. I'm having a hard time finding resources on labVIEW that don't involve NI specific DAQs. 
    Thanks in advance,
    Aziz

    There are many ways to get data into LabVIEW that do not involve NI-DAQ devices.
    I think your easiest option would be to stream it via serial port if the data rate isn't too fast.
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle

Maybe you are looking for

  • Grouping by absolute path

    Hello everyone, I have this small problem: My xml is as follows: <XXKSAPAYANALYSIS> <P_ASSIGNMENT_SET_ID></P_ASSIGNMENT_SET_ID><P_PAYROLL_ID>145</P_PAYROLL_ID><P_CONSOLIDATION_SET_ID>82</P_CONSOLIDATION_SET_ID><P_DATE_EARNED>31-MAR-14</P_DATE_EARNED>

  • Pass array as a parameter

    I am trying to make a method that compare and return the smallest number in the array.But it doesn't work. Thanks! // The "Pass" class. import java.io.*; import java.lang.*; public class Pass     public static void main (String [] args)         int [

  • Painful Mail and .Mac issue.

    I own 2 domains and therefore have my own email addresses for them. I also have a .Mac account and use that as my main mailbox getting everything forwarded into it and then picking it up with Mail.app. The problem is that I never want to send mail vi

  • Inflation Accounting in Dominican Republic

    Hi Sap Guru I just want to know that in Inflation accounting it is possible to revaluate the aseet from  year 2000 till now.As client want to adjust the asset accordingly.If possible what is the configuration for that. It is also possible to know if

  • Should I avoid iTunes7?

    I have read so many nightmares on these pages that I'm tempted to steer well clear of iTunes7, as 6 is doing everything I need. And as I just installed Final Vinyl and got it working with iTunes after some difficulty, I think I should leave well alon