HR_MAINTAIN_MASTERDATA in HRECM00_ACTIVATION Method ACTIVATE_PROCESS

Hi all,
I am using the FM HR_MAINTAIN_MASTERDATA to update a custom infotype during ECM avtivation process. The coe in this FM is going for a dump. When I copy past the code in a regular report program  this runs with out any issues.
raisisng a ticket with SAP did not solbe the issue as SAP wahsed off the hands saying that this FM is not releases. I have been using this FM for quite a while W/O issues. HAs any one come across a similar issue here. My main problem is that other FMs like HR_INFOTYPE_OPERATION also have status  " not released ". So I dont know what FMs should be used to update the custom IT in ECM activation process. Any thoughts?
I get the error
  The exception 'CX_HRPA_VIOLATED_PRECONDITION' was raised, but it was not caught
   anywhere along
  the call hierarchy.
  Since exceptions represent error situations and this error was not
  adequately responded to, the running ABAP program
   'CL_HRPA_INFOTYPE_FACTORY======CP' has to be
  terminated.
at can you do?
  Note down which actions and inputs caused the error.
  To process the problem further, contact you SAP system
  administrator.
  Using Transaction ST22 for ABAP Dump Analysis, you can look
  at and manage termination messages, and you can also
  keep them for a long time.
ror analysis
  An exception occurred that is explained in detail below.
  The exception, which is assigned to class 'CX_HRPA_VIOLATED_PRECONDITION', was
   not caught in
  procedure "INITIALIZE_PS_ADAPTER" "(FORM)", nor was it propagated by a RAISING
   clause.
  Since the caller of the procedure could not have anticipated that the
  exception would occur, the current program is terminated.
  The reason for the exception is:
  Precondition Violated

HI,
Put a break point in the FM while executing the application
and chk the sy-subrc code value .
This dump will occur mostly when data type conflict is there.
But it will not show when u execute from se37 directly.
Thanks,
Divya.S

Similar Messages

  • HRECM00_ACTIVATION

    Hi All,
    I am able to trigger  HRECM00_ACTIVATION BAdi and method ACTIVATE_PROCESS but the other method (CALC_SAL_ADJUSTMENT) of this BAdi is not getting triggered and also in the method ACTIVATE_PROCESS I am not able to use the hr_infotype_operation FM to update the IT0008. Is there any other way to update the IT0008 (Other then BDC).
    Help is really appreciated.
    Thanks and Regard.
    Anees Ahmed Jawad

    Refer SAP note: 878336
    -Sarath

  • HR_MAINTAIN_MASTERDATA: Not Able to Create a New Hire Employee

    I am trying to create a new hire employee. To do this, I use FM HR_MAINTAIN_MASTERDATA.
    The requirement is to create new employee with data for IT0000 (Actions), IT0001 (Org Management) & IT0002 (Personal Data) only.
    The FM is not working and the given error is "Fill in all required entry fields". When I use parameter DIALOG_MODE = 1 (stop on error), SAP stops on the infotype 0006 screen and prompts me to enter the required fields. The problem is I do not want to create employee data on infotype 0006 and the following screens after that. My intention is to create employee
    data for infotype 0000, 0001 & 0002 only.
    Any idea on the workaround for the problem above?
    Filled the proposed_values tables with following fields:
    IT0000 ***
    'P0000-MASSN'
    'P0000-MASSG'
    'P0000-STAT1'
    'P0000-STAT2'
    IT0001 ***
    'P0001-BUKRS'
    'P0001-WERKS'
    'P0001-BTRTL'
    'P0001-ABKRS'
    'P0001-PLANS'
    'P0001-OTYPE'
    IT0002 ***
    'P0002-NACHN'
    'P0002-VORNA'
    'P0002-CNAME'
    'P0002-TITEL'
    'P0002-GESCH'
    'P0002-GBDAT'
    'P0002-NATIO'
    'P0002-SPRSL'
    'P0002-KONFE'
    'P0002-FAMST'
    'P0002-GBJHR'
    'P0002-GBMON'
    'P0002-GBTAG'
    'P0002-NCHMC'
    'P0002-VNAMC'
    CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
    EXPORTING
       pernr                             = p_pernr
       massn                           = '01'
       actio                              = 'INS'
       tclas                              = 'A'
       begda                            = p_begda
       endda                            = p_endda
      *objps                              =
       seqnr                             = '000'
      *sprps                             =
      *subty                             =
       werks                            = 'US01'
       persg                             = '1'
       persk                             = 'EC'
       plans                             = '00042933'
       dialog_mode                  = '1'
       luw_mode                     = '1'
       no_existence_check     = 'X'
      *no_enqueue                 = 'X'
    IMPORTING
       return                            = lt_bapireturn
       return1                          = lt_bapireturn1
      TABLES
       proposed_values          = lt_value.

    In the methode VIEKN of the class CL_HRPA_VIEKN there is a test to see if PA0003 exists before it is created.
    Use the enhancement to INSERT PA0003 at the begin and to DELETE PA0003 at the end.
    METHOD viekn.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Classe CL_HRPA_VIEKN, Méthode VIEKN, Début D
    *$*$-Start: (1 )--------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1 ZDIH_APPLICATION_EXTERNE_CREAT.    "active version
    DATA : lw_pa0003 TYPE pa0003.
    DATA : fl_pa0003 TYPE flag.
    CLEAR fl_pa0003.
    *  If coming from Web dynpro
    IF sy-cprog EQ 'SAPMHTTP' ANd pernr NE '00000000'.
    *  Check if the infotype 3 already exists
      SELECT SINGLE * FROM pa0003 INTO lw_pa0003 WHERE pernr = pernr.
      IF sy-subrc NE 0.
        fl_pa0003 = 'X'.
        MOVE pernr TO lw_pa0003-pernr.
        MOVE '18000101' TO lw_pa0003-begda.
        MOVE '99991231' TO lw_pa0003-endda.
        MOVE '12' TO lw_pa0003-viekn.
        INSERT pa0003 FROM lw_pa0003.
      ENDIF.
    ENDIF.
    ENDENHANCEMENT.
    *$*$-End: (1 )--------------------------------------------------------------------------------$*$*
    ----> original code of method <----
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(2 ) Classe CL_HRPA_VIEKN, Méthode VIEKN, Fin D
    *$*$-Start: (2 )--------------------------------------------------------------------------------$*$*
    ENHANCEMENT 2 ZDIH_APPLICATION_EXTERNE_CREAT.    "active version
      IF sy-cprog EQ 'SAPMHTTP' AND pernr NE '00000000'.
        IF fl_pa0003 = 'X'.
          DELETE FROM PA0003 WHERE pernr = pernr.
        ENDIF.
      ENDIF.
    ENDENHANCEMENT.
    *$*$-End: (2 )--------------------------------------------------------------------------------$*$*
    ENDMETHOD.

  • How to Generate a new PERNR using  HR_MAINTAIN_MASTERDATA in WD?

    Hi Experts;
    Can I get some sample code for creating a new PERNR using HR_MAINTAIN_MASTERDATA  FM. ???!!!
    I've created  a  some input fields in webdynpro using infotype PA0002 and depending upon those  fields I want to generate a PERNR number .
    Plz help me with some sample code ..
    Thanks in Adv.
    Bunty

    what am I missing in the below code ??? is the code correct ??? Using the below code how will I get the new PERNR value ??
    method ONACTIONSAVE .
        DATA lo_nd_final_node TYPE REF TO if_wd_context_node.
        DATA lo_el_final_node TYPE REF TO if_wd_context_element.
        DATA ls_final_node TYPE wd_this->element_final_node.
          DATA lv_inits LIKE ls_final_node-inits.
          DATA lv_nachn LIKE ls_final_node-nachn.
          DATA lv_vorna LIKE ls_final_node-vorna.
           DATA lv_titel LIKE ls_final_node-titel.
           DATA lv_gesch LIKE ls_final_node-gesch.
           DATA lv_natio LIKE ls_final_node-natio.
           DATA lv_famst LIKE ls_final_node-famst.
             DATA lv_gbpas LIKE ls_final_node-gbpas.
             DATA lv_stras LIKE ls_final_node-stras.
              DATA lv_ort01 LIKE ls_final_node-ort01.
              DATA lv_pstlz LIKE ls_final_node-pstlz.
               DATA lv_telnr LIKE ls_final_node-telnr.
              DATA lv_locat LIKE ls_final_node-locat.
                DATA lv_usrid LIKE ls_final_node-usrid.
    *   navigate from <CONTEXT> to <FINAL_NODE> via lead selection
        lo_nd_final_node = wd_context->get_child_node( name = wd_this->wdctx_final_node ).
    *   get element via lead selection
        lo_el_final_node = lo_nd_final_node->get_element(  ).
    *   get single attribute
        lo_el_final_node->get_attribute(
          EXPORTING
            name =  `INITS`
          IMPORTING
            value = lv_inits ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `NACHN`
        IMPORTING
          value = lv_nachn ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `VORNA`
        IMPORTING
          value = lv_vorna ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `TITEL`
        IMPORTING
          value = lv_titel ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `GESCH`
        IMPORTING
          value = lv_gesch ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `NATIO`
        IMPORTING
          value = lv_natio ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `FAMST`
        IMPORTING
          value = lv_famst ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `GBPAS`
        IMPORTING
          value = lv_gbpas ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `STRAS`
        IMPORTING
          value = lv_stras ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `ORT01`
        IMPORTING
          value = lv_ort01 ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `PSTLZ`
        IMPORTING
          value = lv_pstlz ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `LAND1`
        IMPORTING
          value = lv_land1 ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `LOCAT`
        IMPORTING
          value = lv_locat ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `TELNR`
        IMPORTING
          value = lv_telnr ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `USRID`
        IMPORTING
          value = lv_usrid ).
    DATA lv_new_pernr LIKE ls_final_node-new_pernr.
    * get single attribute
      lo_el_final_node->SET_attribute(
        EXPORTING
          name =  `NEW_PERNR`
        IMPORTING
          value = lv_new_pernr ).
    CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
    * EXPORTING
    *   PERNR                    = '00000000'
    *   MASSN                    =
    *   ACTIO                    = 'INS'
    *   TCLAS                    = 'A'
    *   BEGDA                    = SY-DATUM
    *   ENDDA                    = '99991231'
    *   OBJPS                    =
    *   SEQNR                    =
    *   SPRPS                    =
    *   SUBTY                    =
    *   WERKS                    =
    *   PERSG                    =
    *   PERSK                    =
    *   PLANS                    =
    *   DIALOG_MODE              = '0'
    *   LUW_MODE                 = '1'
    *   NO_EXISTENCE_CHECK       = ' '
    *   NO_ENQUEUE               = ' '
    * IMPORTING
    *   RETURN                   =
    *   RETURN1                  =
    *   HR_RETURN                =
      TABLES
        proposed_values          =
    *   MODIFIED_KEYS            =
    endmethod.

  • Regarding Function module HR_MAINTAIN_MASTERDATA.

    hi experts,
    i have a requirement where in i need to inseert data in to infotype:0000,0001,0105,9010,0041  and update the infotypes:0015,0014,0008,0009 by using function module HR_MAINTAIN_MASTERDATA . i have used ACTIO as 'INS' and 'MOD' (since T589A table doesn't contain the 'UPD' operation).
    but using this "MOD' i am unable to update all the infotypes, instead it is throwing the error as entry doesn't exist in T589A for P.
    i need to know whether the following code is correct or not and also to overcome the error.. Please let me know the changes needed.
    DATA: BEGIN OF IT_INFTY,
              INFTY TYPE PPROP-INFTY,
            END OF IT_INFTY .
    DATA:  LV_PERNR          TYPE PSPAR-PERNR.
    LV_PERNR = '430102'.
    if ( IT_INFTY-infty = '0000' or IT_INFTY-infty = '0001'
              or  IT_INFTY-infty = '9010'
                or IT_INFTY-infty = '0105' OR IT_INFTY-infty = '0041' ).
        LV_OPERATION = 'INS'.
      elseif ( IT_INFTY-infty = '0007' or IT_INFTY-infty = '0008'
           or IT_INFTY-infty = '0014' or IT_INFTY-infty = '0015').
        LV_OPERATION = 'MOD'. 
      endif.
      CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
        EXPORTING
          NUMBER             = LV_PERNR  "WA_SOURCE_DATA-pernr
    IMPORTING
      RETURN             =
      LOCKING_USER       = sy-uname
      CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
       EXPORTING
         PERNR                    = LV_PERNR
      MASSN                    =
         ACTIO                    = LV_OPERATION        "'INS'
         TCLAS                    = 'A'
         BEGDA                    = SY-DATUM
         ENDDA                    = '99991231'
      OBJPS                    =
      SEQNR                    =
      SPRPS                    =
      SUBTY                    = lv_subty
      WERKS                    =
      PERSG                    =
      PERSK                    =
      PLANS                    =
         DIALOG_MODE              = '2'
      LUW_MODE                 = '1'
      NO_EXISTENCE_CHECK       = ' '
      NO_ENQUEUE               = ' '
       IMPORTING
         RETURN                   = RC
         RETURN1                  = RC1
      HR_RETURN                =
        TABLES
          PROPOSED_VALUES          = PROPOSED_VALUES
      MODIFIED_KEYS            =
      write : / rc-message.
      CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
        EXPORTING
          NUMBER = LV_PERNR  "WA_SOURCE_DATA-pernr
    IMPORTING
       RETURN        =
    kindly suggest.
    regards,
    joy.

    hi,
    i have a similar situation wherein i need to use the two operations insert and modifications for the infotypes.
    the problem i am facing is ,i need to put the logic in a method and it doesnt allow the usage of with header line. so how can we refer to the fields if the following logic is used.
    TYPES : begin of ty_infty,
                    infty TYPE pprop-infty,
                  END OF ty_infty.
    DATA: it_INFTY TYPE STANDARD TABLE OF TY_INFTY,
               proposed_values   TYPE  pprop occurs 0 with header line,
              wa_INFTY TYPE TY_INFTY.
    *************************updation of 0000***********************
    lv_fval = '01'.
      wa_proposed_values-infty = '0000'.
      wa_proposed_values-fname = 'P0000-MASSG'.
      wa_proposed_values-fval = LV_FVAL.
      wa_proposed_values-fname = '00'.
      append wa_proposed_values to proposed_values.
        it_infty-infty = wa_proposed_values-infty.
      clear wa_proposed_values.
    ***similarly we update the values for other infotypes
    if ( it_infty-infty = '0000' or it_infty-infty = '0001'
            or it_INFTY-infty = '0041' or it_INFTY-infty = '9010'
              or it_INFTY-infty = '0105').
        lv_operation = 'INS'.
      elseif ( it_INFTY-infty = '0007' or it_INFTY-infty = '0014' ).
            "or IT_INFTY-infty = '0014' or IT_INFTY-infty = '0015').
        lv_operation = 'MOD'.
      endif.
    CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
        EXPORTING
          NUMBER             = lv_pernr
    IMPORTING
      RETURN             =
      LOCKING_USER       = sy-uname
      CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
       EXPORTING
         PERNR                    = lv_pernr
      MASSN                    =
         ACTIO                    = lv_operation       
         TCLAS                    = 'A'
         BEGDA                    = SY-DATUM
         ENDDA                    = '99991231'
      OBJPS                    =
         DIALOG_MODE              = '2'
      LUW_MODE                 = '1'
      NO_EXISTENCE_CHECK       = ' '
      NO_ENQUEUE               = ' '
       IMPORTING
         RETURN                   = rc
         RETURN1                  = rc1
      HR_RETURN                =
        TABLES
          PROPOSED_VALUES          = proposed_values
      MODIFIED_KEYS            =
      write : / rc-message.
      CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
        EXPORTING
          NUMBER = lv_pernr
    IMPORTING
       RETURN        =
    here its giving an error that it_infty is a table without headerline and has no field as infty.
    how to over come this, please guide me in this regard. if this is not the correct logic please tell me the appropraite one..
    thanks in advance,
    Durga.

  • Problem old_innn  with 'HR_MAINTAIN_MASTERDATA'

    Hi Gurus,
    I need ur help .
    In EXIT ZXPADU02, i coded somthing like that
    WHEN '9102'.
        t_9102 = innnn.
    CHECK psave-begda GE lv_datcloture.
    THe problem is that when executing MF 'HR_maintain_masterdata to modify a record for infotype 9102, i found that structure PSAVE that have old_innnn data is initial,
    I have the same result with PAI and even with BADI 'HRD00INFTY', the structure old_innnn is initial(Method IN-UPDATE).
    Is there a solution to have the old_innnn data ?
    nb : i just wanted to add that if modifying record directly with pa30, PSAVE and old_innn are not INITIAL.
    Tanks.
    Edited by: saad igueninni on Jan 18, 2011 3:07 PM

    do you pass PSAVE to your subroutine in ZXPADU02?
    I just checked and PSAVE is filled as expected.
    perform fill_my_infotype using TCLASS
                                                      INNNN
                                                      PSAVE
                                                      IPSYST
                                                      I001P
                                                      I503.

  • HR_MAINTAIN_MASTERDATA start date 00.00.0000

    Hi,
    I am trying to post multiples infotypes 0000, 0001, 0002, 0008, based on infotype group at same sequence using FM: HR_MAINTAIN_MASTERDATA, and when I just start to fill out 0001, I got the message saying that start date is 00.00.0000, I am adding data to 0000-BEGDA. I understand it is because nothing is saved yet, but how do I fix it? Even if I put each infotype separated on the FM, because of the infotype group it does not work.
    Can somebody help me, pleeeeeeeaaaasssseee.
    Thanks anyway,

    Dear Debora,
    You will have to pass the beginning date from the variable or parameter from the program instead of 0000-begda. The same start date that you had passed for infotype 0000 and enque pernr.
    Also, make import parameter NO_EXISTENCE_CHECK = X.
    You could also use the following method:
    1. It works because, pa40 locks the pernr,
    which is very much compulsory.
    2. it is compulsory to lock the pernr,
    before using any FM for updating/inserting infotype.
    3. Its better to use the fM 'HR_INFOTYPE_OPERATION'
    4. this is the full coding.
    5. just copy paste in new program.
    6. U can change the pernr and amount values as per requirement.
    7.
    Report abc.
    Data
    DATA : P0015 LIKE P0015.
    DATA : RETURN LIKE BAPIRETURN1.
    DATA : KEY LIKE BAPIPAKEY.
    DATA : RETURNE LIKE BAPIRETURN1 .
    Values (Change as per Requirement)
    P0015-PERNR = '1'.
    P0015-BEGDA = '2061101'.
    P0015-ENDDA = '2061101'.
    P0015-LGART = '3075'.
    P0015-PREAS = '01'.
    P0015-WAERS = 'INR'.
    P0015-BETRG = '2500'.
    *----- First Enqu
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING
    NUMBER = p0015-pernr
    IMPORTING
    RETURN = RETURNE.
    Update
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
    INFTY = '0015'
    NUMBER = P0015-PERNR
    SUBTYPE = P0015-SUBTY
    OBJECTID = P0015-OBJPS
    LOCKINDICATOR = P0015-SPRPS
    VALIDITYEND = P0015-ENDDA
    VALIDITYBEGIN = P0015-BEGDA
    RECORDNUMBER = P0015-SEQNR
    RECORD = P0015
    OPERATION = 'INS'
    TCLAS = 'A'
    DIALOG_MODE = '0'
    IMPORTING
    RETURN = RETURN
    KEY = KEY.
    IF RETURN IS NOT INITIAL.
    WRITE :/ 'Error Occurred'.
    ENDIF.
    Dequeue
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING
    NUMBER = P0015-PERNR
    Thanks and Regards,
    Naveen.

  • Error while calling a method on Bean (EJB 3.0)

    I am getting an error while calling a method on EJB. I am using EJB3.0 and my bean is getting properly deployed(i am sure b'cos i can see the successfullly deployed message). Can any body help me
    Error is -->
    Error while destroying resource :An I/O error has occured while flushing the output - Exception: java.io.IOException: An established connection was aborted by the software in your host machine
    Stack Trace:
    java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at com.sun.enterprise.server.ss.provider.ASOutputStream.write(ASOutputStream.java:138)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at org.postgresql.PG_Stream.flush(PG_Stream.java:352)
    at org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:159)
    at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:70)
    at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482)
    at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461)
    at org.postgresql.jdbc1.AbstractJdbc1Connection.rollback(AbstractJdbc1Connection.java:1031)
    at org.postgresql.jdbc2.optional.PooledConnectionImpl$ConnectionHandler.invoke(PooledConnectionImpl.java:223)
    at $Proxy34.close(Unknown Source)
    at com.sun.gjc.spi.ManagedConnection.destroy(ManagedConnection.java:274)
    at com.sun.enterprise.resource.LocalTxConnectorAllocator.destroyResource(LocalTxConnectorAllocator.java:103)
    at com.sun.enterprise.resource.AbstractResourcePool.destroyResource(AbstractResourcePool.java:603)
    at com.sun.enterprise.resource.AbstractResourcePool.resourceErrorOccurred(AbstractResourcePool.java:713)
    at com.sun.enterprise.resource.PoolManagerImpl.putbackResourceToPool(PoolManagerImpl.java:424)
    at com.sun.enterprise.resource.PoolManagerImpl.resourceClosed(PoolManagerImpl.java:393)
    at com.sun.enterprise.resource.LocalTxConnectionEventListener.connectionClosed(LocalTxConnectionEventListener.java:69)
    at com.sun.gjc.spi.ManagedConnection.connectionClosed(ManagedConnection.java:618)
    at com.sun.gjc.spi.ConnectionHolder.close(ConnectionHolder.java:163)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection(DatabaseAccessor.java:379)
    at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.closeConnection(DatasourceAccessor.java:367)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeConnection(DatabaseAccessor.java:402)
    at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.afterJTSTransaction(DatasourceAccessor.java:100)
    at oracle.toplink.essentials.threetier.ClientSession.afterTransaction(ClientSession.java:104)
    at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.afterTransaction(UnitOfWorkImpl.java:1816)
    at oracle.toplink.essentials.transaction.AbstractSynchronizationListener.afterCompletion(AbstractSynchronizationListener.java:161)
    at oracle.toplink.essentials.transaction.JTASynchronizationListener.afterCompletion(JTASynchronizationListener.java:87)
    at com.sun.ejb.containers.ContainerSynchronization.afterCompletion(ContainerSynchronization.java:174)
    at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:467)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:357)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3653)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3431)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
    at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:110)
    at $Proxy84.addDepartment(Unknown Source)
    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:585)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
    End of Stack Trace
    |#]
    RAR5035:Unexpected exception while destroying resource. To get exception stack, please change log level to FINE.
    EJB5018: An exception was thrown during an ejb invocation on [DepartmentSessionBean]
    javax.ejb.EJBException: Unable to complete container-managed transaction.; nested exception is: javax.transaction.SystemException
    javax.transaction.SystemException
    at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:452)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:357)
    at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3653)
    at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3431)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
    at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:110)
    at $Proxy84.addDepartment(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Means theres an error in XML/ABAP conversion probably due a syntax error...
    Regards
    Juan

  • Issue with SharePoint foundation 2010 to use Claims Based Auth with Certificate authentication method with ADFS 2.0

    I would love some help with this issue.  I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0  I have a test account set up with lab.acme.com to use the ACS.
    When I log into my site using Windows Auth, everything is great.  However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
    to use to log in   and after 3-5 second
     and return me the logon page with error message “Authentication failed” 
    I base my setup on the technet article
    http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
    I validated than all my certificate are valid and able to retrieve the crl
    I got in eventlog id 300
    The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
    Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
    Additional Data
    Exception details:
    Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
    ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
    correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    --- End of inner exception stack trace ---
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
    serializationContext, AsyncCallback asyncCallback, Object asyncState)
    at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
    trustNamespace, AsyncCallback callback, Object state)
    System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
    failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
    at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
    at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
    at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
    at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
    thx
    Stef71

    This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
    on my case was :
    PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ad0001.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
    Certificate                 : [Subject]
                                    CN=domain.AD0001CA, DC=domain, DC=com
                                  [Issuer]
                                    CN=domain.AD0001CA, DC=portal, DC=com
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    22/07/2014 11:32:05
                                  [Not After]
                                    22/07/2024 11:42:00
                                  [Thumbprint]
                                    blablabla
    Name                        : domain.ad0001
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : domain.ad0001
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17164
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
    cer\SP2K10\ADFS_Signing.cer")
    PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
    Certificate                 : [Subject]
                                    CN=ADFS Signing - adfs.domain
                                  [Issuer]
                                    CN=ADFS Signing - adfs.domain
                                  [Serial Number]
                                    blablabla
                                  [Not Before]
                                    23/07/2014 07:14:03
                                  [Not After]
                                    23/07/2015 07:14:03
                                  [Thumbprint]
                                    blablabla
    Name                        : Token Signing Cert
    TypeName                    : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
    DisplayName                 : Token Signing Cert
    Id                          : blablabla
    Status                      : Online
    Parent                      : SPTrustedRootAuthorityManager
    Version                     : 17184
    Properties                  : {}
    Farm                        : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties : {}
    PS C:\Users\administrator.PORTAL>

  • Using G_SET_GET_ALL_VALUES Method

    Hi,
    I need to use the following method. G_SET_GET_ALL_VALUES. But I'm not sure of the data type that it returns.
    CALL FUNCTION 'G_SET_GET_ALL_VALUES'
      EXPORTING
      CLIENT                      = ' '
      FORMULA_RETRIEVAL           = ' '
      LEVEL                       = 0
        setnr                       = wa_itab_progrp-setname
      VARIABLES_REPLACEMENT       = ' '
      TABLE                       = ' '
      CLASS                       = ' '
      NO_DESCRIPTIONS             = 'X'
      NO_RW_INFO                  = 'X'
      DATE_FROM                   =
      DATE_TO                     =
      FIELDNAME                   = ' '
      tables
        set_values                  = ????????
    EXCEPTIONS
      SET_NOT_FOUND               = 1
      OTHERS                      = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Can anyone please let me know what I should do at the SET_VALUES section.
    Thanks
    Lilan

    Hi,
    See the FM Documentation,
    This function module determines all the values of a set or its subordinate sets. The required call parameter is the set ID (SETNR). The other parameters are optional:
    FORMULA_RETRIEVAL: 'X' => The formulas in the set are also returned (default ' ' requires fewer database accesses)
    LEVEL: The default value is 0 and means "expand all levels". Values other than 0 determine the level to which they are to be expanded
    VARIABLES_REPLACEMENT: 'X' => The value variables in the set hierarchy are replaced by their default values (this means additional database accesses for each variable)
    NO_DESCRIPTIONS: 'X' => The short descriptions of the sets and set lines are not read from the database. For performance reasons you should only set this parameter to ' ' if you need the texts
    The values determined are returned to the internal table SET_VALUES.
    Thanks.

  • Clearing values from request in decode method

    I am using a custom table paginator. In its ‘decode’ method I have the next code to control whether ‘next’ link is clicked:
    String pLink = (String)requestMap.get("pLink" + clientId);
    if ((pLink != null) && (!pLink.equals(""))) {
         if (pLink.equals("next")) {     
         } else if (pLink.equals("previous")) {
    }But the next sequence produces some problems:
    1.     Initial page load.
    2.     Click on ‘next’ link.
    3.     Table navigates ok to next page.
    4.     Reload page (push F5).
    5.     The previous click still remains in the request, so decode method think ‘next’ link is pressed again.
    6.     Application abnormal behaviour arises.
    So, I am trying to clear the ‘next_link’ key from the request, but next code throws an UnsupportedOperationException:
    String pLink = (String)requestMap.get("pLink" + clientId);
    if ((pLink != null) && (!pLink.equals(""))) {
         if (pLink.equals("next")) {     
         } else if (pLink.equals("previous")) {
         requestMap.put("pLink" + clientId, "");
    }Do any of you have some ideas?

    Hey, where are you RaymondDeCampo, rLubke, BalusC ... the masters of JSF Universe?
    ;-)

  • Method all values from row

    Hi,
    Is there a method that get the all the values of a row? I've gone through the java api but didn't found one, but wanted to be sure.
    If not I'll have to do getValueAt for every column?
    Grtz

    Here is one possible implementation using RowTableModel (a self made class).
    To access a row, we can use this: Product product = (Product) model.getRow(rowIndex);
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.util.List;
    public class Tabel extends JPanel {
        private JTable table;
        private JTextField filterText;
        private TableRowSorter<MyTableModel> sorter;
        private String output;
        private final MyTableModel model;
        public Tabel() {
            //Create a table with a sorter.
            model = new MyTableModel();
            sorter = new TableRowSorter<MyTableModel>(model);
            table = new JTable(model);
            table.setRowSorter(sorter);
            table.setPreferredScrollableViewportSize(new Dimension(500, 200));
            table.setFillsViewportHeight(true);
            //Single selection
            table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            //Making sure columns can't be dragged and dropped
            table.getTableHeader().setReorderingAllowed(false);
            //Double click event
            table.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent mouseEvent) {
                    if (mouseEvent.getClickCount() == 2) {
                        System.out.print(output);
            //Create the scroll pane and add the table to it.
            JScrollPane scrollPane = new JScrollPane(table);
            //Add the scroll pane to this panel.
            add(scrollPane);
            JPanel form = new JPanel();
            JLabel l1 = new JLabel("Filter Text:");
            form.add(l1);
            filterText = new JTextField(15);
            //Whenever filterText changes, invoke newFilter.
            filterText.getDocument().addDocumentListener(
                    new DocumentListener() {
                        public void changedUpdate(DocumentEvent e) {
                            newFilter();
                        public void insertUpdate(DocumentEvent e) {
                            newFilter();
                        public void removeUpdate(DocumentEvent e) {
                            newFilter();
            l1.setLabelFor(filterText);
            form.add(filterText);
            add(form);
         * Update the row filter regular expression from the expression in
         * the text box.
        private void newFilter() {
            RowFilter<MyTableModel, Object> rf = null;
            //If current expression doesn't parse, don't update.
            try {
                rf = RowFilter.regexFilter("(?i)" + filterText.getText(), 0); //"(?i)" => Zoeken gebeurd case-insensitive
            } catch (java.util.regex.PatternSyntaxException e) {
                return;
            sorter.setRowFilter(rf);
        class MyTableModel extends RowTableModel {
            private final List<Product> mData;
            private final List<String> cNames;
            public MyTableModel() {
                super(Product.class);
                mData = new ArrayList<Product>();
                mData.add(new Product("Frontline Small", 5, 1));
                mData.add(new Product("Frontline Medium", 10, 2));
                mData.add(new Product("Frontline Large", 15, 1));
                mData.add(new Product("Frontline Extra Large", 20, 2));
                mData.add(new Product("Frontline spuitbus", 7.5, 3));
                cNames = new ArrayList<String>();
                cNames.add("Product");
                cNames.add("Prijs");
                cNames.add("Aantal stuks beschikbaar");
                setDataAndColumnNames(mData, cNames);
                setColumnClass(0, String.class);
                setColumnClass(1, Double.class);
                setColumnClass(2, Integer.class);
            public Object getValueAt(final int rowIndex, final int columnIndex) {
                switch (columnIndex) {
                    case 0:
                        return mData.get(rowIndex).getDescriction();
                    case 1:
                        return mData.get(rowIndex).getPrice();
                    case 2:
                        return mData.get(rowIndex).getNumber();
                return null;
            @Override
            public Class getColumnClass(int column) {
                return super.getColumnClass(column);
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            Tabel newContentPane = new Tabel();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(final String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    class Product {
        private String descriction;
        private double price;
        private int number;
        Product(final String descriction, final double price, final int number) {
            this.descriction = descriction;
            this.price = price;
            this.number = number;
        public String getDescriction() {
            return descriction;
        public void setDescriction(final String descriction) {
            this.descriction = descriction;
        public int getNumber() {
            return number;
        public void setNumber(final int number) {
            this.number = number;
        public double getPrice() {
            return price;
        public void setPrice(final int price) {
            this.price = price;
        @Override
        public String toString() {
            return descriction + ", " + price + ", " + number;
    }

  • How can I move an ArrayList from one method to another?

    As the subject reveals, I want to know how I move an ArrayList. In one method, I fill my ArrayList with objects, and in the next I want to pick an arbitrary object out of the ArrayList.
    How do I make this work??

    You pass the same array list to both the method. Both method are getting the same thing.
    void main(){
    //create array list here
    ArrayList aList = new ArrayList();
    //pass it to a method to fill items
    fillArrayList(aList);
    //pass the same arraylist to another method
    printArrayList(aList);
    void fillArrayList(ArrayList list){
      list.add("A");
    void printArrayList(ArrayList list){
    //The array list will contain A added by the previos method
    System.out.println(list);
    FeedFeeds : http://www.feedfeeds.com                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • HT1918 Can I have multiple payment methods on one account

    Currently, both of my teenage sons and I are sharing an Apple account with one payment method. I would like to have a payment method for each of us.

    If they are teenagers, it is not too soon to set up individual accounts per person. 
    This will address the separate payments issue, and will make it much easier in a few years when they start heading off to university or moving to their own living arrangements.

  • A method to convert an existing iCloud account to a Child iCloud Account for Family Sharing

    I do not see any method by which to convert an existing iCloud account (we have three set up for our kids, all their birthdays are set later than their actual birthdays so we could grab their actual names before they were all gone years ago) to a new Child iCloud Account for use with Family Sharing (namely to be able to take advantage of the new features: Family Calendar, Photostream, 'Ask to Buy' on the Stores, etc. on their own iPad minis.
    If this is just not possible under the current scheme, please oh please Apple make this an option - there are probably thousands of others in this same boat, and I refuse to give up my kids' iCloud accounts!

    I've read every string and workaround solution on these forums (to date). There's really no good options here.
    USER STORY: My kid (age 7) has an iPad 2.  I created an email address for him (which he doesn't know about). I created an apple ID for him (which he also doesn't know or care about) and I set up his Apple ID with my credit card.  In addition I've set up parental controls on the iPad to lock it down and make it more age appropriate.   Over the past year or so it's worked out fine, he sees something he might like, brings the iPad to me and if I approve, I enter the Apple ID Password  and approve the purchase.   After a year of doing this, he has a nice little collection of apps, kid songs, a few movies, etc.   I would like to move my kid over to a legitimate kid account now that Apple has released features that support this.  Currently the ability to convert an account does not exist. Seems like it should be easy to change a birthday, etc.
    Almost seems like Apple is penalizing us for getting our kid an iPad last year. 
    Apple  - Please consider my user story for your upcoming feature enhancements.

Maybe you are looking for

  • Clicking noises on brand new laptop.

    Hi, I bought a HP Pavilion 15-e 013sa on Monday from Curry's and when home I noticed it was making quiet clicking noises on the left (or middle). I took it back to the shop and was given a new one to pick up today. Got it home and it's making the sam

  • Servlet failed with Exception java.lang.LinkageError: Class javax/servlet/ServletConfig

              Hi           I registered a web app with Weblogic 5.1 in the weblogic.properties file. I try           to run the web app from my browser typing http://localhost:7001/xxx(Webapp name)           and a jsp page. Following is the error I get.

  • Thread 1 cannot allocate new log, sequence in Alert log

    Could someone help, I am getting the below message in my alert log System: AIX6.1 - Oracle 11r2 GROUP#     THREAD#     MEMBER                                  ARCHIVED     STATUS             MB 1     1     +DATA01/mydb/redolog_group1_member1     NO  

  • Pass Arguments By Reference

    Hello Everyone, I have this problem the native method that I want call from my JAva program accepts a long value by reference. How do I pass it from my Java code. Here is the JAva code: long ulRecSize; bRet = this.GetRecordingSizePtr(szEventName, ulR

  • Unable to update my iPhone 3 GS with 4.01

    I have attempted to update my iPhone software multiple times but get error messages. I am trying again but iTunes lists 22 hours for the software download so I think I will get the error again. Any suggestions?