Is it possible to maintain ResultEvent data?

Hi,
I'm fairly new to Flex and have been frustrated in my attempts to store the result data of a ResultEvent to a global variable for later use but have had no success thus far.
<fx:Declarations>
     <!-- Place non-visual elements (e.g., services, value objects) here -->
     <fx:String id="sUsername"/>
      <s:RemoteObject id="userutils" destination="userutils" source="dashboard.utils.UserUtils">
               <s:method name="getUsername" result="getUsernameHandler(event)" fault="faultHandler(event)"/>
      </s:RemoteObject>
</fx:Declarations>
//functions
private function getUsernameHandler(event:ResultEvent):void{
     var retVal:String = event.result.toString();
     sUsername = retVal;
private function faultHandler(event:FaultEvent):void{
Alert.show(event.fault.toString());
public function getUserDetails(corpdomName:String){
     userutils.getUsername(networkName);
     //creates gui
     buildUserView();
Essentially after the getUsernameHandler completes sUsername remains blank, however if I were to insert an Alert.Show(sUsername) within getUsernameHandler an Alert will display with the correct information. I have had some success in using a SharedObject to store this information but it seems that the Flex application will use the SharedObject from the previous session which has left me even more confused.
Any ideas if this can be done?
Thanks in advance for any help.
-Rab

Hi,
if you maintain texts of your objects in different languages it's better to use a maint. view:
example
1) ZTAB01 - CU-Data
2) ZTAB01T - texts to CU-Data
3) ZTAB01_V - maint.-view of 1) and 2)
hope that helps

Similar Messages

  • Is it possible to maintain table data in a maintenance view

    hi all,
    is it possible to maintain data in a table by using maintenance view.

    Hi,
    if you maintain texts of your objects in different languages it's better to use a maint. view:
    example
    1) ZTAB01 - CU-Data
    2) ZTAB01T - texts to CU-Data
    3) ZTAB01_V - maint.-view of 1) and 2)
    hope that helps

  • Is it possible to retrieve the data from maintainance view?

    Hi experts,
    Am facing one problem.
    Is it possible to retrieve the data from Maintainance View ,If yes how?
    IF it is not possible then Y?
    While am trying to retrieve data from maintainance view it's showing message like
    "it is not a database view or table".
    Can u pls give me ans.
    Thanks&Regards,
    Arun.

    Hi Arun,
    It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
    Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Updating operands: Not possible to maintain before a certain date

    Hello,
    When I try to insert an operand value in ES31, I got the following returned message "Not possible to maintain before XX.XX.XXXX", where XX.XX.XXXX is the End Billing Period of the last bill. In my understanding, SAP does not allow updating an operand before the last bill, right? I need to maintain an operand value. Is there a way to insert an operand value before the last bill?
    Thanks so much,
    Sukasom

    The problem is that we can not reverse the bill, because the customer had paid already.
    We have a case where the orginal bill was incorrect, so we did the manual bill to either return the money or charge the customer more,
    and then we need to insert operand value to maintain the past consumption.
    Thank so much

  • Is it possible to maintain a view vai Batch Input

    Hi guys,
    The user required to develop a BDC program to upload the data source from outside of SAP, and maintain these data into a view via Tcode: SM34. But it seems the view doesn't support Batch input.....
    Can anybody tell me, is it possible to maintain a view via Batch input? Many thanks!
    Brian Liu

    Additional information:
    This requirement is to upload the Overhead Rate data from outside of SAP, and maintained via KZM2 or SM34. But when I tried to record a BDC for KZM2, it seems that the SAP can not support batch input.
    I find a SAP note 208474, it says:
    Symptom
    Overhead rates of the costing sheet of the overhead rates, which have been created, changed or deleted via batch input or Call Transaction, are not saved.
    The same rates are saved if processing is carried out via Transaction KZZ2 or the Implementation Guide IMG.
    Cause and prerequisites
    Processing the Customizing transactions for maintaining the overhead rates of the costing sheet (Transaction KZZ2, KZM2) is
    not supported in the batch input. This corresponds to the SAP standards according to which Customizing transactions in general need not necessarily be capable of batch input.
    The batch input data of the overhead rates are not saved in the standard because processing is terminated by a COMMIT WORK. This statement ensures that the internal tables for the transport of the overhead rates are only deleted if their transfer to the database tables to be transported has been processed successfully.
    Solution
    The subsequent modification allows batch input processing of the overhead rates, by suppressing the COMMIT WORK statement. As a result of the modification, the tables in the transport request of the overhead rates may be incomplete in single cases.
    In cases where the overhead rates have not been transferred completely to the target system after implementation of the modification, include the overhead rates again in a transport request, repeat the transport and, if necessary, subsequent processing.
    Note that the attached modifications are not and will not be included in the R/3 standard system.
    I modified the sap standard program L0COEF04 according to another SAP note 150041, but after the modification, I still couldn't record the BDC.
    Anybody who have ever met the same situation, or can give me some suggestion? With many thanks!
    Brian Liu

  • Not possible to determine shipping data for material  in PO(STO)

    I
    m doing STO for intra copmany code(plant to plant stock transfer),I have done all STO setting ,maintain material with plant and storage condition,loading groups , maintain customer with storage condition,created vendor with supplying plant.setting is done for supplying plant and receiving plant .
    Supplying and receiving plant combination with document type UB.delivery type NL and checking rule RP.Also maintain sales area for both plant.
    But when I m creating PO in ME21N below error is showing..
    *Not possible to determine shipping data for material ,kindly suggest if I have missed any setting...
    Regards,
    Vipin

    Hi Sharan,
    Thanks for your reply.
    problem got solved but in different way ,STO setting was wrong.
    I didn't maintain delivery document type(NL) on plant level  It was maintain at storage location that's why system couldn't determine shipping info for material.
    Please check the setting below.
    IMG> MM>Purchasing>Purchase order>STO>STO between storage location>set up storage location -dependent shipping point determination>define rule for determination of sipping point>
    here we have to set delivery document type(NL) to plant specific shipping point determination.

  • ALE-Idoc -Is It possible to distribute Trnsaction data to multiple system ?

    Hi Guys,
    Is it possible to distribute transactional data to multiple system using ALE?
    If yes ,How ?
    Will u pls guide me?
    Regards

    Hello,
    This is perfectly possible when you use a distribution model for your message types in BD64.
    Per message type you can indicate multiple destination systems in BD64.
    Of course you need to maintain all the partner profiles.
    More on the SAP help pages:
    [http://help.sap.com/saphelp_erp2005/helpdata/EN/0b/2a610f507d11d18ee90000e8366fc2/frameset.htm|http://help.sap.com/saphelp_erp2005/helpdata/EN/0b/2a610f507d11d18ee90000e8366fc2/frameset.htm]
    Wim

  • How is ist possible to maintain the time dependencies for Abap Privileges?

    How is ist possible to maintain the time dependencies for Abap Privileges?
    In our Installation of SAP IDM 7.0 SP2 Patch 4 the time dependencies of Abap Roles are imported in the IC by Initial loads Jobs. How can the see / change the dependencies in our IDM Workflow UI? Presently nothing jet is shown, no Attribute is predefined..
    Can anybody give us a hint?
    Thank you in advance !!

    If you click VIEW/SHOW PLAYHEAD INFO, you will see the timecodes as you scrub. (Consumer timecodes, not pro timecodes).
    This works if you imported your footage from a camcorder, either miniDV or AVCHD.
    However, if you have imported an analog file, or saved a DV file to a QuickTime File, you may just see the file creation date in VIEW PLAYHEAD.
    However, there is a trick to getting even these clips to display timecodes if you know the start time.
    First pick a clip. Make a copy and drag it to your desktop, just so you don't lose anything.
    Rename this copy in the following format clip-yyyy-mm-dd hh;mm;ss.current file extension.
    For example, clip-2001-07-14 09;30;45.mov (note the space between the day and the hour)
    This would be a .mov clip that starts with the first frame at July 14, 2001 at 9:30:45 AM
    Then import the clip into iMovie. You now have timecodes at the playhead.

  • Need to maintain same data in ECC and MDM

    Hi ,
    Could you please tel me why we need to maintain same data in MDM and ECC seperately.
    Regards
    Ramya

    HI Ramyadixit,
    It is important to understand that MDM and ERP do not replace eachother rather complement each other.
    Using SAPu2019s ERP suite as the foundation technology for an MDM implementation is problematic because, despite all the positives of ERP, flexibility is usually not associated with SAP systems.
    SAP ERP doesnu2019t offer the tools to manage master data in the ways required by todayu2019s complex organizations.SAP ERP isnu2019t designed for active management of critical master data. Specifically, SAPu2019s data matching capabilities are too basic. Its search functions might be good at u201Cexact matchu201D but they are not as strong at the kind of u201Cfuzzy searchingu201D that is so important in uncovering duplicate entries with subtle differences. For the same reason, users are far more likely to create new duplicate customer records in SAP, and thereu2019s no way to create a u201Cgolden copyu201D of master data for use across multiple heterogeneous systems, or to maintain survivorship rules for overlapping data from multiple systems.
    These problems are all compounded when you have more than a single SAP instance, or different ERPs altogether, which is a very real occurrence within large corporations that have grown through mergers & acquisitions. Even without multiple ERP instances, most mid-size and larger national firms are likely to pull data from many different systems. In fact, 10 to 30 source systems is not uncommon, and heterogeneous environments are now the norm. The siloed approach to data management whereby customer-facing data is in one system, product data in another, asset data in a third, and so forth, really complicates the integration of processes, data and workflow.
    A dedicated MDM hub provides a multitude of benefits not attainable with an SAP ERP-based master data approach. First, a dedicated MDM system is just that -- dedicated to delivering the best possible manageability of your master data across the enterprise, and not just within your ERP technology stack. The focus of any high-quality, enterprise-grade MDM hub implementation is going to be on getting master data right; creating a single source of truth, with each distinct customer, product, etc. represented only once in the hub. This means you can maintain accurate, complete, timely and consistent master data through both data governance and hub technology, with robust data quality and matching capabilities.
    MDM and ERP need to coexist for instance as one solution does not replace the other. From an investment perspective, it is important to leverage existing technologies such as data quality, extract-transfer-load (ETL) and data integration tools, middleware, business process management and workflow.
    To summarise, the top five reasons not to master your data in SAP ERP are:
    1. SAP ERP isnu2019t flexible enough.
    2. Master data is different and canu2019t be proactively managed within an SAP ERP system.
    3. SAPu2019s ERP products werenu2019t designed for active management of master data.
    4. Mastering data in an ERP system is much more difficult with more than one instance or when different ERPs are used together.
    5. An MDM hub creates a workspace between an organizationu2019s transactional and analytic systems meaning they fix it once and then extend it for use in back office systems and the data warehouse.
    Hope it helps!
    Thanks,
    Ravi

  • Not possible to determine shipping data for material in intra company STO

    Hi,
    just trying to set up a STO material movement between two plants belonging to same company code,sto customization is done,i have chosen raw material whose stock got maintained in both plants........when trying to post it gives an error message ....NOT POSSIBLE TO DETERMINE SHIPPING DATA FOR THE MATERIAL...COULD SOME ONE HELP ME...

    SPRO->Material Management->purchasing->scheduling Agreement->Setup Stock transport scheduling Agreement->Define shipping data for plants.
    Select the particular plant and click on details there also you have to maintain the same customer that you have maintained in J1ID.
    Then it will allow to create Stock transport order.
    I did the same thing it was working for me.
    Edited by: Vanitha Krishnamurthy on Jul 27, 2010 12:07 PM

  • Manually maintain master data: check referential integrity?

    Dear Experts,
    we want to maintain master data via transaction RSA1 oder RSDMD.
    Is it possible to enforce referential integrity?
    Example:
    Infoobject A has attribute Infoobject B
    Infoobject B has master data keys
    101
    103
    When maintaining attributes in Infoobject A (with transaction RSDMD) only allow to maintain Infoobject B 101 or 103 but not 102.
    Best regards
    Gregor

    Hi Gregor,
    That is because I think you have sected check  inegrity box for any particular Object then.....the values which are coming are checked with masterdata table.......if the value are not existing in the masterdata then those records are not updated to the target..............
    In your case 102 is not present in A
    If still you want to laod then there is one setting
    You have activated error handling in the BW scheduler (Tab page Update)
    On the Update tab page in the BW scheduler, you have selected the option Always update data, even when no master data exists for the data.
    hope it will help.
    Regards,
    Ganesh BOthe

  • Is it possible to maintain the same material master

    Is it possible to maintain the same material master with same code in all plants in a company. Our client is using same materials in all their four plants?

    Material numbers are always maintained at Company code level. If you look at the Material master data, some data is maintained at Company code level, some at Plant level and some at Storage location level. If you have all the 4 plants attached to one company code, they should have the same material number. What you need to do is to extend the material to all the 4 plants if thats your requirement. Also, if you have your valuation area as your Plant, then you have the flexibility to maintain Plant specific pricing for the same material.
    You can use MM01 T code to copy material from old plant to new plant. But check for the required details in your new plant and make changes accordingly

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • Is it possible to extract essbase data as a web service

    Hi All,
    I would like to know if it is possible to extract essbase data as a web service. What are the things to look for to achieve this functionality. Also request you to help me with a simple example.
    Thanks for your help in advance.
    Thanks,
    Praveen

    1)http://docs.oracle.com/cd/E26232_01/doc.11122/aps_admin.pdf
    2)http://code.google.com/p/essbase-plsql-interface/downloads/list?deleted=1&ts=1331485947
    3)http://essbase.ru/archives/category/performance/essbase-api/xmla

  • Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?

    Is it possible to save / extract data from a MS SQL database 2008 using lookout 6.2?
      Now a days we are saving / extracting data in a excel spreadsheet, but we would like to do that using a database because it is better.

    You can use ODBC connection to work with SQL Server database.
    Use SQLExec object to execute the SQL statement. Here is a KB about the SQL statement.
    http://digital.ni.com/public.nsf/allkb/4ADEEA04CD24AE0B862565E20002A16F?OpenDocument
    To write data to spreadsheet is more straightforward because Lookout has built-in spreadsheet object. But you need to write SQL statement by yourself to interact with other database.
    To read the data back is the same way. Just use "select" SQL statement to query. You can use Datatable object to query.
    The "Data Source" can be "DSN = data source name;". The data source name is configured in Control Panel->Administrative Tools->Data Sources(ODBC).
    Ryan Shi
    National Instruments

Maybe you are looking for