Function parameter

Hi
I write a function who accept a record as parameter.
a nested table is defined in the record.
I initialize this record under forms 6.
when a call a function in a package with the record as parameter
it doesn't work.
I can't find why.
Could someone help me please
Thanks

Forms 6 runs an older version of PL/SQL, so it may not be able to handle your unique record structure.
Move to Forms 10 if you want to use all the latest database features.

Similar Messages

  • Error while calling FM : Function parameter "PE_LFA1" is unknown

    Dear Experts,
    I am trying to call a FM in my code, but somehow I am getting the following error .Please help !
    My code is :
    DATA :  VENDOR_NO TYPE WSRS_SHVDST_RES-VENDOR_NO,
            PE_LFA2 TYPE LFA1,
            PE_ADDR2 TYPE BAPIADDR1,
            PE_ADRPRT2 TYPE WISO_ADRPRT,
            PE_RETURN2 TYPE WSRS_RETURN,
            PE_LFM2 TYPE LFM1,
            PE_LFB2 TYPE LFB1.
      DATA:
        node_vendor                         TYPE REF TO if_wd_context_node,
        elem_vendor                         TYPE REF TO if_wd_context_element,
        stru_vendor                         TYPE if_vendor_view=>element_vendor ,
        item_vendorinp                      LIKE stru_vendor-vendorinp.
    navigate from <CONTEXT> to <VENDOR> via lead selection
      node_vendor = wd_context->get_child_node( name = if_vendor_view=>wdctx_vendor ).
    get element via lead selection
      elem_vendor = node_vendor->get_element(  ).
    get single attribute
      elem_vendor->get_attribute(
        EXPORTING
          name =  `VENDORINP`
        IMPORTING
          value = item_vendorinp ).
    VENDOR_NO = item_vendorinp.
    CALL FUNCTION 'WSRS_O_VENDOR_GET_DETAIL'
    EXPORTING
    PE_LFA1 = PE_LFA2
    PE_ADDR1 = PE_ADDR2
    PE_ADRPRT = PE_ADRPRT2
    PE_RETURN =PE_RETURN2
    PE_LFM1 = PE_LFM2
    PE_LFB1 = PE_LFB2
    IMPORTING
    PI_VENDOR_NO = VENDOR_NO.
    My Error is :
    Note
    The following error text was processed in the system HE6 : Function parameter "PE_LFA1" is unknown.
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 5 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: ONACTIONFETCH_VENDOR_DETAILS of program /1BCWDY/A8XPPCRFM5I0CTSGLFDT==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/A8XPPCRFM5I0CTSGLFDT==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Please help.

    Hi,
    I will ask this way, from where did you get list of parameters for this FM? Try using pattern to call this FM, than you will be proposed with correct interface.
    EDIT:
    After checking it in system you should switch IMPORTING and EXPORTING
    CALL FUNCTION 'WSRS_O_VENDOR_GET_DETAIL'
      EXPORTING
        PI_VENDOR_NO             = '99'
    *   PI_ACCEPT_NOTFOUND       =
    *   PI_PURCH_ORG             =
    *   PI_COMP_CODE             =
    IMPORTING
       PE_LFA1                  = lv
    *   PE_ADDR1                 =
    *   PE_ADRPRT                =
    *   PE_RETURN                =
    *   PE_LFM1                  =
    *   PE_LFB1                  =
    Best regards
    Marcin Cholewczuk
    Edited by: Marcin Cholewczuk on Apr 12, 2011 1:20 PM

  • Can I pass a table function parameter like this?

    This works. Notice I am passing the required table function parameter using the declared variable.
    DECLARE @Date DATE = '2014-02-21'
    SELECT
    h.*, i.SomeColumn
    FROM SomeTable h
    LEFT OUTER JOIN SomeTableFunction(@Date) I ON i.ID = h.ID
    WHERE h.SomeDate = @Date
    But I guess you can't do this?... because I'm getting an error saying h.SomeDate cannot be bound. Notice in this one, I am attempting to pass in the table function parameter from the SomeTable it is joined to by ID.
    DECLARE @Date DATE = '2014-02-21'
    SELECT
    h.*, i.SomeColumn
    FROM SomeTable h
    LEFT OUTER JOIN SomeTableFunction(h.SomeDate) I ON i.ID = h.ID
    WHERE h.SomeDate = @Date

    Hi
    NO you cant pass a table function parameter like this?
    As When you declare @date assign value to it and pass as a parameter it will return table which you can use for join as you did it in first code 
    But when you pass date from some other table for generating table from your funtion it doesnt have date as it is not available there
    Ref :
    http://www.codeproject.com/Articles/167399/Using-Table-Valued-Functions-in-SQL-Server
    http://technet.microsoft.com/en-us/library/aa214485(v=sql.80).aspx
    http://msdn.microsoft.com/en-us/library/ms186755.aspx
    https://www.simple-talk.com/sql/t-sql-programming/sql-server-functions-the-basics/
    http://www.sqlteam.com/article/intro-to-user-defined-functions-updated
    Mark
    as answer if you find it useful
    Shridhar J Joshi Thanks a lot

  • How to pass "EnterpriseManagementObject" Type as Function parameter?

    Hello, dear Colleagues.
    I'm trying to  pass "EnterpriseManagementObject" as Function parameter.
    Here is the piece of code:
    $SCSM = 'SERVER_NAME'
    function Add-Comment {
    param (
    [parameter(Mandatory=$true,Position=0)][Alias('Id')][String]$pSRId,
    [parameter(Mandatory=$true,Position=1)][Alias('Comment')][String]$pComment,
    [parameter(Mandatory=$true,Position=2)][Alias('EnteredBy')][String]$pEnteredBy,
    [parameter(Mandatory=$true,Position=3)][Alias('IsAnalyst')][Bool]$AnalystComment,
    [parameter(Mandatory=$true,Position=4)][Alias('IRObject')][EnterpriseManagementObject]$IRObject
    if ($IRObject) {
    $NewGUID = ([guid]::NewGuid()).ToString()
    if ($AnalystComment)
    $Projection = @{__CLASS = "System.WorkItem.Incident";
    __SEED = $IRObject;
    AnalystComments = @{__CLASS = "System.WorkItem.TroubleTicket.AnalystCommentLog";
    __OBJECT = @{"Id" = $NewGUID;
    Comment = $pComment;
    DisplayName = $NewGUID;
    EnteredBy = $pEnteredBy;
    EnteredDate = (Get-Date).ToUniversalTime();
    IsPrivate = $false
    New-SCSMObjectProjection -Type System.WorkItem.IncidentPortalProjection -Projection $Projection -ComputerName $SCSM -ErrorAction stop
    } else {
    Write-Host $pSRId "could not be found"
    $IncidentClass = Get-SCSMClass -name System.WorkItem.Incident$ -ComputerName $SCSM
    $Incident = Get-SCSMObject -Class $IncidentClass -Filter "name -eq $c" -ComputerName $SCSM
    Add-Comment -Id $c -Comment $text -EnteredBy $name -IsAnalyst $False -IRObject $Incident -ErrorAction stop
    With GetType() I watched $Incident is "EnterpriseManagementObject":
    IsPublic IsSerial Name BaseType
    True True EnterpriseManagementObject Microsoft.EnterpriseManagement.Common.EnterpriseManagementObjectBaseWithProperties
    But PS script returns error TypeNotFound:
    Add-Comment : Unable to find type [EnterpriseManagementObject]. Make sure that the assembly that contains this type is loaded.
    At C:\script.ps1:146 char:13
    + Add-Comment -Id $c -Comment $text -EnteredBy $name -IsAnalyst $True ...
    + ~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (EnterpriseManagementObject:TypeName) [], RuntimeException
    + FullyQualifiedErrorId : TypeNotFound
    Is there a way to  pass "EnterpriseManagementObject" as Function parameter?
    Thanks.

    First of all the error indicates that you haven't loaded the assembly which contains the class you're trying to load.
    Try loading the assembly by running:
    [Reflection.Assembly]::LoadWithPartialName("Microsoft.EnterpriseManagement.Core") | Out-Null
    Secondly if you want to use type based parameters restrictions you should use full type name, which can be found with the command:
    $SomeObject.GetType().FullName
    You should end up with: Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject

  • TABLE VALUED FUNCTION - PARAMETER NOT WORK

    This is the code i have written
    CREATE FUNCTION GETSQL_GL5203(@FORPERIOD AS CHAR)
    RETURNS TABLE
    AS
    RETURN 
    SELECT-- TOP 1000
     --[GLBranch]
         -- ,[accountno]
     glbranch+ '-'+ accountno AS EMBACC
          ,[PERIOD]
          ,[TOTALBAL]
      FROM [EmbraceData].[dbo].[GLbybranchPERIODBAL  ]
      WHERE LEFT(GLBRANCH,2) <> 'TC'
      AND SUBSTRING (GLBRANCH,3,2) <> '00'
      AND [PERIOD] <> @FORPERIOD --'2015-03' 
    --  ORDER BY GLBRANCH
     -- ,ACCOUNTNO--
      --,[PERIOD]
      GO
    when i call the function  as below it is giving me all the information and ignoring the period selection.   When i am running just the body of the query using '2015-03' as the value on the period it is working fine.
      SELECT * FROM GETSQL_GL5203 ('2015-03') AS LIVE

    You need to provide the size for your function parameter
    Try the below:
    CREATE FUNCTION GETSQL_GL5203(@FORPERIOD AS
    CHAR(20))
    RETURNS TABLE
    AS
    RETURN 
    SELECT-- TOP 1000
     --[GLBranch]
         -- ,[accountno]
     glbranch+ '-'+ accountno AS EMBACC
          ,[PERIOD]
          ,[TOTALBAL]
      FROM [EmbraceData].[dbo].[GLbybranchPERIODBAL  ]
      WHERE LEFT(GLBRANCH,2) <> 'TC'
      AND SUBSTRING (GLBRANCH,3,2) <> '00'
      AND [PERIOD] <> @FORPERIOD --'2015-03' 
    --  ORDER BY GLBRANCH
     -- ,ACCOUNTNO--
      --,[PERIOD]
      GO

  • ERM / composite role gener. / Function parameter "Authority_check" unknown

    Dear All GRC AC Women and Men,
    I have a problem to generate a composite role with sap grc ac erm. My GRC version is a 5.3 sp5
    For single roles, it s ok.
    For composite roles, I to a first generation in GRC AC ERM . The error  message is: "Function parameter "AUTHORITY_CHECK" is unknown."
    The role is generated in the back-end and the status in GRC AC ERM is "in progress" (Yellow colour).
    I do a second generation in GRC AC ERM, and the status is "done" (green colour); the role is generated one more time in the back-end.
    The message error in ERM logs is:
    "2010-03-18 15:48:48,393 [Thread-140] ERROR com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Function parameter "AUTHORITY_CHECK" is unknown.
    java.lang.Throwable: Function parameter "AUTHORITY_CHECK" is unknown.
         at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)
         at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1514)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3980)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3417)
         at com.virsa.re.service.sap.dao.GenerateRoleDAO.generateRole(GenerateRoleDAO.java:564)
         at com.virsa.re.bo.impl.GenerateRoleBO.generateRoleAsBackGroundOnMultipleSystems(GenerateRoleBO.java:484)
         at com.virsa.re.backgroundjobs.RiskAnalysisAndRoleGeneration.execute(RiskAnalysisAndRoleGeneration.java:238)
         at com.virsa.service.backgroundjobs.BackgroundTask.run(BackgroundTask.java:53)
         at java.util.TimerThread.mainLoop(Timer.java:432)
         at java.util.TimerThread.run(Timer.java:382)"
    Do you know the origine of this problem? I am "quite" sure that it is not a back-end problem like authorisations missing for the user rfc (used in Jco).
    Best Regards,
    Ronan.

    Hi Ronan,
    This is an issue identified and resolved in SP07.
    Please refere to Note # 1290039 if you don't want to upgrade to SP07.
    Best Regards,
    Sirish Gullapalli.

  • Pass rowtype as function parameter, as a Object like type. How?

    Hi.
    I have the following question.
    I have 3 tables:
    TAB1
    TAB2
    TAB3
    I declare 3 rowtypes variables, one for each table:
    v_tab1 TAB1%ROWTYPE;
    v_tab2 TAB2%ROWTYPE;
    v_tab3 TAB3%ROWTYPE;
    I want to pass a rowtype as a function parameter, but i want the function to allow any rowtype to be passed as parameter, and then inside the function convert that "object" to the correct rowtype.
    Is that possible?
    In another language like C# for example, i would pass the rowtype as a object type, and then cast it to the correct data type.
    I hope you can help me.
    Cheers.

    To do this they would have to be object types, and have a common supertype.Alternatively unrelated object types could be abstracted away with ANYDATA.
    There is no such functionality exposed / documented for records - although the signatures of several built-in packages suggest that a mechanism for passing ADTs as formal parameters does actually exist.

  • Pass TestStand error type directly into function parameter

    Hi,
    I am using TestStand 4 and Labwindows CVI 8.5.
    I wonder if it is possible to pass Standard Step error type into CVI function parameters.
    I think it would be more simple to pass one parameter instead of passing Error code, Error occurred state and Error message into function prototype.
    I tried to use tsErrorDataType struct defined into tsutil.h into my function prototype.
    In TestStand, I pass Step error type into function parameter but it does not work.
    TestStand displays an error meaning parameters does not match function prototype.
    Thank you for your help.

    Hi Tartempion,
    In order to pass the TestStand Error Container as one parameter to a function in a CVI DLL, you must use a struct that is typedef'ed and create an .fp file that is included as a type library for the DLL. When you create a .fp file to add to a DLL, the DLL will not build unless all structs/enums are typedef'ed. Thus, I wouldn't advise using the tsutil.h because you would have to go through and typedef every single struct and enum in the header file.
    Instead, you can simply create a typedef'ed struct in your projects header file and create an .fp file with the struct specified as a data type. Then in TestStand, when you call the function you would need to ensure that the parameter is of Category "C Struct", and type "Error". The attached zip file contains a CVI 8.5 project that demonstrates this along with a TestStand 4.0 sequence file that demonstrates how to pass the parameter to the function by reference. In case you run into trouble creating the .fp file please refer to the following KnowledgeBase. The instructions are for enums but easily correspond to structs as well:
    TestStand and LabWindows/CVI Enumeration Data Types
    Hope this helps!
    Manooch H.
    National Instruments
    Attachments:
    PassTSError.zip ‏19 KB

  • Select statement as function parameter

    Hi everyone, hopefully this is a quick yes or no.
    I'm getting an annoying error in toad with a statement, basically I want to call a function with a select statement as a parameter.
    my_function((select name from people)), 1, 10, xx)
    Can I use a select statement in this context?
    Regards,
    Kieran

    SELECT TO_CHAR ((SELECT SYSDATE
                       FROM DUAL), 'mm/dd/yyyy')
      FROM DUAL
    01/09/2008                                                                                                                                                                                                                               

  • List as function parameter type

    Hi,
    how to declare list parameter type in function ? I want to call function with list, param2 = ('A', 'B', 'C'...) for example: function(param1, param2)
    thx

    Two ways....
    either you know you have a maximum number of parameters allowed and specify it such as ...
    e.g. with a maximum of 10 params...
    FUNCTION myfunc (p_param1 IN VARCHAR2 := NULL
                    ,p_param2 IN VARCHAR2 := NULL
                    ,p_param3 IN VARCHAR2 := NULL
                    ,p_param4 IN VARCHAR2 := NULL
                    ,p_param5 IN VARCHAR2 := NULL
                    ,p_param6 IN VARCHAR2 := NULL
                    ,p_param7 IN VARCHAR2 := NULL
                    ,p_param8 IN VARCHAR2 := NULL
                    ,p_param9 IN VARCHAR2 := NULL
                    ,p_param10 IN VARCHAR2 := NULL) IS
    ...or you pass in an array...
    TYPE t_params IS TABLE OF VARCHAR2 INDEX BY PLS_INTEGER;
    FUNCTION myfunc (p_params IN t_params) IS
    ...You can't code it for an unknown amount of parameters.

  • Static function parameter help

    Hi,
    I have two functions in the same file, how can I use the first function as default value in the second function.
    public static function get decimalFormatter1():NumberFormatter{
    I try this:
    public static function secondFunction(param1:String, param2:Int=0, param3:Function=decimalFormatter1):Array{
    Getting error: -1047: Parameter initializer unknown or is not a compile-time constant.
    Any ideas?
    Thanks!

    Thanks for you reply and help Gordon.
    I am getting this error at the decimalFormatter1 line:
    -1067: Implicit coercion of a value of type mx.formatters:NumberFormatter to an unrelated type Function.
    Here is my simple get function:
    public static function get decimalFormatter1():NumberFormatter{
              var decimalFormatter:NumberFormatter = new NumberFormatter();
              decimalFormatter.rounding = "nearest";
              decimalFormatter.precision=1;
              decimalFormatter.useNegativeSign = false;
              return decimalFormatter;
    Any other way?

  • Can someone explain the tables tab under function parameter declaration ?

    Hello,
    when declaring a function, part of its parameter interface is the tables tab. So if in FUNCTION1 i  declare a table: tdraw like draw  (optional)
    what does that mean ? does this mean that tdraw will be a table of type draw and at the same time it will be filled up with the same contents as draw has ?
    then how can other function (func2) use FUNCTION1 and its table ?
    so if inside func2  i also have an internal table AA like draw :
    so inside func2 i say:
    call function1
    tables:tdraw = AA
    does this mean that it will assign the result tdraw table of function1 to AA ?
    can someone explain details of internal tables and passing them as parameters ?
    and which table is assigned to which ?
    thank you

    Hi hassan,
    If you are talking about the tables parameter in SE37, when you declare a table tdraw like draw it only means you are declaring an internal table of type draw but the contents are not filled into it.
    In the source code of the program you have to write the code to fetch the data to tdraw and do the manipulations accordingly.
    Also, the tables you are declaring can be like the input table or can be used for output table.
    suppose u have 2 tables tab1 and tab2, tab1 you are going to input the values to it and the calculated values have to be in another table, you can use tab2 as the result table.
    hope it helps.
    award points if it helps.

  • BRFplus: DDIC Structure as Function Parameter results in Dump

    Hi all,
    I want to use Data Dictionary structure VBAK as a (signature) parameter to a BRFplus Function.
    I have created a Data Object VBAK bound to the DDIC structure VBAK, and defined it as a parameter to my Function.
    In my code to call the BRF function, I have:
    DATA:
      lo_context            TYPE REF TO if_fdt_context,
      lo_function           TYPE REF TO if_fdt_function.
    DATA:
      ls_vbak               TYPE VBAK.
      lo_context  = lo_function->get_process_context( ).
      lo_context->set_value(
        EXPORTING
          iv_name = 'VBAK'
          ia_value = ls_vbak ).
    The SET_VALUE method results in a runtime error (program dump) of type UC_OBJECTS_NOT_CONVERTIBLE description u201CData objects in Unicode programs cannot be convertedu201D.
    On investigation this seems to be because certain fields are represented differently in BRF.  For example, the DDIC field VBAK-ERDAT (type DATS) is stored in BRF as TIMEPOINT, which is itself a structure (type FDT_S_TIMEPOINT).  Trying to move the date value to the timepoint value is not possible and results in the dump.
    How do I get around this ?  Or in practice is it not feasible to use DDIC structures containing dates, times and possibly numbers as function parameters ??
    Running on SAP NW 7.0 EHP1 SP5.
    Thanks,
    Grogan

    Therefore you best create an internal structure reusing the types in IF_FDT_TYPES. Then you copy the data into the BRFplus internal format and then you process the function.
    Is there a method to do this, or do I have to develop my own using RTTI / RTTC ?
    NW 701 - *sigh*.
    Thanks & regards,
    Grogan

  • Missing Data in Table passed as Function Parameter

    I am running a JCO server & in my handleRequest(), I am trying to get the data from the tables paased as function parameters from the SAP system.
    Somehow I am not able to see any data in the tables, though the SAP system has put some data in the tables before sending.
    The no. of rows in the table is 0 always on the JCO side. I tried to dunp the content of the Function & Table with writeHTML() & it shows no data too.
    I am able to pass simple strings & integers, but the tables doesn't work. Can anyone tell me where might be the problem.

    Hi,
       I am bit confused, You are not getting the data in the Function module when you make a call from Java or the data returned by the function module is not reaching the Java side. If you are not getting the data which you pass from java in the function module then I have faced this problem before.
    In that case the problem was when you pass data as table parameters to the function module you have to check the size of table parameter I was using INITIAL to check if there is any data in the table parameter. If this is the same problem may be by checking the size of the table will solve your problem.
    Regards,
    Sesh

  • Java function parameter problem?

    look at this code:
    public class Test {
         static void doSet1(Date birth) {birth.setTime(1);}
         static void doSet2(Date birth) {birth = null;}
         public static void main(String[] args) {
              Date birth = new Date(0);
              doSet1(birth);
              System.out.println(birth.getTime());
    it should ouptut 1. that's right.
    however when the main function changed to
    public static void main(String[] args) {
              Date birth = new Date(0);
              doSet2(birth);
              System.out.println(birth.getTime());
    I thought it should throw a NullPointerException.
    but it output 0.
    why? any lights appreciated!

    Everything in Java is passed "by value". Everything.
    Pass-by-value
    - When an argument is passed to a function, the invoked function gets a copy of the original value.
    - The local variable inside the method declaration is not connected to the caller's argument; any changes made to the values of the local variables inside the body of the method will have no effect on the values of the arguments in the method call.
    - If the copied value in the local variable happens to be a reference (or "pointer") to an object, the variable can be used to modify the object to which the reference points.
    Some people will say incorrectly that objects are passed "by reference." In programming language design, the term pass by reference properly means that when an argument is passed to a function, the invoked function gets a reference to the original value, not a copy of its value. If the function modifies its parameter, the value in the calling code will be changed because the argument and parameter use the same slot in memory.... The Java programming language does not pass objects by reference; it passes object references by value. Because two copies of the same reference refer to the same actual object, changes made through one reference variable are visible through the other. There is exactly one parameter passing mode -- pass by value -- and that helps keep things simple.
    -- James Gosling, et al., The Java Programming Language, 4th Edition

Maybe you are looking for

  • Officejet Pro 8600 Plus will not maintain "wired" connectivity

    Get a message "Unable to communicate with printer".  The printer is direct wired to router, but for some reason will loose connectivity. Rebooting cable modem and router seems to fix for a while. Anyone know of a solid fix to this problem?

  • Lens Profile for Nikon Coolpix P330

    Hi, I see that lens profile is available for P330 from the release notes of ACR 8.1 beta. Is there a way to obtain/add that lens profile to LR 4.4? I don't have any CS6 products and so cannot try and install ACR 8.1 Beta myself. Thanks! Devendra

  • Trying to update my iPhone 4 software

    Trying to update the software on my iPhone 4 but it's saying could not be restored error occurred (3194) any ideas.

  • Total Desktop Melt Down, Need Help!!!!

    Okay, My Desktop is gone. Let me explain. I was running Toast, Safari and Photoshop CS. I started Quickbooks and Quickboks started to run the "Check for Updates" and when it did that a Dialog box came up saying i was not connected to the internet whi

  • Disc stuck in drive, tried every thing

    This isn't a mechanical problem, I can hear the computer trying to read the disc. When I restart the computer and hold the mouse button it just tries to read the disc for hours... Even if I restart the computer and don't hold the mouse button, it jus