Filereference 'save' throws error

i have a code which saves a display object locally as an image file, but at some point it began throwing error 2174 (up until then it worked fine). 
this code is called either from a context-menu click event or a keyboard event.
    var sourceBmd:BitmapData = new BitmapData(displayObject.width,displayObject.height);           
    sourceBmd.draw(displayObject,new Matrix(displayObject.width,0,0,displayObject.height));
    var jpgEncoder:JPGEncoder = new JPGEncoder(80);
    var byteArray:ByteArray = jpgEncoder.encode(sourceBmd);
    try
        filereference.save(byteArray,"posterImage.jpg");   
    catch (e:Error)
        Debugging.alert("error: ",e.message);           
as you can see, the filereference has only a single action - so no reason for error 2174 to be thrown (and yes - i also have a listener for the 'cancel' event).
in case you wonder - i'm publishing for flash player 10.0
any ideas?
cheers,
eRez   

from file reference docs
Note that because of new functionality added to the Flash Player, when publishing to Flash Player 10, you can have only one of the following operations active at one time:FileReference.browse(), FileReference.upload(), FileReference.download(), FileReference.load(), FileReference.save(). Otherwise, Flash Player throws a runtime error (code 2174). Use FileReference.cancel() to stop an operation in progress. This restriction applies only to Flash Player 10. Previous versions of Flash Player are unaffected by this restriction on simultaneous multiple operations.
I know you said you are publishing it with Flash Player 10 but what version of flash player are you running it in (not necessarily the same you are publishing it with? are you running it in the standalone or browser plugin?
FileReference was added in flash player 9 while FileReference.save() wasn't added until Flash Player 10
http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
if you are certain all of the above is ok then what happens if you add
fileReference.cancel(); above your filereference.save()
Another thought, so you have the saved jpg open in another application?

Similar Messages

  • When I save my query in PLD it throws error

    When i write a query and click Save button it throws error as "Define Numbering Series in Administration module" Can anybody help
    Regards
    Cool Ice

    Hello,
    Did by any chance you used CopyExpress to transfer information to that database?
    If so, that's the problem, and as far as I know there is no way to solve it...
    Best Regards,
    Vítor Vieira

  • Universe created on BI cube throws error.

    Hi Experts,
    This is the first time i have created one universe based on a Cube in BI system. After universe creation, I am logined into WebIntelligence Rich Client and create a query on top of the created universe which throws errors like below.
    A database error occured. The database error text is: The supplied XML is not valid. <CONSTANT>. (WIS 10901)
    I tried with many combinations, but, in result sometimes with blank report and sometimes throwing above error.
    Cany anyone suggest me what is the solution for this ?
    Regards,
    Suresh

    Hi Suresh,
    The reason here is some thing has bean changed at SAP BI Cube after creation of Universe in Business Objects.
    Solution for this is " Refresh the universe structure " and then save it and export and try create reports. If it is not the reason give some more clarity on your error.
    Thanks.
    ChiranGV

  • MDIS Unmapped Values ADD is not Working Throws errors

    Hi Experts,
    I have a Qualified table where the Non qualifier is a Lietaral Date field.
    Qualified Update -> Update
    New links -> Create
    Existing Links -> All mapped Fields
    MDIS unmapped values -> ADD
    All is working well,When the Incoming file has exactly the same NOn qualifier as in Data manager,  But when the incoming file has some New non-qualifers then it fails with a value Exception...
    1166657856 2011/09/27 16:29:16.326 GMT Importing: 'Samplee_27sep[1].xml.MDM_DATA' Table --> 'CostCentre.CostCentre' Table.
    1166657856 2011/09/27 16:29:16.341 GMT Could not create lookups. Source record number: -10, error message : Type mismatch. Invalid field values.
    1166657856 2011/09/27 16:29:16.346 GMT Import failed. Could not create lookups. Source record number: -10, error message : Type mismatch. Invalid field values.
    Import action: Update (All Mapped Fields)
    Source record no: 1
    But ideally it should NOT fail as the MDIS Unmapped fields are set to ADD..
    I would expect it to Add any new NON qualfiers to QT and add that Link to that Record.
    But it is throwing error...
    Did anyone face this issue till date???
    Kind Regards
    Eva
    Why is this behaviour..

    Hi,
    In the Import map as the Non qualifier is the literal date field and in DM i can see they are stored in MM/DD/YYYY format.
    The incoming value from the File is also the same format but the Config parameters date format in Import map is different, is this the problem for not adding New dates even though the MDIS unmapped fields are set to ADD..
    Also, are Config parameters Specific to Map or Repository Or server!!
    i.e if i change a config parameter and save the map.
    will the config parameters in all import maps be changed automatically??
    Kind Regards
    Eva

  • Displaying std field in enable mode after throwing error msg

    Hi experts,
    I have a requirement where i need to  check the value enterred in standard field (final grade) of infotype 0022 and need to throw error message, when the user click save button in PA30.
    But the problem is, if i throw Error message, that field becomes disable and the user have to go back and come back for entering the correct value. So, my requirement is taht the field should still be in enable mode even after getting the error message.
    pls tell me how to achive the same?

    Hi Shanti,
    You don't need to display a message of type ERROR as this will lock the screen and will prevent the user from providing further input. You can use the following thing
    MESSAGE i001 DISPLAY LIKE 'E'.
    This will serve your purpose by displaying the error but will not lock the screen field and thus will not prevent the user from further input.
    Have a look at the following link for more details : [ MESSAGE KEYWORD|http://help.sap.com/abapdocu_70/en/ABAPMESSAGE_OPTIONS.htm]
    Hope this will help.
    Thanks,
    Samantak.

  • Export command throws error?

    Hi All,
    Greeting to all,
    As i try to extract whole repository by export command,it throws error las below and doesn't export all xml files under repository.Although it exports many of files but not all.
    So,can anyone give some suggestion why it comes and how to solve it?
    java.lang.NullPointerException
    java.lang.NullPointerException
    at com.waveset.session.Exporter.exportObjects(Exporter.java:481)
    at com.waveset.session.Exporter.exportObjects(Exporter.java:177)
    at com.waveset.session.Exporter.exportObjects(Exporter.java:291)
    at com.waveset.session.LocalSession.exportObjects(LocalSession.java:4567)
    at com.waveset.session.WavesetConsole.cmdExport(WavesetConsole.java:1459)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.waveset.util.Console.callMethod(Console.java:555)
    at com.waveset.util.Console.doCommand(Console.java:345)
    at com.waveset.util.Console.interactiveConsole(Console.java:239)
    at com.waveset.util.Console.run(Console.java:95)
    at com.waveset.session.WavesetConsole.start(WavesetConsole.java:323)
    at com.waveset.session.WavesetConsole.main(WavesetConsole.java:209)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.waveset.util.Command.runMain(Command.java:196)
    at com.waveset.util.Command.launch(Command.java:175)
    at com.waveset.util.Command.main(Command.java:303)
    Thanks,
    Nadeeb

    1. where is my tcsh history file?
    You need to configure tcsh to save history. Something like this in .tcshrc or .login
    set histdup=erase
    set history=500
    set savehist=500
    The file .history will be created by the shell.
    2. How to hinder the grayed out history in my tcsh window at start up?
    I'm guessing that sourcing perlbrew's bashrc is screwing up tcsh when it attempts to read it. The path of least resistance would be to change your shell to bash so you can use perlbrew. If you want to keep tcsh as your interactive shell then source perlbrew's bashrc in the .bashrc in your home directory. Create a bash sub-shell by typing bash in your tcsh shell.

  • FileReference.save() method is undefined in Adobe AIR ?

    Hi,
      I am developing  a desktop application using adobe AIR.I need to use FileReference.save() method.But an actionscript error occuring during run time which says save() method is undefined for FileReference and there is no default value.I am running the application in eclipse.Is it due to the version problem of my AIR ? Please reply.

    Hi,
       Thanks for your answer.But I am getting that type of exception while running the application from eclipse.So please suggest a solution for this.

  • Help req for check customer table maintenance with XD02 if not throw error

    hello ABAP GURUS,
    check customer of the table maintenance with XD02 if not throw error i have given the codition for passing the values in the table but before that it has to check whether the customer i am passing in to the table is a customer from xd02.Here whatever no i am passing it is accepting it should not happen, but when i give the customer which is not a customer it should not accept but it has to throw the message as 'customer does not exist.Its urgent please help me
    TYPES: BEGIN OF TY_KNVI,
    KUNNR TYPE KUNNR,
    TATYP TYPE TATYP,
    TAXKD TYPE TAKLD,
    END OF TY_KNVI.
    DATA : VALIDFROM TYPE GUEBG,
    VALIDTO TYPE GUEEN.
    DATA : IT_KNVI TYPE STANDARD TABLE OF TY_KNVI,
    WA_KNVI TYPE TY_KNVI OCCURS 0 WITH HEADER LINE.
    DATA : V_NAME TYPE SYUNAME.
    SELECT KUNNR
    TATYP
    TAXKD
    FROM KNVI
    INTO TABLE WA_KNVI
    WHERE KUNNR = YYV_CFORM-KUNNR
    AND TATYP = 'ZCST'
    AND TAXKD = '1'.
    V_NAME = SY-UNAME.
    YYV_CFORM-ENTEREDBY = V_NAME.
    IF SY-SUBRC NE 0.
    MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'.
    ENDIF.
    I have used the following code to enter the data into the table maintenance it is working fine and throwing the error when the tax type is not the one which i have given in the select statements but the problem is when i have given the customer no which is not there in the XD02 tcode, it is accepting and showing the error message as MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'. now i have to check the customer no from XD02 and if it is existing in that tcode it should allow to save in the table maintenance otherwise throw a message as the 'Customer no does not exist, this I am unable to write so how can i check please help me .
    thankx in advance.
    Edited by: soni khadary on Apr 22, 2008 7:55 AM

    Hi Kelly,
    I guess <wa_tab>-handle_style is of type lvc_t_styl therefore you can do the following:
    ls_edit-style = cl_gui_alv_grid=>mc_style_enabled.
    "I assume you know your non-key fields' names so you can use subrotuine to perform update on each of them
    ls_edit-fieldname =  'First field name' .
    PERFORM update ls_edit.
    ls_edit-fieldname =  'Second field name'.
    PERFORM update ls_edit.
    ls_edit-fieldname = 'Third field name'.
    PERFORM update ls_edit
    FORM update USING fs_edit type lvc_s_styl.
    field-symbols: <style_tab> type lvc_t_styl,
                         <style_wa> type lvc_s_styl.
    LOOP AT <tab> ASSIGNING <wa_tab>.
       if e_row = sy-tabix .
         "get you style table
         assign component 'HANDLE_STYLE' of structure <wa_tab> to <style_tab>.
         "as <style_tab> is typed fully you can read the row you are interested in
         read table <style_tab> assigning <style_wa> with key fieldname = fs_edit-fieldname
         if sy-subrc = 0.
           "update this entry
            <style_wa> = fs_edit.
    *        modify table <style_tab> from <style_wa>. 
         endif.
       endif.
    endloop.
    endform.
    Note!
    Though, this should work, the use of RTTI as Uwe suggested would be best practise approach as far as dynamic programming is concerned. Anyhow it is still up to you which one you pick.
    Regards
    Marcin
    I noticed now that this line is not necessary
    modify table <style_tab> from <style_wa>. 
    as we simply are working with field symbols, so changes made to <style_wa> are already visible in that table <style_tab>.
    Edited by: Marcin Pciak on Mar 15, 2009 12:44 PM

  • PL/SQL throwing errors! trying to alter dates

    the following code keeps throwing errors, I was wondering if it is due to me getting confused when to use ":" before a variable and also ":=" when setting values?
    Can anyone see what I am doing wrong?
    Here is the code, at the moment it is throwing an error on line 44
    ORA-06550: line 44, column 1:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    CODE.....
    DECLARE
         QNStart DATE;
         QNFinish DATE;
         Q1Start DATE;
         Q1Finish DATE;
         Q2Start DATE;
         Q2Finish DATE;
         Q3Start DATE;
         Q3Finish DATE;
         Q4Start DATE;
         Q4Finish DATE;
         Q5Start DATE;
         Q5Finish DATE;
         QNT NUMBER;
         Q1T NUMBER;
         Q2T NUMBER;
         Q3T NUMBER;
         Q4T NUMBER;
         QNR NUMBER;
         Q1R NUMBER;
         Q2R NUMBER;
         Q3R NUMBER;
         Q4R NUMBER;
    BEGIN
         case current_date
              when current_date between to_date('01-JAN', 'DD-Mon') AND to_date('31-MAR', 'DD-Mon') then
                        QNStart := to_date('01-JAN', 'DD-Mon');
                        QNFinish := to_date('31-MAR', 'DD-Mon');
              when current_date between to_date('01-APR', 'DD-Mon') AND to_date('30-JUN', 'DD-Mon') then
                        QNStart := to_date('01-APR', 'DD-Mon');
                        QNFinish := to_date('30-JUN', 'DD-Mon');
              when current_date between to_date('01-JUL', 'DD-Mon') AND to_date('30-SEP', 'DD-Mon') then
                        QNStart := to_date('01-JUL', 'DD-Mon');
                        QNFinish := to_date('30-SEP', 'DD-Mon');
              when current_date between to_date('01-OCT', 'DD-Mon') AND to_date('31-DEC', 'DD-Mon') then
                        QNStart := to_date('01-OCT', 'DD-Mon');
                        QNFinish := to_date('31-DEC', 'DD-Mon');
         End Case
    :Q1Start := ADD_MONTHS(:QNStart,-3);
    :Q1Finish := ADD_MONTHS(:QNFinish,-3);
    :Q2Start := ADD_MONTHS(:QNStart,-6);
    :Q2Finish := ADD_MONTHS(:QNFinish,-6);
    :Q3Start := ADD_MONTHS(:QNStart,-3);
    :Q3Finish := ADD_MONTHS(:QNFinish,-3);
    :Q4Start := ADD_MONTHS(:QNStart,-4);
    :Q4Finish := ADD_MONTHS(:QNFinish,-4);
    :Q5Start := ADD_MONTHS(:QNStart,-5);
    :Q5Finish := ADD_MONTHS(:QNFinish,-5);
    select COUNT(COUNT(*)) INTO :Q1T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q1Start AND :Q1Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q2Start AND :Q2Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q3Start AND :Q3Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q4Start AND :Q4Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNT from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :QNStart AND :QNFinish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q1R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q5Start AND Q5Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNR from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN QNStart AND QNFinish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    EXECUTE
    Cheers
    Simon

    Dave had given you already some good advice.
    Your code is not only too complicated, but you have also probably a bug in it. You have for instance a QNstart as to_date('01.01, 'dd.mm') and a corresponding QNfinish as to_date('31.03', 'dd.mm'). As this means, it is the time portion at 00:01, you are missing the complete last day of this interval. So you better do:
    declare
      l_QNstart      date;
      l_Q1start      date;
      l_Q1finish     date;
      l_q1t          number
    begin
      l_QNstart := trunc(sysdate, 'Q');
      l_Q1start := add_months(l_QNstart, -3);
      l_Q1finish := l_QNstart;
      -- your condition is now
      select count(count(*))
      into   l_q1t
      from   ff_actions f, ff_action_type_lov a
      where  f.date_entered >= l_Q1start and f.date_entered < l_Q1finish
      and    a.action_score = 'y'
      and    f.input_type = a.action_name
      group by f.company_name;
    end;
    /Message was edited by:
    Leo Mannhart
    btw: what is the difference between Q1Start / Q3 Start and Q1Finish / Q3Finish resp.?

  • Report throwing error

    Hi BI Experts,
    I have an issue in the report output. The query is giving the data but the report is not showing the same.
    when nonexisting values are given, report is throwing ERROR instead of giving blank page. Client is expecting blank page or dummy page with tables or headings etc but not the error message.
    Please suggest a solution for this.
    Let me know if anybody needs any other information regarding this.
    Thanks in advance.

    you need to use no data found logic in order to get blank or any message saying no data found for that selected value.
    check this link
    https://blogs.oracle.com/xmlpublisher/entry/no_data_found
    or
    send me your sample xml having data and no data and template i can try at my side. email: [email protected]
    assign me some points if helpful

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Function module throwing error from work area. Cannot find the problem...

    REPORT  ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
          f1 type zf1,
          f2 type zf2,
          f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB                       =   .
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    this is my driver program.In my form interface  there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
    Edited by: Julius Bussche on Nov 14, 2008 10:09 AM

    REPORT ZPSMARTFORM1.
    tables: zptable1.
    types: begin of ty_zptable1,
    f1 type zf1,
    f2 type zf2,
    f3 type zf3,
    end of ty_zptable1.
    data: itab type table of ty_zptable1 with header line.
    data: wa type ty_zptable1.
    select f1 f2 f3 from zptable1 into table itab.
    CALL FUNCTION '/1BCDWB/SF00000005'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    ITAB = .
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Plz for this driver program. Give me the exact solution.I am passing the information like itab  like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I  am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

  • Throwing error message for a component

    I have a form in which there are several fields. One of field is LOV for which i do some validation on valuechangeListener. If that validation fails, i send error to the form for that particular field. It is working fine. but after this if user submits the form, it is submitted. In case of validation failed by framewrok, it is not submitted. HOw i can set that component in error state so that form is not submitted. I am using following code to throw error or component:
    FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, "Invalid value");
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(binding.getClientId(context), msg);
    I am using Jdeveloper 11g with latest patch set of ADF i.e. 11.1.3.x

    Hi,
    actually you are not throwing an error but set a message to display to the user. Can't you just create a validation for the input field. The field has a property for you to define a managed bean validation reference. You can generate the method skeleton from JDeveloper.
    Frank

  • WebI report throwing error when migrated from XIR2 to XI3.1

    I have some webi reports built in BO XIR2 on OLAP universes (SAP BW3.5 based). Recently I have migrated the reports from old XIR2 environment to a new XI3.1 environment.
    The specification of new system is as below:
    BO XI3.1
    SAP BW 3.5
    No SP and FP is installed. (Actually when I tried to install the SP2, it failed)
    After the migration, some of my reports are running for 5 minutes and then throwing an error like below:
    A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details. (WIS 10901).
    The same report is working fine in old system.
    Has anyone faced this problem yet?
    Regards

    Hi Jacques,
    The transports are already imported.
    What I can see is if there is a query with only dimension objects and no measure, then that is throwing error in XI3.1. But the same query is running fine in XIR2.
    Any Idea?
    Thanks and Regards

Maybe you are looking for

  • Is there an option or app to enable a "touch indicator"?

    Hi all, I am looking for a way to visualize the touch gestures on my iphone. But I can't find any option or app to enable such a feature. Any help/idea would be greatly appreciated. Thanks.

  • Just upgraded from OS 10.3.9 to 10.4: Safari problems

    I just upgraded from Mac OS 10.3.9 to Tiger 10.4; everything is working fine, except as follows: 1. Software Update does not work. It seems that it tries to connect to the Apple servers (I can see the router and modem lights blinking), but a connecti

  • Ipod won't sync with itunes, ipod won't sync with itunes

    I can't sync my ipod with itunes since I got a new computer with Windows 8.  Any help would be appreciated.

  • SEARCH result

    I have a column in my database that has values like this Row1 : RA1,RA2 Row2 : XA1,XA2 I have a search form that will pass a value and query the table. If the user enters RA1 I need the search to return row 1, it doesnt now When I run the search quer

  • Tools to Auto load bulk data from SAP BW into Essbase?

    Does any one know what is the most efficient way to retrieve a large amount of data from SAP BW into Essbase on a regular basis? We currenly export data from BW into several Excel files, which has the limitation of 64k row in a batch, we then load th