Error in the ABAP code

Hello all,
I am getting error in ABAP code .
The error is:Field "0" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
I have statement as calmonth = sy-datum + 0(6).
Any ideas are always welcome
Thanks,
JB

Thanks every body.
eliminating blanks worked.
AS I am new to ABAP,I have one more error saying
Unable to interpret "IT_YEAR". Possible causes of error: Incorrect spelling or comma error.The error occured at the staement:
<b>read it_year with key /BIC/LESS = calmonth+0(4) binary search.</b>
IT_YEAR is an internal table
data: it_year like /BIC/PZ_JB occurs 0 with header line.
Any ideas!!
JB

Similar Messages

  • Error in the ABAP Code for Customer Exit Variable

    Could you please update me what is the wrong with the below ABAP Code developed for Customer Exit Variable in BW
    i created a Variable (ZVWKNO) of Customer Exit,Single Value ,Mandatory and Variable is ready for input
    In CMOD i had written the below Code:
    When 'ZVWKNO'.
    DATA: WEEK(2) TYPE N,
    WEEKNO(2) TYPE N.
    IF i_step = 1.
    l_st_date = SY-DATUM.
    CALL FUNCTION 'DATE_GET_WEEK'
    EXPORTING
    DATE = l_st_date
    IMPORTING
    WEEK = l_fn_week.
    CHECK sy-subrc = 0.
    WEEK = l_fn_week+4(2).
    If WEEK 0.
    WEEKNO = WEEK - 1.
    l_s_range-low = WEEKNO.
    l_s_range-sign = k_sign_inclusive.
    l_s_range-opt = k_option_equals.
    APPEND l_s_range to e_t_range.
    ENDIF.
    ENDIF.
    But when i execute the query the default value is not populated with Week-1 No in the variable screen
    Please update me what went wrong
    Thanks

    Case ZVWKNO.                "write this with out comments
    When '1'.              "write the value that needs to equal with value in varaible ZVWKNO after when in sungle quotes
    DATA: WEEK(2) TYPE N,
    WEEKNO(2) TYPE N.
    IF i_step = 1.
    l_st_date = SY-DATUM.
    CALL FUNCTION 'DATE_GET_WEEK'
    EXPORTING
    DATE = l_st_date
    IMPORTING
    WEEK = l_fn_week.
    CHECK sy-subrc = 0.
    WEEK = l_fn_week+4(2).
    If WEEK 0.                                    "check this Week Minimum is '01' and Maximum '52'
    WEEKNO = WEEK - 1.
    l_s_range-low = WEEKNO.
    l_s_range-sign = k_sign_inclusive.
    l_s_range-opt = k_option_equals.
    APPEND l_s_range to e_t_range.
    ENDIF.
    ENDIF.
    Prabhudas

  • How find the ABAP code with Error message

    Hi
    How to  find the ABAP Code for Error Message?
    Example:
    Error Message: ZF026.
    Regards
    Odaiah Pelley
    Edited by: Odaiah Pelley on Aug 22, 2008 4:21 AM

    Hi
    Excellent Answer, I appreciate it.
    My question is with Error Message ZF026.
    How to find ABAP Code ?
    If I go for SE91 I will get same message as if I am getting error message.It is no use.
    Regards
    Odaiah Pelleyu

  • Error in the ABAP Application Program

    Dear All
    While Incoming invoice posting ( MIRO). When i put amount in Unpl. Del. Csts field system give following  Error
    Error in the ABAP Application Program
    The current ABAP program "SAPLMRMK" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
        When changing or deleting one or more lines of the internal table
        "\FUNCTION-POOL=MR1M\DATA=YDRSEG[1]-CO" or when inserting in the table
         "\FUNCTION-POOL=MR1M\DATA=YDRSEG[1]-CO", 0 was used as
        the line index. An index less than or equal to zero is not
        allowed.
        The error can occur when using the following options:
        1. "INDEX idx" for specifying the line number in the table
         "\FUNCTION-POOL=MR1M\DATA=YDRSEG[1]-CO"
           where you want to change, insert or delete.
        2. "FROM idx" for specifying the start index when deleting a line
           area from or inserting a line area into the table
         "\FUNCTION-POOL=MR1M\DATA=YDRSEG[1]-CO".
        3. "TO idx" for specifying the end index when deleting a line
           area from or inserting a line area into the table
    Pls help to resolve above issue
    Regards,
    Vipin

    Hi,
    have you checked transaction SM13?
    if so, what information have you got there?
    Best regards.
    Edited by: Pablo Casamayor on Sep 30, 2011 3:33 PM

  • Exact fetch returns more than requested number of rows oracle error ; unable to find where exactly throwing error in the below code.

    hi i am receiving "exact fetch returns more than requested number of rows oracle error". but i am not able to locate the error in the below code. Any help would be appreciated!!!
    CREATE OR REPLACE PROCEDURE load_scene_collection_item (
    --pdname                                  VARCHAR2,
    -- LOCATION TO ADD/CHANGE below!!!
    pITEM_TYPE_ID                      INTEGER,
    pSCENE_COLLECTION_ID        INTEGER,
    pCOLLECTION_ITEM_NAME     VARCHAR2,
    pCOLLECTION_ITEM_DESC      VARCHAR2,
    pDEFAULT_COORD_X      NUMBER,
    pDEFAULT_COORD_Y      NUMBER,
    pDEFAULT_COORD_Z      NUMBER,
    pDEFAULT_WIDTH            NUMBER,
    pDEFAULT_HEIGHT            NUMBER,
    pDEFAULT_ROTATION      INTEGER,
    pDEFAULT_ALPHA            INTEGER,
    pfname                                 VARCHAR2)    IS
    src_file BFILE;
    dst_file BLOB;
    lgh_file BINARY_INTEGER;
    BEGIN
    src_file := bfilename('BUSINESSBLOBSIMAGES', pfname);
    -- insert a NULL record to lock
    Insert into SCENE_COLLECTION_ITEM
       ( ITEM_TYPE_ID,
       SCENE_COLLECTION_ID,
       COLLECTION_ITEM_NAME,
       COLLECTION_ITEM_DESC,
        COLLECTION_ITEM_IMAGE,
       DEFAULT_COORD_X,
       DEFAULT_COORD_Y,
       DEFAULT_COORD_Z,
       DEFAULT_WIDTH,
       DEFAULT_HEIGHT,
       DEFAULT_ROTATION,
       DEFAULT_ALPHA,
        CREATE_USER,
        CREATE_DATE)
    Values    ( pITEM_TYPE_ID, pSCENE_COLLECTION_ID, pCOLLECTION_ITEM_NAME, pCOLLECTION_ITEM_DESC, EMPTY_BLOB(),   
       pDEFAULT_COORD_X,
       pDEFAULT_COORD_Y,
       pDEFAULT_COORD_Z,
       pDEFAULT_WIDTH,
       pDEFAULT_HEIGHT,
       pDEFAULT_ROTATION,
       pDEFAULT_ALPHA,  
    sys_context('USERENV', 'OS_USER'), 
    sys_extract_utc(systimestamp))
    RETURNING COLLECTION_ITEM_IMAGE INTO dst_file;
    -- LOCATIONs(2) TO ADD/CHANGE above!!!
    -- lock record
    SELECT COLLECTION_ITEM_IMAGE
    INTO dst_file
    FROM SCENE_COLLECTION_ITEM
    WHERE ITEM_TYPE_ID     = pITEM_TYPE_ID
    AND SCENE_COLLECTION_ID = pSCENE_COLLECTION_ID
    AND COLLECTION_ITEM_NAME= pCOLLECTION_ITEM_NAME
    AND COLLECTION_ITEM_DESC= pCOLLECTION_ITEM_DESC
    AND    pDEFAULT_COORD_X = DEFAULT_COORD_X
    AND   pDEFAULT_COORD_Y  = DEFAULT_COORD_Y
    AND   pDEFAULT_COORD_Z  = DEFAULT_COORD_Z
    AND   pDEFAULT_WIDTH    = DEFAULT_WIDTH
    AND   pDEFAULT_HEIGHT   = DEFAULT_HEIGHT
    AND   pDEFAULT_ROTATION = DEFAULT_ROTATION
    AND   pDEFAULT_ALPHA    = DEFAULT_ALPHA
    FOR UPDATE;
    -- LOCATION TO ADD/CHANGE above!!!
    -- open the file
    dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
    -- determine length
    lgh_file := dbms_lob.getlength(src_file);
    -- read the file
    dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
    -- update the blob field
    UPDATE SCENE_COLLECTION_ITEM
    SET COLLECTION_ITEM_IMAGE = dst_file
    WHERE ITEM_TYPE_ID     = pITEM_TYPE_ID
    AND SCENE_COLLECTION_ID = pSCENE_COLLECTION_ID
    AND COLLECTION_ITEM_NAME= pCOLLECTION_ITEM_NAME
    AND COLLECTION_ITEM_DESC= pCOLLECTION_ITEM_DESC
    AND    pDEFAULT_COORD_X = DEFAULT_COORD_X
    AND   pDEFAULT_COORD_Y  = DEFAULT_COORD_Y
    AND   pDEFAULT_COORD_Z  = DEFAULT_COORD_Z
    AND   pDEFAULT_WIDTH    = DEFAULT_WIDTH
    AND   pDEFAULT_HEIGHT   = DEFAULT_HEIGHT
    AND   pDEFAULT_ROTATION = DEFAULT_ROTATION
    AND   pDEFAULT_ALPHA    = DEFAULT_ALPHA
    -- LOCATION TO ADD/CHANGE above!!!
    -- close file
    dbms_lob.fileclose(src_file);
    END load_scene_collection_item;
    Thanks in advance!!!!

    Hi PaulHorth,
    Thanks for the quick reply.
    Actually, i am getting  error while updating the records.
    below is the error message:
    Error starting at line 1 in command:
    exec load_scene_collection_item(3,15,'2 Lane 4way Stop','4 Way Stop Intersection with 2 lanes in each direction',0,0,0,400,517,0,1,'2 Lane 4way Stop.PNG');
    Error report:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "DP_OWNER.LOAD_SCENE_COLLECTION_ITEM", line 55
    ORA-06512: at line 1
    01422. 00000 - "exact fetch returns more than requested number of rows"
    *Cause:    The number specified in exact fetch is less than the rows returned.
    *Action:   Rewrite the query or change number of rows requested

  • How to see the abap code in sql language.

    hello gurus,
      very simply put,i dont know sql,but have to write some basic select queries to talk to oracle db...
    i would like to see the SQL transaltion of the ABAP code which i cant write.
    for eg: SELECT SINGLE * FROM MARA WHERE MATNR = 'XXXX'.
    How wud u write this on ORACLE.
    i would also like to see for all entries etc...
    NOW,i have tries st05..it doesnt give meaningful sql..
    pls help

    hai
    i wrote this in se38
    report zdsd.
    data wmatnr type mara.
    select single * from mara into wmatnr where matnr = '0001'.
    write wmatnr.
    _from st05_
           41 PROGDIR    REOPEN      0      0 SELECT WHERE "NAME" = 'ZTEST123' AND "STATE" = 'A'
        1,182 PROGDIR    FETCH       1      0
            4 DWINACTIV  REOPEN      0      0 SELECT WHERE "OBJECT" = 'REPS' AND "OBJ_NAME" = 'ZTEST123'
          592 DWINACTIV  FETCH       0   1403
            8 MARA       REOPEN      0      0 SELECT WHERE "MANDT" = '001' AND "MATNR" = '0001'
        9,388 MARA       FETCH       1      0
    i would like
    select matnr
    into :vi_matnr
    from PPS_SUB_BDZ.lm1_lagerpl
    where matnr = '0001'
    basicaly i need to work on new database (NON SAP) by making connections..
    i write the code in FM's in ABAP.
    I write Select queries between EXEC SQL. and
    ENDEXEC.
    I have to use SELECT SINGLE...FOR ALL ENTRIES ...counterparts now...

  • How to see the ABAP Code behind SAP Exit Variables.

    Hi Everyone.
    I was wondering if anyone could help me with the steps to see the ABAP Code behind a SAP Exit Variable.
    Sometime back I remember of going to Transaction SE37 - Function Module and give the Variable name,
    Eg: 0F_ADAY, Hit F4 or something like that and was able to see the ABAP Code/Function Module/Exit written for that Variable.same
    But today I tried to do the same thing to see the code for Variable 0P_FVAEX but I was NOT able to see it.
    I think I am missing something.
    Can someone help me recollect what I am missing.
    Thank You for your time
    NOVICE

    Hi bi novice,
    big sorry for the late reply!
    The following variables are defined in function module RREX_VARIABLE_EXIT as case statement:
    '0CMONTH', '0CWEEK', '0CYEAR', '0CQUART', '0DAT', '0CWD', '0FYEAR', '0FPER', '0FYTCFP',
    '0FYTLFP', '0FYTCD', '0CYTCM', '0CYTLM', '0CYTCD', '0LYTCLD', '0CMONTHT', '0CWEEKT', '0CYEART', '0CQUARTT', '0DATT', '0FYEART', '0FPERT'
    Best regards,
    Andreas

  • Not able to remove the ABAP code from Transformation

    Hello Experts,
    We have transformation for DSO in that for one infoobject, field routine is written, Break Point is hard coded there and it's move to production. Now we are trying to remove that break point from development and then move it production.
    we are doing following activity to remove the break point.
    1. Open the transformation.
    2. Open the field routine.
    3. Going to ABAP code in field  routine.
    4. Remove the hard coded Break Point from ABAP code.
    5. Saving the code.
    6. It's taking to again filed routine window.
    7. We close the window and activate the transformation.
    8. When again check the ABAP code in field routine then it shows hard coded Break Point again.
    9. Not able to remove the hard coded break point.
    Can anyone know how to do this.
    Help will be appreciated.
    Thanks

    Hi,
    As pointed above, after point 6 don't simply close the window but click on Transfer Value and then activate your transformation. Refresh the system and check again.
    Regards,
    Arminder

  • How to establish code standards to make the abap code more readability

    Every programmer have their habit to code, but this lead a problem , it is difficult to read other people's code, especially the complex logic.
    So how to establish code standards to make the abap code more readability?
    I came up with this:
    1.Unify the naming rule.
    2.Reduce the nest of 'if' statement. (better in less than 4 if statement in one block )
    3.Use more Perform to replace the big code block.
    Is there any other standards to make our abap code more readability ?  (if we establish the standards, in sap is there any tool to help us to follow the rule we set ?)

    There are a number of things you could do. Some of which are:
    I would recommend creating your own in-house document on Coding standards, some of which you can control with the code inspector.
    It is also possible to set up the transport request in such a way that objects that do not pass the SCI test are not allowed to be released.
    I would also assign a senior developer to act as quality control for all developments. You can have a rotation scenario where this work can be divided by the number of senior developers you have.

  • Error out the ABAP program execution

    I have an ABAP program which transfers data from a file to a database table thru function module in packages of 50,000 records.
    Upon the successful completion of this ABAP program, I start dependent processes.
    Sometimes the function module does not transfer the data and returns the exception back to the ABAP program - which is an expected scenario. Currently when ever an exception is received in the function module, I stop the ABAP program with a STOP statement.
    The ABAP program stops, which meets my first objective. But what happens is, if you look at the job log --> it is Completed in terms of program execution and the dependent processes automatically start - which is not meeting my second objective.
    My second objective is to force the ABAP program to error out in such a way that .........
    1) The program execution is stopped
    2) If I look at the job log it should not be Completed (I am looking for something like Cancelled so that the dependent process do not get started automatically)
    Is it possible to error out the ABAP program execution by raising an exception or something, so that when i look at the job log - it shows Cancelled and not Completed?
    Let me know if you have any questions.
    Thanks,
    RK.

    Adrian,
    Thanks - This is exactly what I was looking for, it works.
    For some reason Messages skipped my mind and I was looking at raising Exceptions
    Solution:
    if sy-subrc NE 0.
      message id 'abc' type 'E' number 000.
    endif.
    Thanks,
    RK.
    Edited by: RK on Jan 17, 2010 7:47 PM
    Edited by: RK on Jan 17, 2010 7:50 PM
    Edited by: RK on Jan 17, 2010 7:52 PM

  • How to write the ABAP code for Datasource Enhancment

    Hi Team,
                  Can you please help me how to write the code for the enhancement i have made to the standard datasource
    i have added the fields ZZPayer and ZZPayer_access.
    I just wanted to know how to write the ABAP code to populate the data for these fields.
    Regards,
    Pradeep P.

    Hi
    From a performance point of view would like to suggest a few changes :
    WHEN '<DS name>'.
      select zzfields from <table> into itab
      for all entries in c_t_data where <condition>.
      If sy_subrc = 0.
    loop at c_t_data assiging f_c_t_data.
    read itab into wa_itab where key = f_c_t_data-key.
    f_c_t_data-zzfield = wa-itab-zzfield.
    endloop.
    refresh itab.
    regards,
    aparna
    endif.

  • SC ERROR : Enter the company code

    Hi,
    I am using ECC6 and SRM 7, Ext. Classic
    At the time of creation Shopping Cart with FREE TEXT an error comes that is Enter the company code .
    With Product ID all process runs fine.
    And in ECC6.0 all process runs fine.
    Please help me
    Sumit

    Hi Sumit ,
    ERROR : Enter the company code
    u2022     Go to PPOMA_BBP and look for Company which user in question is assigned;
    u2022     Check the "Function" tab and see the logical systems maintained there. You can have more than one;
    u2022     Now, check the affected user and go to "Extended Attributes" tab. Here, ensure that logical systems maintained in "Product Category" attribute are the same ones assigned to the company code (step 2).
    If this is correctly maintained, check the following steps:
    u2022     Go to SPRO transaction -> SAP Supplier Relationship Management -> SRM Server -> Technical Basic Settings -> Define Backend System for Product Category;
    u2022      you have to maintain entries for Product Category, Source System and Target System.
    Source and Target Systems should be maintained as local SRM system only if you have local scenario. If you have Classic or Extended Classic Scenarios, you have to maintain the ECC system ID in both fields (Source and Target).
    Logical system maintained in "Define Backend System for Product Category" should be the same as defined in Company Function tab in PPOMA_BBP.
    Thanks & Regards
    Pradeep Kumar Dondeti

  • Unknown error in the prescript code( Extension Collection)

    Hello Export ,
    Kindly need help to solve the below error which is coming in the below code(part of the prescript code is given below)
    import com.frictionless.api.common.exception.*;
    import com.frictionless.api.common.log.Logger;
    import com.frictionless.api.common.platform.*;
    import com.frictionless.api.common.types.*;
    import com.frictionless.api.doc.collaboration.*;
    import com.frictionless.api.doccommon.masterdata.*;
    import com.frictionless.api.ibean.*;
    import com.frictionless.api.ibean.metadata.*;
    import com.frictionless.api.util.*;
    import com.frictionless.api.workflow.*;
    import com.frictionless.api.doccommon.userdefined.*;
    import java.lang.String;
    import com.frictionless.api.usermgmt.masterdata.*;
    import com.frictionless.api.contracts.*;
    import java.math.BigDecimal;
    import com.frictionless.api.doccommon.masterdata.analysis.spend.*;
    import com.frictionless.api.ibean.common.*;
    log = Logger.createLogMessage(session);
    // Convenience method - Errors
    logError(msg) {
         log.setLogMessage(msg);
         Logger.error(log);
    // Convenience method - Informational
    logInfo(msg) {
         log.setLogMessage(msg);
         Logger.info(log);
    /* * Get the user who submits the workflow */
    getSubmitter() {
         processHome =     IBeanHomeLocator.lookup(session,WorkflowProcessIBeanHomeIfc.sHOME_NAME);
         process = processHome.findByNativeId(nativeId);
         return process.getCreator();
    //try {
         logInfo("Start of workflow");
         logInfo("Start of" + nativeName);
         submitter = getSubmitter();
         logInfo("submitter" + submitter);
         PriceIfc estimatedValue = doc.getExtensionField("CR_ESTIMATED").get();
         contractValue = estimatedValue.getPrice();
         logInfo("contractValue:" + contractValue);
         customMD1Home =     IBeanHomeLocator.lookup(session, SACustomMD1IBeanHomeIfc.sHOME_NAME);
         // Find by Unique Document Identifier
         customMD1 = customMD1Home.findUnique("TEST WF Approval Requirements");
         logInfo("customMD1:"+customMD1);
         logInfo("customMD1.getDisplayName():"+customMD1.getDisplayName());
         ExtensionCollectionIfc  table3Colln = customMD1.getExtensionCollection("Table3");
         logInfo(" table3Colln:"+table3Colln);
         // Go through the metadata and look for a match
         for(int i=0;i<table3Colln.size();i++)
         table3Member = table3Colln.get(i);
              logInfo("table3Member:"+table3Member);
              contractLevel = table3Member.get("LVL");
              if (contractLevel.startsWith("R")); {
                   logInfo("contractLevel:"+contractLevel);
                   BigDecimal min = new BigDecimal(table3Member.get("MIN"));
                        BigDecimal max = new BigDecimal(table3Member.get("MAX"));
                        if (contractValue.compareTo(min) >= 0 @and contractValue.compareTo(max) <= -1) {
                        contractRLevel = contractLevel; }
    TRACE:
    table3Member:-2147483548:525:null
    inline evaluation of: ``import com.frictionless.api.common.exception.*;  import com.frictionless.api.com . . . '' unknown error: 1 : at Line: 59 : in file: inline evaluation of: ``import com.frictionless.api.common.exception.*;  import com.frictionless.api.com . . . '' : for ( int i = 0 ;
    I have also tried with the Iterator to get the collection's member but still it is giving the same error as above.One point that I have observed that for the below code
    logInfo(" table3Colln:"+table3Colln);
    Iterator table3Iter = table3Colln.iterator();
    logInfo("table3Iterator:"+table3Iter);
    the trace is
    table3Colln:[email protected]
    table3Iterator:com.frictionless.api.ibean.common.AbsCollection$BeanIterator@254c0e4d
    so instead of ExtensionCollectionIfc, the collection is of type AbsExtensionCollection.
    your help is very much appreciated.
    Kind Regards,
    Kubra.

    Thanks every body.
    eliminating blanks worked.
    AS I am new to ABAP,I have one more error saying
    Unable to interpret "IT_YEAR". Possible causes of error: Incorrect spelling or comma error.The error occured at the staement:
    <b>read it_year with key /BIC/LESS = calmonth+0(4) binary search.</b>
    IT_YEAR is an internal table
    data: it_year like /BIC/PZ_JB occurs 0 with header line.
    Any ideas!!
    JB

  • Error with the T-Code HREIC

    Hi All,
    We are implementing EIC and when I am accessing this T-Code.I am getting this error
    The error occurred on the application server XYZ(Our Server name) and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was: Method: IF_HTTP_CLIENTSEND of program CL_HTTP_CLIENT================CP Method: CREATE_SESSION of program CL_SAM_BSP_SESSION_LAUNCHER===CP Method: START_WORKER_SESSION of program CL_ICWC_SESSION_REGISTRY======CP Method: ONCREATE of program CLO23UTXK1DHIM8WX0QZD2TBW2KZ9CP Method: %_ONCREATE of program CL_O23UTXK1DHIM8WX0QZD2TBW2KZ9CP Method: DO_INIT of program CL_BSP_PAGE===================CP Method: GET_PAGE_CONTEXT_CURRENT of program CL_BSP_CONTEXT================CP Method: ON_REQUEST_ENTER of program CL_BSP_RUNTIME================CP Method: ON_REQUEST of program CL_BSP_RUNTIME================CP Method: IF_HTTP_EXTENSIONHANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
    Kindly request your help on the same.
    Thanks
    Swati

    Hi Swati,
    It seems this error would come if there is some configuration issues. The detailed explanation and the same error is given in this thread:
    CREATE_SESSION of programCL_SAM_BSP_SESSION_LAUNCHER "COMMUNICATION ERROR".
    If this doesnot solve your issue then please try to post in this forums for faster response. As mark mentioned this is the wrong forum for this issue.
    Business Server Pages (BSP)
    Regards,
    ---Satish

  • Error in the following code

    Hi
    If anyone can let me know why there is a problem with the following code. I get the following errors:
    ')' or ',' expected

    Sorry I did add in but it did not post....Anyway code below the erroe line are in bold. Line: 22,23 & 24.
    function scaleMovieClip(movieclip, seconds, startAtX, endAtX, startAtY, endAtY, trans)
        new mx.transitions.Tween(movieclip, "_yscale", trans, startAtY, endAtY, seconds, true);
        var _loc2 = new mx.transitions.Tween(movieclip, "_xscale", trans, startAtX, endAtX, seconds, true);
    } // End of the function
    function setPage()
        btnN = ["b" + prod];
        page = btnN;
        pageT.text = page;
        ptest.text = mypage;
        var mcTween = new mx.transitions.Tween(main, "_alpha", mx.transitions.easing.Strong.easeOut, 100, 0, 1.000000E-001, true);
        mcTween.onMotionFinished = function (ev)
            main.gotoAndStop(page);
            var _loc1 = new mx.transitions.Tween(main, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, 3, true);
        for (i = 0; i < prodArray.length; i++)
            bNum = i + 1;
           eval("["b" + bNum]")._xscale = 100;
            eval("["b" + bNum]")._yscale = 100;
            eval("["b" + bNum]").enabled = true;
        } // end of for
        eval("[page]").swapDepths(_root.getNextHighestDepth());
        quote1.removeMovieClip();
        eval("[page]").enabled = false;
        eval("[page]")._xscale = 120;
        eval("[page]")._yscale = 120;
    } // End of the function
    stop();
    prodArray = new Array("CFL Change-Over", "Showerheads", "Insulation", "Solar PV", "Solar Hot Water", "Tank to Toilet", "Heat Pumps", "Misc Hot Water");
    b1.onRollOver = b2.onRollOver = b3.onRollOver = b4.onRollOver = b5.onRollOver = b6.onRollOver = b7.onRollOver = b8.onRollOver = function ()
        scaleMovieClip(this, 1, 100, 120, 100, 120, mx.transitions.easing.Strong.easeOut);
        attachMovie("quote", "quote1", _root.getNextHighestDepth());
        quote1._x = -300;
        quote1._x = _xmouse + 10;
        quote1._y = _ymouse + 35;
        trace (_xmouse);
        if (_xmouse <= 130)
            quote1.gotoAndStop(2);
            quote1._x = _xmouse;
            quote1._y = _ymouse + 35;
        } // end if
        if (_xmouse >= 790)
            quote1.gotoAndStop(3);
            quote1._x = _xmouse + 10;
            quote1._y = _ymouse + 35;
        } // end if
        quote1.startDrag(lockcenter);
        btnN = this._name;
        item = btnN.substr(btnN.length - 1, btnN.length) - 1;
        myMsg = prodArray[item];
        quote1.msg = myMsg;
    b1.onRollOut = b2.onRollOut = b3.onRollOut = b4.onRollOut = b5.onRollOut = b6.onRollOut = b7.onRollOut = b8.onRollOut = function ()
        scaleMovieClip(this, 1, 120, 100, 120, 100, mx.transitions.easing.Strong.easeOut);
        quote1.removeMovieClip();
    b1.onRelease = b2.onRelease = b3.onRelease = b4.onRelease = b5.onRelease = b6.onRelease = b7.onRelease = b8.onRelease = function ()
        btnN = this._name;
        item = btnN.substr(btnN.length - 1, btnN.length) - 1;
        page = btnN;
        var mcTween = new mx.transitions.Tween(main, "_alpha", mx.transitions.easing.Strong.easeOut, 100, 0, 1.000000E-001, true);
        mcTween.onMotionFinished = function (ev)
            main.gotoAndStop(page);
            var _loc1 = new mx.transitions.Tween(main, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, 3, true);
        for (i = 0; i < prodArray.length; i++)
            bNum = i + 1;
            eval("["b" + bNum]")._xscale = 100;
            eval("["b" + bNum]")._yscale = 100;
            eval("["b" + bNum]").enabled = true;
        } // end of for
        this.swapDepths(_root.getNextHighestDepth());
        quote1.removeMovieClip();
        this.enabled = false;
        this._xscale = 120;
        this._yscale = 120;
    if (prod != "" || prod != null)
        prodTxt.text = prod;
        setPage();
    } // end if

Maybe you are looking for

  • Email Voicemail issue

    whenever i try to open a voicemail (wav) file that i get through my work email as an attachment, the application loads and the voicemail name starts scrolling on the screen but the file never plays. It shows the length of the voicemail but when you p

  • Dbms authentication in OBIEE 11.1.1.7.1

    Hi all, I have a problem with configuring dbms authentication in obiee 11.1.1.7.1. I followed the document below, and made all the steps. Using Alternative Authentication Providers - 11g Release 1 (11.1.1) Now, my problem is none of my dbms users can

  • CREATION OF CUSTOM TABLES

    hi I AM TRYING TO CREATE A CUSTOM IN ABAP I followed the following procedure SE11 SPCIFIED THE CUSTOM TABLE NAME CLICKED ON CREATE BUTTON THEN SPECIFIED SHORT DESCRIPTION For Delivery Class I specified as C For DataBrowser and Table variant I specifi

  • Hard drives in dual dock keep ejecting

    I had 2 spare 3.5" 2TB internal drives, new, so I bought a dual dock/enclosure to put them in to connect it to my Mac Mini for an easy 4TB of storage. I bought this one, as it claimed to be Mac compatible: http://www.amazon.co.uk/dp/B00D1NR9MA/ All s

  • Running 10.5.8 on Intel Core Duo, Snow Leopard disc (purchased from Apple) won't work

    I am running 10.5.8 on my iMac and want to upgrade to Lion. Was told to upgrade to Snow Leopard first. Purchased the Snow Leopard install DVD from Apple, but it begins the installation process then says CD is dirty. Hooked up an external DVD drive an