Problem in uploading the records ?

Hello,
I want to uplaod the material master records. I was given EXCEL sheet, where my cells are Material Number, Industry sector, Material group, Material description and Unit.
Please copy paste the code it is sytactically correct but only my first record from the excel sheet is coming to material number field even then it is asking to enter material number.
This is my code please helpme with my mistake...
TYPES: BEGIN OF TY_TABDATA,
MANDT LIKE SY-MANDT, " Client
MATNR LIKE RMMG1-MATNR,
MBRSH LIKE RMMG1-MBRSH,
MTART LIKE RMMG1-MTART, "
MAKTX LIKE MAKT-MAKTX,
MEINS LIKE MARA-MEINS,
END OF TY_TABDATA.
DATA: IT_TABDATA TYPE STANDARD TABLE OF TY_TABDATA INITIAL SIZE 0,
      WA_TABDATA TYPE TY_TABDATA,
      IT_BDCDATA TYPE STANDARD TABLE OF BDCDATA INITIAL SIZE 0,
      IT_BDCMSGCOLL TYPE STANDARD TABLE OF BDCMSGCOLL INITIAL SIZE 0.
DATA: G_MESSAGE(70) TYPE C,
      BDCDATA TYPE BDCDATA,
      W_BDCMSG TYPE BDCMSGCOLL.
*Declaration of the Internal Table with Header Line comprising of the
*uploaded data.
DATA: BEGIN OF IT_FILE_UPLOAD OCCURS 0.
INCLUDE STRUCTURE ALSMEX_TABLINE. " Rows for Table with Excel Data
DATA: END OF IT_FILE_UPLOAD.
*S E L E C T I O N - S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME,
BEGIN OF BLOCK B2 WITH FRAME.
PARAMETERS: P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN: END OF BLOCK B2,
END OF BLOCK B1.
*E V E N T : AT S E L E C T I O N - S C R E E N *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SYST-REPID
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
STATIC = 'X'
MASK = '.'
CHANGING
FILE_NAME = P_FNAME
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
IF SY-SUBRC = 0.
ENDIF.
*S T A R T - O F - S E L E C T I O N
START-OF-SELECTION.
*Upload Excel file into Internal Table.
PERFORM UPLOAD_EXCEL_FILE.
*Organize the uploaded data into another Internal Table.
PERFORM ORGANIZE_UPLOADED_DATA.
POPULATE THE RECORDS IN WRITE STATEMENT
*PERFORM WRITE_RECORDS.
*E N D - O F - S E L E C T I O N
END-OF-SELECTION.
*& Form UPLOAD_EXCEL_FILE
*FORM UPLOAD_EXCEL_FILE .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FNAME
I_BEGIN_COL = 1
I_BEGIN_ROW = 2
I_END_COL = 5
I_END_ROW = 32000
TABLES
INTERN = IT_FILE_UPLOAD
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF SY-SUBRC = 0.
*MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*ENDFORM. " UPLOAD_EXCEL_FILE
*& Form ORGANIZE_UPLOADED_DATA
*FORM ORGANIZE_UPLOADED_DATA .
SORT IT_FILE_UPLOAD BY ROW COL.
LOOP AT IT_FILE_UPLOAD.
CASE IT_FILE_UPLOAD-COL.
WHEN 1.
WA_TABDATA-MATNR = IT_FILE_UPLOAD-VALUE.
WHEN 2.
WA_TABDATA-MBRSH = IT_FILE_UPLOAD-VALUE.
WHEN 3.
WA_TABDATA-MTART = IT_FILE_UPLOAD-VALUE.
WHEN 4.
WA_TABDATA-MAKTX = IT_FILE_UPLOAD-VALUE.
WHEN 5.
WA_TABDATA-MEINS = IT_FILE_UPLOAD-VALUE.
ENDCASE.
APPEND WA_TABDATA TO IT_TABDATA.
CLEAR: WA_TABDATA.
ENDLOOP.
*ENDFORM.
*perform open_group.
LOOP AT IT_TABDATA INTO WA_TABDATA.
perform bdc_dynpro      using 'SAPLMGMM' '0060'.
perform bdc_field       using 'BDC_CURSOR'
                              'RMMG1-MTART'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RMMG1-MATNR'
                               WA_TABDATA-MATNR.                 "'S1'.
perform bdc_field       using 'RMMG1-MBRSH'
                               WA_TABDATA-MBRSH.                 "'M'.
perform bdc_field       using 'RMMG1-MTART'
                               WA_TABDATA-MTART.          "'VKHM'
perform bdc_dynpro      using 'SAPLMGMM' '0070'.
perform bdc_field       using 'BDC_CURSOR'
                              'MSICHTAUSW-DYTXT(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ENTR'.
perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                              'X'.
perform bdc_dynpro      using 'SAPLMGMM' '4004'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BU'.
perform bdc_field       using 'MAKT-MAKTX'
                               WA_TABDATA-MAKTX.      " material
perform bdc_field       using 'BDC_CURSOR'
                              'MARA-MEINS'.
perform bdc_field       using 'MARA-MEINS'
                               WA_TABDATA-MEINS.                  "'KG'
perform bdc_field       using 'MARA-MTPOS_MARA'
                              'NORM'.
*perform bdc_transaction using 'MM01'.
*ENDLOOP.
*perform close_group.
CALL TRANSACTION 'MM01' USING IT_BDCDATA MODE 'A' UPDATE 'S' MESSAGES
INTO IT_BDCMSGCOLL.
CLEAR W_BDCMSG.
READ TABLE IT_BDCMSGCOLL INTO W_BDCMSG INDEX 1.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
   ID              = SY-MSGID
   LANG            = '-D'(001)
   NO              = SY-MSGNO
   V1              = SY-MSGV1
   V2              = SY-MSGV2
   V3              = SY-MSGV3
   V4              = SY-MSGV4
IMPORTING
   MSG             = G_MESSAGE
EXCEPTIONS
   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.
*WRITE : / W_UPLOAD-NEWBS ,'-----' , G_MESSAGE.
*REFRESH IT_BDCMSGCOLL.
ENDIF.
ENDLOOP.
       Start new screen
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
  CLEAR BDCDATA.
  BDCDATA-PROGRAM  = PROGRAM.
  BDCDATA-DYNPRO   = DYNPRO.
  BDCDATA-DYNBEGIN = 'X'.
  APPEND BDCDATA TO IT_BDCDATA.
  CLEAR BDCDATA.
ENDFORM.
       Insert field
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> NODATA.
    CLEAR BDCDATA.
    BDCDATA-FNAM = FNAM.
    BDCDATA-FVAL = FVAL.
    APPEND BDCDATA TO IT_BDCDATA.
    CLEAR BDCDATA.
ENDIF.
ENDFORM.
Waiting for your answers.....

Hi,
For every records in your Legacy File you should clear the internal table BDCDATA.
If it has headerline, REFRESH it.
While executing CALL TRANSACTION or BDC_INSERT, the internal table BDCDATA should contain details of only one record in Legacy File.
LOOP AT IT_TABDATA INTO WA_TABDATA.
************* Add this line
REFRESH BDCDATA.
************* Add this line
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MTART'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RMMG1-MATNR'
WA_TABDATA-MATNR. "'S1'.
perform bdc_field using 'RMMG1-MBRSH'
WA_TABDATA-MBRSH. "'M'.
perform bdc_field using 'RMMG1-MTART'
WA_TABDATA-MTART. "'VKHM'
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(01)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'MAKT-MAKTX'
WA_TABDATA-MAKTX. " material
perform bdc_field using 'BDC_CURSOR'
'MARA-MEINS'.
perform bdc_field using 'MARA-MEINS'
WA_TABDATA-MEINS. "'KG'
perform bdc_field using 'MARA-MTPOS_MARA'
'NORM'.
*perform bdc_transaction using 'MM01'.
*ENDLOOP.

Similar Messages

  • How to avoid the split problem when uploading the data from csv file

    Dear Friends,
                  I have to upload data from the .csv file to my custom table , i have found a problem when uploading the data .
    i am using the code as below , please suggest me what i have to do in this regard
          SPLIT wa_raw_csv  AT ',' INTO
                    wa_empdata_csv-status
                     wa_empdata_csv-userid
                     wa_empdata_csv-username
                     wa_empdata_csv-Title
                     wa_empdata_csv-department.
    APPEND wa_empdata_csv TO  itab.
    in the flat file i can see for one of the record for the field Title  as
    Director, Finance - NAR............there by through my code the  wa_empdata_csv-Title is getting splited data as "Director, and  Department field is getting Finance - NAR" , i can see that even though  " Director, Finance - NAR"  is one word it is getting split .
    .......which is the problem iam facing.Please could any body let me know how in this case i should handle in my code that this word
    "Director,Finance - NAR"   wil not be split into two words.
    Thanks & Records
    Madhuri

    Hi Madhuri,
    Best way to avoid such problem is to use TAB delimited file instead of comma separated data. Generally TAB does not appear in data.
    If you are generating the file, use tab instead of comma.
    If you cannot modify the format of file and data length in file is fixed character, you will need to define the structure and then move data in fixed length structure.
    Regards,
    Mohaiyuddin

  • Problem to upload the data into internal table record length more than 6000

    Hi all
            I stuck with this problem from past 3 days. I have to upload the data from excel sheet. iam making it tab delimited and trying to upload from gui_upload. but in the structure of file, we have, one field of 4000 characters, and other fields of 255 characters.
    how can i upload this into internal table . From excel sheet or from tab delimeted or any other format? or any special function module is there?  while iam doing this its truncating the datat 255 characters and not uploading the other fields also...
    can any one of you help me out. ASAP
    thnks in advance

    from one of the forum iam just pasting code which it is used in lsmw, try the same logic in ur code hope it can work.
    you have to create multiple lines with do...enddo loop., like this:
    (assuming excel_long_text-text is 924 characters long, 7 lines X 132 char)
    __GLOBAL_DATA__
    data: offset type i,
    text_132(132) type c.
    __BEGIN_OF_RECORD__ Before Using Conversion Rules
    Rule : Default Settings Modified
    Code: /sapdmc/ltxtl = init_/sapdmc/ltxtl.
    CLEAR offset.
    DO 7 TIMES.
    text_132 = excel_long_text-text+offset(132).
    offset = offset + 132.
    __END_OF_RECORD__ After Using Conversion Rules
    Rule : Default Settings Modified
    Code: transfer_record.
    ENDDO.
    also check this
    COMMIT_TEXT
    To load long text into SAP
    READ_TEXT
    To load long text into SAP

  • Problem in Committing the records

    Hello ,
    in my one use case i have to upload bulk data into data base.row may be more than 100000 .i need to read data from file then upload to table .i am able to created 100000 row of that particular VO .but when i am commit the records this throwing following error.i am not able to save the records.please guide me how to solved this issue .
    <Sep 28, 2011 10:24:23 AM IST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "617" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@5a00d0[
    POST /SahajBsnlBillPaymentApp-BsnlBillPaymentUi-context-root/faces/BsnlHomeLogin.jspx?_adf.ctrl-state=x7ahvxylv_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22 (.NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Content-Length: 328
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Referer: http://127.0.0.1:7101/SahajBsnlBillPaymentApp-BsnlBillPaymentUi-context-root/faces/BsnlHomeLogin.jspx?_afrLoop=918552278095&_afrWindowMode=0&_adf.ctrl-state=x7ahvxylv_4
    Cookie: JSESSIONID=L3rHTClShzwgByTvZkXz6t95CJhDdnxvzkx8X1QYhgn5VM2yfbzm!-1779058935
    Pragma: no-cache
    Cache-Control: no-cache
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
         oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
         oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8044)
         sahaj.apps.bsnlbillpayment.entity.ShjBsnlCdrBillingDetailsEOImpl.doDML(ShjBsnlCdrBillingDetailsEOImpl.java:644)
         oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6373)
         oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3172)
         oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2980)
         oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2018)
         oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2277)
         sahaj.apps.bsnlbillpayment.am.BsnlBillPaymentAMImpl.processFile(BsnlBillPaymentAMImpl.java:652)
         sahaj.apps.bsnlbillpayment.am.BsnlBillPaymentAMImpl.processFileReportByUI(BsnlBillPaymentAMImpl.java:517)
         sahaj.apps.bsnlbillpayment.ui.bean.UploadBillDetailsBean.uploadRecords(UploadBillDetailsBean.java:126)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
         oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    <Sep 28, 2011 10:24:23 AM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'StuckThread' with severity 'Notice' on server 'DefaultServer' has triggered at Sep 28, 2011 10:24:23 AM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND (MSGID = 'BEA-000337')
    WatchData: DATE = Sep 28, 2011 10:24:23 AM IST SERVER = DefaultServer MESSAGE = [STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "617" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@5a00d0[
    POST /SahajBsnlBillPaymentApp-BsnlBillPaymentUi-context-root/faces/BsnlHomeLogin.jspx?_adf.ctrl-state=x7ahvxylv_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22 (.NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Content-Length: 328
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Referer: http://127.0.0.1:7101/SahajBsnlBillPaymentApp-BsnlBillPaymentUi-context-root/faces/BsnlHomeLogin.jspx?_afrLoop=918552278095&_afrWindowMode=0&_adf.ctrl-state=x7ahvxylv_4
    Cookie: JSESSIONID=L3rHTClShzwgByTvZkXz6t95CJhDdnxvzkx8X1QYhgn5VM2yfbzm!-1779058935
    Pragma: no-cache
    Cache-Control: no-cache
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
         oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
         oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8044)
         sahaj.apps.bsnlbillpayment.entity.ShjBsnlCdrBillingDetailsEOImpl.doDML(ShjBsnlCdrBillingDetailsEOImpl.java:644)
         oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6373)
         oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3172)
         oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2980)
         oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2018)
         oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2277)
         sahaj.apps.bsnlbillpayment.am.BsnlBillPaymentAMImpl.processFile(BsnlBillPaymentAMImpl.java:652)
         sahaj.apps.bsnlbillpayment.am.BsnlBillPaymentAMImpl.processFileReportByUI(BsnlBillPaymentAMImpl.java:517)
         sahaj.apps.bsnlbillpayment.ui.bean.UploadBillDetailsBean.uploadRecords(UploadBillDetailsBean.java:126)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
         oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = WebLogicServer USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000337 MACHINE = ihcpc053 TXID = CONTEXTID = 545d50a55c708e9f:-372ee5c8:132ae563fe9:-8000-0000000000000025 TIMESTAMP = 1317185663864
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 600000
    >
    <Sep 28, 2011 10:24:25 AM IST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\documents and settings\pshaw\application data\jdeveloper\system11.1.1.3.37.56.60\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_26 with a lockout minute period of 1.>
    <Sep 28, 2011 10:25:23 AM IST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "677" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@5a00d0[
    POST /SahajBsnlBillPaymentApp-BsnlBillPaymentUi-context-root/faces/BsnlHomeLogin.jspx?_adf.ctrl-state=x7ahvxylv_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22 (.NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Content-Length: 328
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Referer: http://127.0.0.1:7101/SahajBsnlBillPaymentApp-BsnlBillPaymentUi-context-root/faces/BsnlHomeLogin.jspx?_afrLoop=918552278095&_afrWindowMode=0&_adf.ctrl-state=x7ahvxylv_4
    Cookie: JSESSIONID=L3rHTClShzwgByTvZkXz6t95CJhDdnxvzkx8X1QYhgn5VM2yfbzm!-1779058935
    Pragma: no-cache
    Cache-Control: no-cache
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
         oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
         oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8044)
         sahaj.apps.bsnlbillpayment.entity.ShjBsnlCdrBillingDetailsEOImpl.doDML(ShjBsnlCdrBillingDetailsEOImpl.java:644)
         oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6373)
         oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3172)
         oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2980)
         oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2018)
         oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2277)
         sahaj.apps.bsnlbillpayment.am.BsnlBillPaymentAMImpl.processFile(BsnlBillPaymentAMImpl.java:652)
         sahaj.apps.bsnlbillpayment.am.BsnlBillPaymentAMImpl.processFileReportByUI(BsnlBillPaymentAMImpl.java:517)
         sahaj.apps.bsnlbillpayment.ui.bean.UploadBillDetailsBean.uploadRecords(UploadBillDetailsBean.java:126)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
         oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >

    I have faced similar problems.
    Try commiting data in batches (may be 5000) if it is possible in your case, this will remove the heavy load to the ADF middle tire.
    see:
    Re: Maximum create call for the VO-Prasad

  • Problem while creating the record in IT0080 from background

    Dear All,
    I have a requirement to Create the record for Maternity Leave in IT0080 from background, whenever applied from ESS.
    Once the leave gets aaproved, while posting the documents from tcode PTARQ ( Program - RPTARQPOST), in the BADI PT_ABS_REQ, in method IF_EX_PT_ABS_REQ~POST_VIA_BLOP for the implementation, I am trying to submit the program in which the actual record is created in IT0080.
    In this program through BDC i have created the BDC data and have used CALL transaction, as internally IT 2001 also needs to be updated, which gets calculated  indirectly...
    But when executed, it gives error of Employee cannot be locked... as the Document which is posted through PTARQ, have several locks... I tried to dequeue the same...
    but cannot resolve the problem...
    Secondly i tried to create the Job also... which would be executed after some time... but still its not getting updated...
    Any help... will be highly appreciated...
    Regards,
    Heena

    Hello s.s
    I'm not understand exacly what is your problem?
    Field can have both values at the same time(Time Stamp and User stamp)  only if that field calculated
    Maybe you told about two different fields?
    User stamp field return username only it's standart functionality
    Create stamp - return date/time combination
    Remote key is avialable when you repository configured to work with some remote systems
    All records from repository (LUT, taxonomy attributes ets.) you can map to corresponding Destination items
    Regards
    Kanstantsin

  • Problem with uploading screen recording to YouTube

    Hello,
    when I record my screen in QT and want to upload the video to youtube by Share->youtube, the uploaded video on youtube has first 3-5 seconds damaged. Why that happen? How can I avoid it?

    Some useful information here:
    http://www.google.com/support/youtube/bin/topic.py?hl=en-uk&topic=16560

  • Problem in querying the records

    what is the thing changing the values on my master/detail form n giving me a message that "do u want to save the record" on fetching of each record? even if there is not pre or post-query trigger. is there any problem in the default Master-Detail trigger created while creating a relation? plzzz tell me this

    Sometimes it happens when some plsql program modifies the value of a database field in one of the database blocks. So try checking all your plsql. As there is no other reason for it. Becoz master-detail relation never does it.

  • Problem while uploading the data in IBPI Transaction

    Hi All,
    Here i am processing the (data for IW22)session from sm35, here i am getting error Mallfunction End(Time).
    Anybody can help me in this. It is very urgent.
    Thanks & Regards,
    Venkat N

    Hi
    Even we are facing the same issue and even after we UnProtect the record, the problem persists and we are unable to change or modify record in MDM.
    Temporary solution could be to re-start the MDM services.
    We have also raised a OSS note on the same with SAP, hopefully this will get sorted out.
    Regards
    Navneet

  • Problem in uploading the rpt file in BO server

    We have the enterprise edition of Business Objects server, which is available in the Solaris 10 machine. We try to upload the rpt file using the Central Management Console Log in, it shows in progress up to 20 min, after that we got the connection time out error. The same report is uploaded easily in the Business Objects server, which is available in windows machine. Solaris environment only we got this error.
    Any bodies help me why BO, which is available in Solaris server, is not supporting to upload the rpt file. (If any installation problem, or need to configure some parameters).
    RPT file upload only have this problem, other type of files we can easily uploaded.
    Thanks in advance.

    Hi,
    That's a really old post up there, and the forums have since been redesigned.
    The forum finder is over here: http://scn.sap.com/docs/DOC-18971
    A good collection of BusinessObjects related links can be found here: http://scn.sap.com/docs/DOC-30682
    This forum space http://scn.sap.com/community/businessobjects-bi-legacy-products is the most appropriate one if your product question is similar to that above.
    Regards ,
    H

  • Problem in filtering the records in Query

    Dear Gurus,
    I am struck with a problem of filtering data and am not able to visualize the solution so need a solution.
    so here is the requirement:
    I have a multiprovider with 3 infocubes.
    All these infocubes have a dimension names product family and in it there is a infoobject named FAMILY & it is having a attribute named DATE and DATE attribute is not a navigational attribute of FAMILY.
    Example:
    family : A
    attribute date: #
    for period: 011.2010
    family : A
    attribute date: #
    for period: 012.2010
    family : A
    attribute date:01.01.2011
    for period: 001.2011
    family : A
    attribute date: #
    for period: 002.2011
    if user run the query in 012.2010 i mean december 2010 then the above two record should be displayed & if he run the query in jan 2011 then only jan record should be shown because there a date in it & old record should not come. again if he run the query in feb 2011 then only the records for jan and feb should come old record before the date should not come.
    I mean once the value show up in the attribute date it should not pick old values but only pick new values.
    Thanks to all!

    Hi Mario,
                  When I format date as DSTR(@date_from & : &@date_to, 'dd.mm.yyyy') it shows blank values in the output for date field. rest of the values are displayed.
                  Mario can you tell anything about second part of my question. I am getting 'Result' at output.

  • Problem in sorting the records

    Hi All,
    I have to sort some records based on a key. If the key field is optional then how to sort the records. For example consider the follwing records.
    <row>
          <name>jaya</name>
          <address>hyd</address>
          <material>d</material>
          <units>4</units>
          <price>6</price>
    </row>
      <row>
          <address>ss</address>
          <material>wd</material>
          <units>7</units>
          <price>9</price>
       </row>
    <row>
          <name>radha</name>
          <address>pune</address>
          <material>g</material>
          <units>9</units>
          <price>3</price>
    </row>
    Here name field is used as a key in sorting the records. in the second record name field does'nt exists. All the records that doesnt have the name field shud come on the top and the rest with name field shud come sorted.
    Can anyone please helpout how to solve this problem??

    Jhansi,
    Did u solved the issue? The scenario is lil bit complicated, please consider my below suggestion, if you haven't achieved your results.
    I must really thankful to Michal and all my SDN friends,who guided me to use the logic-using multiple Mapping program in one Interface mapping.
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    Ok, let us come to the logic.
    For your problem we need to use two mapping programs.
    <b>Mapping Program 1</b>
    http://www.flickr.com/photo_zoom.gne?id=897495319&size=o
    <b>Mapping Program 2</b>
    http://www.flickr.com/photo_zoom.gne?id=897495327&size=o
    http://www.flickr.com/photo_zoom.gne?id=897495341&size=o
    <b>UDF1 - Testing</b>
    http://www.flickr.com/photo_zoom.gne?id=897495429&size=o
    String temp;
    for(int i=0;i<Name.length;i++)
    for(int j=i1;j<Name.length;j+)
    if(Name<b>[</b>i<b>]</b>.compareToIgnoreCase(Name[j])>0)
               temp = Name<b>[</b>i<b>]</b>;
                Name<b>[</b>i<b>]</b>= Name[j];
                Name[j]=temp;
    for(int i=0;i<Name.length;i++)
    if(Name<b>[</b>i<b>]</b>.equals("0"))
    result.addSuppress();
    result.addContextChange();
    else
    result.addValue(""Name<b>[</b>i<b>]</b>"");
    result.addContextChange();
    <b>UDF 2 - Testin1</b>
    http://www.flickr.com/photo_zoom.gne?id=897495437&size=o
    String temp,temp1;
    for(int i=0;i<Name.length;i++)
    for(int j=i1;j<Name.length;j+)
    if(Name<b>[</b>i<b>]</b>.compareToIgnoreCase(Name[j])>0)
               temp = Name<b>[</b>i<b>]</b>;
                Name<b>[</b>i<b>]</b>= Name[j];
                Name[j]=temp;
          temp = Values<b>[</b>i<b>]</b>;
                Values<b>[</b>i<b>]</b>= Values[j];
                Values[j]=temp;
    for(int i=0;i<Values.length;i++)
    result.addValue(""Values<b>[</b>i<b>]</b>"");
    result.addContextChange();
    <b>Interface Mapping</b>
    http://www.flickr.com/photo_zoom.gne?id=897495361&size=o
    <b>Finally -Results:</b>
    http://www.flickr.com/photo_zoom.gne?id=897498639&size=o (My Data)
    http://www.flickr.com/photo_zoom.gne?id=897498659&size=o (Your Data)
    I hope it helps you!!!!
    I don't know whether this is the correct way or any other simplest way to do so. Also I request our friends to feedback their inpute regarding this logic.
    Jhansi,if you have any doubts in achieving the same, kindly reply back.
    Best regards,
    raj.

  • Problem with uploading the role from backend R3 ECC 5.0 system

    hi all gurus,
             i have created one role in the back end sustem and then assigned it to one user.
             Now i have created one system to connect that backend system and mapped one portal user to that backend system user then i tried fro uploading the role problem.
             Now after prosessing the role upload it will show the report with error for "PROCESSING ATTRIBUTES" as follow:
    15:31:18.452  Error Click for Details   Processing attributes
    Then after click8ing on it it shows following thing
    Time Stamp Severity Severity Text Details Stack Trace Message Text Message Long Text
    15:31:18.593  Error   Click for Stack Trace Target undefined for type '0', system 'VR1CLNT800', key '* unknown *', subKey 'null'. SEVERE: getObject(portal_content/com.sap.portal.migrated/SAPComponentSystems/com.vcerp.ZTEST_UPLOAD1), entry '[RoleMenu, 00001034, , , 00000525, * unknown *, * unknown *, * unknown *, , VR1CLNT800, 00139842, 00000234]'.   
    15:31:19.93  Error   Click for Stack Trace Target undefined for type '0', system 'VR1CLNT800', key '* unknown *', subKey 'null'. SEVERE: getObject(portal_content/com.sap.portal.migrated/SAPComponentSystems/com.vcerp.ZTEST_UPLOAD1), entry '[RoleMenu, 00000387, , , 00000155, * unknown *, * unknown *, * unknown *, , VR1CLNT800, 00141548, 00001073]'.  
    15:31:19.218  Error   Click for Stack Trace Target undefined for type '0', system 'VR1CLNT800', key '* unknown *', subKey 'null'. SEVERE: getObject(portal_content/com.sap.portal.migrated/SAPComponentSystems/com.vcerp.ZTEST_UPLOAD1), entry '[RoleMenu, 00000922, , , 00000469, * unknown *, * unknown *, * unknown *, , VR1CLNT800, 00142382, 00001486]'. 
    and after clicking on one of the row on "Click for stack strace" It shows the following thing in "Stack trace for exception " window.
    com.sap.portal.pcd.rolemigration.RoleMigrationException: Target undefined for type '0', system 'VR1CLNT800', key '* unknown *', subKey 'null'. at com.sap.portal.pcd.rolemigration.RoleMigration.getTargetUrl(RoleMigration.java:780) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.attrsRoleMenuItem(RoleMigrationObject.java:2999) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.addRoleAttibutes(RoleMigrationObject.java:3584) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:1719) at com.sap.portal.pcd.rolemigration.RoleMigrationObject.migrate(RoleMigrationObject.java:769) at com.sap.portal.pcd.rolemigration.RoleMigrationThread.run(RoleMigrationThread.java:484)
    So please help me to sort out this problem.
    for further attachments
    my email id is [email protected]
    thanks in advance,
    regards,
    Hardik.

    OPEN DATASET i_dsn IN LEGACY TEXT MODE FOR INPUT
    for this statement add ENCODING DEFAULT
    Reward if useful
    Naveen

  • Problem in Modifying the records

    Hi all,
    I have a button "Find", when the button is Pressed, I've to query the records and modify the records. I have to modify only the "Reading" Column in only one row.
    It is querying all the records successfully (here retrieves 10 records) but when I modify the Reading value in one Row, all the 10 records are inserting as new row. Am not able to update.
    Please suggest me with the solution.
    Regards,
    Mini

    Hi Mini
    Sounds Strange and i think the problem resides in ur design of code in Find Button So i suggest to Share us the Code pls.
    Well ,for now u can try to use ...
    IF :system.current_record THEN
    END IF;Hope this helps...
    Regards,
    Abdetu...

  • Problem while uploading the file page is not forwarding

    Hi,
    Please tell me the solution for this.
    I'm uploading the file, i'm getting the values very thing, but the page is not forwarding what happening i don't no.
    Here is the code.
    <HTML>
    <%@ page language="java" import="javazoom.upload.*,java.util.*" %>
    <%@ page errorPage="ExceptionHandler.jsp" %>
    <HEAD>
    <BODY style="font:'Bookman Old Style' size="3"">
    <jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
    </jsp:useBean>
    <%
    // Uploading file code
    if (MultipartFormDataRequest.isMultipartFormData(request))
    // Uses MultipartFormDataRequest to parse the HTTP request.
         MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);
    String todo = null;
         if (mrequest != null) todo = mrequest.getParameter("todo");
         if ( (todo != null) && (todo.equalsIgnoreCase("upload")) )
                        Hashtable files = mrequest.getFiles();
         UploadFile file = (UploadFile) files.get("uploadfile");
              if ((file != null) && (file.getFileSize() <= 82000))
                        {System.out.println("<li>Form field : uploadfile"+"<BR> Uploaded file : "+file.getFileName()+" ("+file.getFileSize()+" bytes)"+"<BR> Content Type : "+file.getContentType());
                    // Uses the bean now to store specified by jsp:setProperty at the top.
                        upBean.store(mrequest, "uploadfile");
                        else
                        System.out.println("Not Uploaded");
    if (mrequest != null)
         String Schoolname= mrequest.getParameter("schoolname");
         session.setAttribute("saSchoolname", Schoolname);
    System.out.println("Schoolname     "+Schoolname);
    %>
                        <jsp:forward page="FileTransfer.jsp"/>
    <%     
         else out.println("<BR> todo="+todo);
    //System.out.println(session.getAttribute("saswrite"));
    String amessage = request.getParameter("passmsg");
    %>
    <form name='subregiform' method="POST" onsubmit='return checkForm()' action ="FileSubmit2.jsp" ENCTYPE="multipart/form-data">
    <table width="491" border="0" cellpadding="2" >
    <tr>
    <td width="171" align="right"><br> S.S.C  :</td>
    <td width="103" align="center">Institution Name
         <input type="text" name="schoolname" size = 12 maxlength = 35 value = <%
              if(session.getAttribute("saSchoolname")!= null){%>
         <%=session.getAttribute("saSchoolname")%><%}%>>     </td>
    <tr><td width="165"><div align="right">Upload Resume :<br> <br> <br></div></td>
    <td width="356"><input type="file" name="uploadfile" size = 20>
    <font size=1><br>    <I>(Only .doc,.rtf,.txt,.html)</I></font><BR>
       <% if (amessage !=null){ %><FONT SIZE="" COLOR="RED"><strong><%= amessage %></strong></FONT><% }%> </td>
    </tr>
    <tr>
    <td colspan="2">
    <p align="center">
         <input type="hidden" name="todo" value="upload">
    <input type="submit" name="Submit" value="Submit">
         </p>
    </td>
    </tr>
    </table>
    </form>
    </BODY>
    </HTML>

    This code is a mess! Don't put your logic and control into your JSP; use the JSP only for display!
    As for your error, it's because you can't forward after the response has been committed. An illegal state exception will be thrown except you can't see it in the browser because the server has already committed the response and can't change it now. You need to get rid of the forward action. Put in a link to that page instead. Or use a a meta tag to redirect.
    But really, this code cannot be modified to get rid of the problem. It should be scrapped and you should rethink your design. Have a servlet do your control and all this uploading code should also be put into a servlet; never in a JSP
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    Edited by: nogoodatcoding on Oct 5, 2007 2:56 PM

  • Checkbox problem with wieving the records on datapage

    Hi guys!
    I generate in my MultirowEditForm 4 columns (Id, Name, Deletion, Reason). I can change just Deletion(it's checkbox Y/N) and Reason(it's Textfield) column.
    I want to do following and don't know how :-)
    On the top of the page I want to have another checkbox that will works as follows.
    If it's checked I want to view just the records, where Deletion is checked.
    If it's unchecked I want to see all the records from database.
    Can anybody help me to solve it?
    Thanks a lot
    regards

    Does anybody have any idea how to solve it, please?
    Thank you

Maybe you are looking for

  • Final Cut Express 4.0.1 bug

    Hello Forgive me for my English language, I translated with Google Translate French into English ... My problem: I have Final Cut Express 4.0.1, but there is a big bug! Sometimes hi just blend films is that the images are from the beginning to the en

  • Soundtrack Pro 3.01

    Sent a 14 minute film(DV Pal)  as a multitrack session from FCP and the application crashes as soon as I click on the edge of an audio cue Tried sending without any vision and no difference. Going to try an Media Managed version of the sequence. Afte

  • Dropdown with two rawValues

    Is it possible to have a dropdown list object with two rawValues? For example: John Smith is the diplayed name and the rawValues are his email address and authorized spending limit (5000). [email protected], 5000 If yes, I want the 5000 dollars to ap

  • Satellite P745-S4217: No WLan connection if 10-12 feet away from router

    Hi everyone! I have a problem with my wify conecction. When Im near the router, the wifi conecction works perfect, I get a full wifi indicator on windows and I have no trouble surfing the web. But when I move 10 or 12 feet away from the router, altho

  • Software update for 6233 via my Mac

    Can someone tell me how I can do a ""Firmware update" using my Mac? I need to fix a bug, and apparently need to download this, only to find it's only for PCs? HELP??