Updation not happening once after the material has been extened

Dear Guru's,
                   I want to extend materials from one plant to another plant. I am using BAPI_MATERIAL_SAVEDATA.
every thing is doing good but the material was updated in the destination plant. I have used BAPI_TRANSACTION_COMMIT' also. ans not all getting any any error message. In the return table i am getting success message. please help me. I am sending my code also. please gothrough and give suggestion . it very urgent.
points will be given for solving the problem.
Thanks in advance.
REPORT  ZMMR_MATERIAL_EXTENSION.
TABLES: T001L, "Storage Locations
        MARA,  "General Material Data
        MAKT,  "Material Descriptions
        MBEW,  "Material Valuation
        MARC,  "Plant Data for Material
        MARD.  " Storage location
DATA : INDEX LIKE SY-TABIX.
DATA: BAPI_HEAD   LIKE BAPIMATHEAD,
      BAPI_MAKT   LIKE BAPI_MAKT,    "Material Description
      BAPI_MARA1  LIKE BAPI_MARA,    "Client Data
      BAPI_MARAX  LIKE BAPI_MARAX,
      BAPI_MARC1  LIKE BAPI_MARC,    "Plant View
      BAPI_MARCX  LIKE BAPI_MARCX,
      BAPI_MBEW1  LIKE BAPI_MBEW,    "Accounting View
      BAPI_MBEWX  LIKE BAPI_MBEWX,
      BAPI_MARD1  LIKE BAPI_MARD,   " STORAGE LOCATION
      BAPI_MARDX  LIKE BAPI_MARDX,
      BAPI_RETURN LIKE BAPIRET2.
DATA: BEGIN OF INT_MAKT OCCURS 100.
        INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF INT_MAKT.
for material updation*******
*data:mara_data type bapi_mara,
*mara_datax type bapi_marax,
*wa_bapi_te_mara type bapi_te_mara,
*wa_bapi_te_marax type bapi_te_marax,
*wa_valuepart(960),
*wa_valuepartx(960),
*t_extin type table of bapiparex,
*t_extinx type table of bapiparexx,
*d_extin type bapiparex,
*d_extinx type bapiparexx,
*ret type bapiret2.
DATA: BEGIN OF INT_MAT OCCURS 100,
         WERKS(4),     "Plant
         MTART(4),     "Material type
         MATNR(18),    "Material number
         MATKL(9) ,    "Material group
         MBRSH(1),     "Industry sector
         MEINS(3),     "Base unit of measure
         GEWEI(3),     "Weight Unit
         SPART(2),     "Division
         TRAGR(4),      "Transportation group
         EKWSL(4),      "Purchasing Value Key
marc
         EKGRP(3),     "Purchasing group
         MTVFP(2),     "Checking Group for Availability Check
         LADGR(4),     "Loading group
         PRCTR(10),    "Profit Center
         WEBAZ    like BAPI_MARC-GR_PR_TIME,     "Goods receipt processing time in days.
         PERKZ(1),      "Period indicator
         AWSLS(6),      "Variance Key
         DISGR(4),      "MRP Group
         DISMM(2),      "MRP Type
         DISPO(3),      "MRP controller
         DISLS(2),      "Lot size (materials planning)
         BESKZ(1),      "Procurement Type
         DZEIT like BAPI_MARC-INHSEPRODT,     "In-house production time.
         PLIFZ like BAPI_MARC-PLND_DELRY,     "Planned delivery time in days.
makt
         SPRAS(2),     "Language key
         MAKTX(40),    "Material description
***mbew
          BKLAS(4),                            "Valuation Class.
          VPRSV(1),                           "Price control indicator
          VERPR like BAPI_MBEW-MOVING_PR,      "Moving Average Price
          STPRS like BAPI_MBEW-STD_PRICE,      "Standard price
          PEINH like BAPI_MBEW-PRICE_UNIT,     "Price unit
****mard
          LGORT(4),                            "Storage location
       END OF INT_MAT.
SELECT-OPTIONS:
            PLANT    FOR  MARC-WERKS OBLIGATORY MEMORY ID PLT,
            MATERIAL FOR  MARA-MATNR MEMORY ID MAT,
            MATLTYPE FOR  MARA-MTART MEMORY ID MTY,
            DIVISION FOR  MARA-SPART MEMORY ID DIV.
PARAMETERS:  F_FILE LIKE RLGRAP-FILENAME
             DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
             GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
             UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
IF GETDATA = 'X'.
  PERFORM DOWNLOAD_DATA.
  PERFORM DOWNLOAD_FILE.
ENDIF.
IF UPDDATA = 'X'.
  PERFORM UPLOAD_FILE.
  PERFORM UPDATE_MM.
ENDIF.
*&      Form  DOWNLOAD_DATA
      text
FORM DOWNLOAD_DATA.
*IF MATLTYPE-LOW NE 'SFGD' OR MATLTYPE-LOW NE 'SPRS'.
  SELECT * FROM MARC  WHERE LVORM EQ ' '
                        AND WERKS IN PLANT
                        AND MATNR IN MATERIAL.
    CLEAR MARA.
    SELECT SINGLE * FROM MARA WHERE MATNR =  MARC-MATNR .
   CHECK MATLTYPE.
    IF MARA-MTART  = 'SFGD' or MARA-MTART  = '' or MARA-MTART = 'SPRS'.
      clear : MARA,INT_MAT.
      continue.
    ENDIF.
    CHECK DIVISION.
    CLEAR MBEW.
    SELECT SINGLE * FROM MBEW WHERE MATNR =  MARC-MATNR
                                AND BWKEY =  MARC-WERKS.
    CLEAR MAKT.
    SELECT SINGLE * FROM MAKT WHERE SPRAS =  'EN'
                                AND MATNR =  MARC-MATNR.
    CLEAR MARD.
    SELECT SINGLE * FROM MARD WHERE MATNR =  MARC-MATNR
                                AND WERKS =  MARC-WERKS.
    WRITE:/ MARC-WERKS,    "Plant
            MARA-MTART,    "Material type
            MARA-MATNR,    "Material number
            MARA-MATKL,    "Material group
            MARA-MBRSH,    "Industry sector
            MARA-MEINS,    "Base unit of measure
            MARA-GEWEI,    "Weight Unit
            MARA-SPART,    "Division
            MARA-TRAGR,    "Trasaction Group
            MARA-EKWSL,    "Purchase Value key
           MARA-IPRKZ,    "Period indi.for. SLED.
            MARC-EKGRP,    "Purchasing group
            MARC-MTVFP,    "Availability check
            MARC-LADGR,    "Loading grp.
            MARC-PRCTR,    "Profit Center
            MARC-WEBAZ,    "GR processing time
            MARC-PERKZ,    "Period Indicator
            MARC-AWSLS,    "Variance key
            MARC-DISGR,    "MRP GROUP
            MARC-DISMM,    "MRP TYPE
            MARC-DISPO,    "MRP CONTOLLER
            MARC-DISLS,    "LOT SIZE
            MARC-BESKZ,    "PROCUREMENT TYPE
            MARC-DZEIT,    "IN-HOUSE PRD TIME
            MARC-PLIFZ,    "PLANT DELIVERY TIME
            MBEW-BKLAS,    "VALUATION CLASS
            MBEW-VPRSV,    "Price control indicator
            MBEW-VERPR,    "MOVING PRICE
            MBEW-STPRS,    "Standard price
            MBEW-PEINH,    "Price unit
            MAKT-SPRAS,    "Language key
            MAKT-MAKTX,    "Material description
            MARD-LGORT.    "Storage location.
    INT_MAT-WERKS = MARC-WERKS.    "Plant
    INT_MAT-MTART = MARA-MTART.    "Material type
    INT_MAT-MATNR = MARA-MATNR.    "Material number
    INT_MAT-MATKL = MARA-MATKL.    "Material group
    INT_MAT-MBRSH = MARA-MBRSH.    "Industry sector
    INT_MAT-MEINS = MARA-MEINS.    "Base unit of measure
    INT_MAT-GEWEI = MARA-GEWEI.    "Weight Unit
    INT_MAT-SPART = MARA-SPART.    "Division
    INT_MAT-TRAGR = MARA-TRAGR.    "Trasaction Group
    INT_MAT-EKWSL = MARA-EKWSL.    "Purchase Value key
   INT_MAT-IPRKZ = MARA-IPRKZ.    "Period indi.for. SLED.
    INT_MAT-EKGRP = MARC-EKGRP.    "Purchasing group
    INT_MAT-MTVFP = MARC-MTVFP.    "Availability check
    INT_MAT-LADGR = MARC-LADGR.    "Loading grp.
    INT_MAT-PRCTR = MARC-PRCTR.    "Profit Center
    INT_MAT-WEBAZ = MARC-WEBAZ.    "GR processing time
    INT_MAT-PERKZ = MARC-PERKZ.    "Period Indicator
    INT_MAT-AWSLS = MARC-AWSLS.    "Variance key
    INT_MAT-DISGR = MARC-DISGR.    "MRP GROUP
    INT_MAT-DISMM = MARC-DISMM.    "MRP TYPE
    INT_MAT-DISPO = MARC-DISPO.    "MRP CONTOLLER
    INT_MAT-DISLS = MARC-DISLS.    "LOT SIZE
    INT_MAT-BESKZ = MARC-BESKZ.    "PROCUREMENT TYPE
    INT_MAT-DZEIT = MARC-DZEIT.    "IN-HOUSE PRD TIME
    INT_MAT-PLIFZ = MARC-PLIFZ.    "PLANT DELIVERY TIME
    INT_MAT-BKLAS = MBEW-BKLAS.    "Valution class
    INT_MAT-VPRSV = MBEW-VPRSV.    "Price control indicator
    INT_MAT-VERPR = MBEW-VERPR.    "Moving price
    INT_MAT-STPRS = MBEW-STPRS.    "Standard price
    INT_MAT-PEINH = MBEW-PEINH.    "Price unit
    INT_MAT-SPRAS = MAKT-SPRAS.    "Language key
    INT_MAT-MAKTX = MAKT-MAKTX.    "Material description
    INT_MAT-LGORT = MARD-LGORT.    " Storage location
    APPEND INT_MAT.
    CLEAR  INT_MAT.
  ENDSELECT.
*ENDIF.
ENDFORM.                    "DOWNLOAD_DATA
*&      Form  DOWNLOAD_FILE
      text
FORM DOWNLOAD_FILE.
  call function 'WS_DOWNLOAD'
    EXPORTING
      FILENAME                      = F_FILE
      FILETYPE                      = 'DAT'
  FILETYPE                      = 'WK1'
    tables
      data_tab                      = INT_MAT
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_WRITE_ERROR              = 2
      INVALID_FILESIZE              = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      OTHERS                        = 10.
  IF SY-SUBRC = 0.
    FORMAT COLOR COL_GROUP.
    WRITE:/ 'Data Download Successfully to your local harddisk'.
    SKIP.
  ENDIF.
ENDFORM.                    "DOWNLOAD_FILE
*&      Form  UPLOAD_FILE
      text
FORM UPLOAD_FILE.
  call function 'WS_UPLOAD'
    EXPORTING
      FILENAME                      = F_FILE
      FILETYPE                      = 'DAT'
  FILETYPE                      = 'WK1'
    tables
      data_tab                      = INT_MAT
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_WRITE_ERROR              = 2
      INVALID_FILESIZE              = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      OTHERS                        = 10.
  IF SY-SUBRC = 0.
    FORMAT COLOR COL_GROUP.
    WRITE:/ 'Data Upload Successfully from your local harddisk'.
    SKIP.
  ENDIF.
ENDFORM.                    "UPLOAD_FILE
*&      Form  UPDATE_MM
      text
FORM UPDATE_MM.
  LOOP AT INT_MAT.
Header
    BAPI_HEAD-MATERIAL        = INT_MAT-MATNR.
    BAPI_HEAD-IND_SECTOR      = INT_MAT-MBRSH.
    BAPI_HEAD-MATL_TYPE       = INT_MAT-MTART.
    BAPI_HEAD-BASIC_VIEW      = 'X'.
    BAPI_HEAD-PURCHASE_VIEW   = 'X'.
    BAPI_HEAD-ACCOUNT_VIEW    = 'X'.
    BAPI_HEAD-MRP_VIEW        = 'X'.
    BAPI_HEAD-STORAGE_VIEW    = 'X'.
   BAPI_HEAD-QUALITY_VIEW    = 'X'.
   BAPI_HEAD-COST_VIEW       = 'X'.
   wa_bapi_te_mara-material = INT_MAT-MATNR.
   wa_bapi_te_marax-material = INT_MAT-MATNR.
Material Description
    REFRESH INT_MAKT.
    INT_MAKT-LANGU           = INT_MAT-SPRAS.
    INT_MAKT-MATL_DESC       = INT_MAT-MAKTX.
    APPEND INT_MAKT.
   sorage location.
   BAPI_MARD1-PLANT         = INT_MAT-WERKS.
   BAPI_MARD1-STGE_LOC      = INT_MAT-LGORT.
   BAPI_MARDX-PLANT         = INT_MAT-WERKS.
   BAPI_MARDX-STGE_LOC      = INT_MAT-LGORT.
Client Data - Basic
    BAPI_MARA1-MATL_GROUP     = INT_MAT-MATKL.
    BAPI_MARA1-BASE_UOM       = INT_MAT-MEINS.
    BAPI_MARA1-UNIT_OF_WT     = INT_MAT-GEWEI.
    BAPI_MARA1-DIVISION       = INT_MAT-SPART.
    BAPI_MARA1-TRANS_GRP      = INT_MAT-TRAGR.
    BAPI_MARA1-PUR_VALKEY     = INT_MAT-EKWSL.
    BAPI_MARAX-MATL_GROUP = 'X'.
    BAPI_MARAX-BASE_UOM   = 'X'.
    BAPI_MARAX-UNIT_OF_WT = 'X'.
    BAPI_MARAX-DIVISION   = 'X'.
    BAPI_MARAX-TRANS_GRP  = 'X'.
    BAPI_MARAX-PUR_VALKEY = 'X'.
Plant - Purchasing
    BAPI_MARC1-PLANT      = INT_MAT-WERKS .     "PLANT-LOW.
    BAPI_MARC1-PUR_GROUP  = INT_MAT-EKGRP.
    BAPI_MARC1-AVAILCHECK = INT_MAT-MTVFP.
    BAPI_MARC1-LOADINGGRP = INT_MAT-LADGR.
    BAPI_MARC1-PROFIT_CTR = INT_MAT-PRCTR.   " profit center and plant are same
    BAPI_MARC1-GR_PR_TIME = INT_MAT-WEBAZ.
    BAPI_MARC1-PERIOD_IND = INT_MAT-PERKZ.
    BAPI_MARC1-VARIANCE_KEY = INT_MAT-AWSLS.
    BAPI_MARC1-MRP_GROUP =  INT_MAT-DISGR.
    BAPI_MARC1-MRP_TYPE  =  INT_MAT-DISMM.
    BAPI_MARC1-MRP_CTRLER = INT_MAT-DISPO.
    BAPI_MARC1-LOTSIZEKEY = INT_MAT-DISLS.
    BAPI_MARC1-PROC_TYPE =  INT_MAT-BESKZ.
    BAPI_MARC1-INHSEPRODT = INT_MAT-DZEIT.
    BAPI_MARC1-PLND_DELRY = INT_MAT-PLIFZ.
    BAPI_MARCX-PLANT      = INT_MAT-WERKS .         " PLANT-LOW.
    BAPI_MARCX-PUR_GROUP  = 'X'.
    BAPI_MARCX-AVAILCHECK = 'X'.
    BAPI_MARCX-LOADINGGRP = 'X'.
    BAPI_MARCX-PROFIT_CTR = 'X'.
    BAPI_MARCX-GR_PR_TIME = 'X'.
    BAPI_MARCX-PERIOD_IND = 'X'.
    BAPI_MARCX-VARIANCE_KEY = 'X'.
    BAPI_MARCX-MRP_GROUP   = 'X'.
    BAPI_MARCX-MRP_TYPE    = 'X'.
    BAPI_MARCX-MRP_CTRLER  = 'X'.
    BAPI_MARCX-LOTSIZEKEY  = 'X'.
    BAPI_MARCX-PROC_TYPE   = 'X'.
    BAPI_MARCX-INHSEPRODT  = 'X'.
    BAPI_MARCX-PLND_DELRY  = 'X'.
Accounting
    BAPI_MBEW1-VAL_AREA       = INT_MAT-WERKS.
    BAPI_MBEW1-VAL_CLASS      = INT_MAT-BKLAS.
    BAPI_MBEW1-PRICE_CTRL     = INT_MAT-VPRSV.
    BAPI_MBEW1-MOVING_PR      = INT_MAT-VERPR.
    BAPI_MBEW1-STD_PRICE      = INT_MAT-STPRS.
    BAPI_MBEW1-PRICE_UNIT     = INT_MAT-PEINH.
    BAPI_MBEWX-VAL_AREA   = INT_MAT-WERKS.
    BAPI_MBEWX-VAL_CLASS  = 'X'.
    BAPI_MBEWX-PRICE_CTRL = 'X'.
    BAPI_MBEWX-MOVING_PR  = 'X'.
    BAPI_MBEWX-STD_PRICE  = 'X'.
    BAPI_MBEWX-PRICE_UNIT = 'X'.
************for testing purpose
*wa_valuepart = wa_bapi_te_mara.
*d_extin-structure = 'BAPI_TE_MARA'.
*d_extin-valuepart1 = wa_valuepart(240).
*d_extin-valuepart2 = wa_valuepart+240(240).
*d_extin-valuepart3 = wa_valuepart+480(240).
*d_extin-valuepart4 = wa_valuepart+720(240).
*wa_valuepartx = wa_bapi_te_marax.
*d_extinx-structure = 'BAPI_TE_MARAX'.
*d_extinx-valuepart1 = wa_valuepartx(240).
*d_extinx-valuepart2 = wa_valuepartx+240(240).
*d_extinx-valuepart3 = wa_valuepartx+480(240).
*d_extinx-valuepart4 = wa_valuepartx+720(240).
*append d_extin to t_extin.
*append d_extinx to t_extinx.
remove up to here only.
*WRITE:/ BAPI_HEAD, BAPI_MARC1.
    call function 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        HEADDATA            = BAPI_HEAD
        CLIENTDATA          = BAPI_MARA1
        CLIENTDATAX         = BAPI_MARAX
        PLANTDATA           = BAPI_MARC1
        PLANTDATAX          = BAPI_MARCX
        STORAGELOCATIONDATA = BAPI_MARD1
        STORAGELOCATIONDATAX = BAPI_MARDX
        VALUATIONDATA       = BAPI_MBEW1
        VALUATIONDATAX      = BAPI_MBEWX
      IMPORTING
        RETURN              = BAPI_RETURN
      TABLES
        MATERIALDESCRIPTION = INT_MAKT.
              extensionin = t_extin
             extensioninx = t_extinx.
    IF BAPI_RETURN-TYPE = 'S'  .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = ''.
   ENDIF.
    IF BAPI_RETURN-TYPE = 'E'.
      WRITE:/ 'Error Message ', BAPI_RETURN-NUMBER,
                                BAPI_RETURN-MESSAGE.
     ENDIF.
  ENDLOOP.
ENDFORM.                    "UPDATE_MM
please give me reply
Prashanth

We have encountered the same problem at our company, and the following thread help us to resolve our problem:
Thanks to KevinCur.
Error while saving a .PDF File to a mapped drive
"It has to do with Protected Mode being turned on.  I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
To disable Protected Mode:
Start Adobe Reader
Edit - Preferences - Security (Enhanced)
Uncheck Enable Protected Mode at Startup
Close Preferences & Close Reader"
We unchecked the "Enable Protected Mode at startup" box --> Yes --> OK.  Our users are happy now.  ^_^

Similar Messages

  • My phone does not open anymore, after the battery has been empty.

    My phone?s battery turned off, it was empty. I plugged it and it never came back to life It's been 72 hours though... What could I do??

    You could try another charger but it's possible that won't help. I'd make an appointment at your local apple store and have them check it out.

  • Since I updated to firefox 3.6 I keep gettin multiple popup windows. This did not happen until after the update. The popups appear as regular windows so popup blockers can not stop them.

    Since I updated to firefox 3.6 I keep gettin multiple pop up windows. This did not happen until after the update. The pop ups appear as regular windows so pop up blockers can not stop them. Why has the new update made my laptop more vulnerable. updates are supposed to be improvements!
    == This happened ==
    Every time Firefox opened
    == as soon as I updated to ver 3.6

    Im having the same problem, I updated my Iphone 4S to 6.1.3, shortly after that my phone had no audio. It was working fine one minute and then stopped. Was listening to music when sound gave out on me. It wont ring, phone just vibrates even after turning off vibration option. I've tried all the options listed and nothing. My phone has never been jailbroken either. If I connect the earphones is works perfectly. On one of my last calls received, phone's ringtone was heard for about 2 seconds before muting and just vibrating. Ringtone sounded perfect, speakers did not sound damaged. 
    What else could be done? I've read several post regarding this and it seems like Apple has no solution to this yet. Very dissappointed.

  • Creating a Materialized View Log After the Data has been instered

    Hi,
    I am trying to create a method of replication from Oracle to MySQL using the Materialized View Log table.
    This has been done before and works quite well, the only problem is that I am trying to impliment the log after the table has been created and populated and wish to push all the existing data through the log file...
    Does anyone know if it is possible to refresh the Materialized View Log and not a Materialized View.
    The way the replication is intended to work is:
    Oracle> Data inserted into table
    Oracle> writes the vector data to the MVL
    Script> Monitors the MVL and can see the changes being made to the Oracle Table
    Script> Updates MySQL with the data and removes the rows from the MVL
    MySQL is then used with other unix systems
    Currently we export the data from the table using Triggers and a cronjob running every x minute to check for changes in the TriggerTables
    Many thanks for your time on this, I have been checking for almost a whole working day and not found the answer to this problem.

    Thats what I thought, the MVL will only read data that has changed since it was created and wont have the option to load in all the data as though it was made before the table was created.
    From what I have read, the MVL is quicker than a Trigger and I have some free code that prooved to work from a MVL using it as a reference to know what records to update. There is not that much to a MVL, a record ID and type of update, New, Update or Delete.
    I think what I will have to do is work on a the same principle for the MVL but use a Trigger as this way we can do a full reload if required at any point.
    Many thanks for your help.

  • Photoshop elements 13 will not initialize after the program has been opened

    Photoshop Elements 13 will not initialize after the program has been opened once.  If I remove Elements processes from task manager, Organizer will open  I am using Windows 7 and Elements 12 is also installed on the same computer.

    the password and licensing agreement are needed for installation, not to run.
    check your install logs, Troubleshoot with install logs | CS5, CS5.5, CS6, CC

  • Cannot create a session after the response has been committed (Tomcat 6)

    I'm getting a rather annoying error when I try to open a pretty basic JSP page.
    I'm rather new to the whole JSP scene, so I'm following the example found on pages 287 and onwards in "JSF in Action - Manning" in case anyone wanted to check my code against the source.
    I've searched for about 4 hours now, coming back to this site a couple of times, once reading about writeouts and stuff. But I'm not really sure this is the issue in this case and if it is, where exactly the problem lies.
    I've already fixed a number of errors I got (jtsl.jar and standard.jar missing etc...) but this particular problem is driving me (and my co-workers for that matter :-) ) up the wall.
    Anyone willing to help me out here?
    Error:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot create a session after the response has been committed
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
    root cause
    java.lang.IllegalStateException: Cannot create a session after the response has been committed
         org.apache.catalina.connector.Request.doGetSession(Request.java:2301)
         org.apache.catalina.connector.Request.getSession(Request.java:2075)
         org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
         org.apache.myfaces.context.servlet.SessionMap.setAttribute(SessionMap.java:53)
         org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:103)
         org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:35)
         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:523)
         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:358)
         javax.faces.application.StateManager.saveView(StateManager.java:47)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl$StateMarkerAwareWriter.flushToWriter(JspViewHandlerImpl.java:387)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:322)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
    Source Code of login.jsp:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    <html>
    <head>
         <title>
              <h:outputText value="ProjectTrack"/>
         </title>
    </head>
         <body>
              <table>
                   <tr>
                        <td>
                             <h:graphicImage url="/images/logo Skillteam.jpg"
                             alt="Welcome to ProjectTrack"
                             title="Welcome to ProjectTrack"
                             width="435" height="120"/>
                        </td>
                   <td>
                        <font face="Arial, sans-serif"
                        size="6">
                        <h:outputText value="ProjectTrack"/>
                        </font>
                   </td>
                   </tr>
         http://forum.java.sun.com/post!default.jspa?forumID=45#
    Click for bold     </table>
         </body>
    </html>
    </f:view>
    web.xml & faces-config
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
         <display-name>ProjectTrack</display-name>
         <welcome-file-list>
         <welcome-file>faces/login.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>
         </welcome-file-list>
         <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
    </web-app>
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
         <navigation-rule>
              <from-view-id>/login.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/inbox.jsp</to-view-id>
              </navigation-case>
              <navigation-case>
                   <from-outcome>failure</from-outcome>
                   <to-view-id>/login.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>Setup:
    Eclipse Europe 3.3.0
    Tomcat 6.0.13
    MyFaces 1.2
    JRE 1.6.0_02

    When searching for this error, this was the first page google gave me. I found the answer and just in case anyone else stumbles in here with the same question I thought I'd share my findings.
    Unfortunately, if your problem is the same as mine, you're going to feel pretty silly. I was navigating to the wrong page. If MyFaces(when running tomcat) tries to resolve to a page that doesn't exist, the error given above is what happens.
    In my case I accidentally put my .jsp page into the wrong directory and ended up banging my head against the wall for an hour figuring that out. Hope this helps someone.

  • Why does my Elements 12 ask me to enter Program Key after the product has been used and registered

    I have had Elememts 12 for several months ... when I bought it ...I downloaded the program and registered it ... now ... every once in a while the program asks me to enter the Key number as if I never registered it ... also sometimes I get a message about my 30 day trial ...

    I purchased Elements 12 not the Premier addition .... the disk Elements 12 comes with a trial version of Premier ... I did not install the 30 day trial version .... maybe t is Adobe trying to sell me the Premier addition ... I will pay more attention the next time the message comes up ... after reading some of the posts, I think that is what is happening ... I will have to wait ... someone wrote that they had the same problem and after a while, the message stopped appearing .... as I indicated .... I will look more carefully the next time I see the message...
    Thanks again
    Date: Tue, 1 Apr 2014 16:22:01 -0700
    From: [email protected]
    To: [email protected]
    Subject: Why does my Elements 12 ask me to enter Program Key after the product has been used and registered
        Re: Why does my Elements 12 ask me to enter Program Key after the product has been used and registered
        created by A.T. Romano in Premiere Elements - View the full discussion
    JEROMESTEINER
    I am trying to get through all your recent replies to go back to your post numbered 8.
    1. Go to Control Panel/Programs and determine if you have Premiere Elements 12 and Photoshop Elements 12 installed.
    2. When you have gotten the try out dialog, what program is mentioned in the dialogs - Premiere Elements 12 or Photoshop Elements 12?
    3. The fundamental question is what did you purchase
    a Photoshop Elements 12
    b. Premiere Elements 12
    c. Photoshop Elements 12 and Premiere Elements 12
    From what you wrote it sounds like Photoshop Elements 12. Premiere Elements 12 seems to have come along as a tryout.
    4. If Premiere Elements 12 is a tryout, after 30 days from first install of it, you should not be able to use it without a purchased serial number specific for Premiere Elements 12.
    5. If you have no interest in Premiere Elements 12 tryout, uninstall it if it is installed. If it is not installed, then it is not the cause of your trial messages. But, I offer you this thought. Are these really License This Product/Continue Trial messages or are they really promotional dialogs (ads) put on your computer by Adobe who knows you have Photoshop Elements 12 and are trying to get you interested in Premiere Elements as well?
    Please review and consider.
    Thanks.
    ATR
    Add On...All my encountered with tryout pop ups have been as described and restricted to purchase Photoshop Elements 12 and Premiere Elements 12 purchased as bundle.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6262855#6262855
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6262855#6262855
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6262855#6262855. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Premiere Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Is there a way to see what font was used originally, after the type has been converted to outlines?

    Hi all, I would really like to know if there is any way to find out what font was used originally in an Illustrator document, after the type has been converted to outlines? The reason for this is I need to update some wording in a couple of old logos I had made and I have NO idea what font I had used...for the life of me I just cannot remember. Because this was so urgent for one of my projects I had to do a search online via "WhatTheFont" to see what font it could be (which I then didn't seem to have in my library!), and repurchase it. I am 99% sure I HAVE the font - or something VERY close - but under a different name.
    Normally I keep a much better record of fonts used but there have been times occasionally in the past when I have done something in a hurry and changed the type to outlines without keeping the original, or keeping detailed notes at least. The fact that I did NOT keep notes on a few projects I have done in the past has made me want to kick myself because now I need to revisit one of those again..grrr:)
    Can anyone offer any advice? I appreciate your help as always:)
    best,
    Christine

    Christine,
    You can also ask in the Typography forum,
    http://forums.adobe.com/community/design_development/typography?view=discussions&start=0
    The guy running whatfontis is a regular poster there.
    And apart from
    http://www.whatfontis.com/
    there are
    http://www.identifont.com/
    http://new.myfonts.com/WhatTheFont/
    and especially for script,
    http://www.bowfinprintworks.com/ScriptIDGuide.html

  • I am running safari 7.0.6 with IOS 10.9.4. after the mac has been asleep and I log on I cannot open safari as it appears to have crashed. the workaround to this is to reboot the IOS and log back in after which safari will open.

    I am running safari 7.0.6 with IOS 10.9.4. after the mac has been asleep and I log on I cannot open safari as it appears to have crashed. the workaround to this is to reboot the IOS and log back in after which safari will open. Any ideas on how to resolve this?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Why my home wifi connection ipad2 enter the password after the password has been wrong? Password is the phone able to connect after the connection is ipa

    Why my home wifi connection ipad2 enter the password after the password has been wrong? Password is the phone able to connect after the connection is ipad2 has been an error?

    Hello joe2616,
    Thanks for using Apple Support Communities.
    To troubleshoot this issue where your Wi-Fi network is dropping, please follow the directions outlined below.
    Symptom: The network connection drops unexpectedly
    Your Mac may not not stay connected to your Wi-Fi network reliably.
    Your Mac may stop accessing the Internet during use.
    Solution
    Use these steps if your computer disconnects from its Wi-Fi network unexpectedly.
    Check your range to the Wi-Fi router and reduce the effect of interference.
    If your computer is too far from your Wi-Fi router or your environment has too much Wi-Fi interference, then your computer may not detect the Wi-Fi network properly. The easiest way to check for range limits with your Wi-Fi network is to move your computer or your Wi-Fi router closer together and make sure that there are no obstructions (such as walls, cabinets, and so forth) between the router and your computer.See Potential sources of wireless interference for more information about interference and solutions.
    Try connecting to a different Wi-Fi network. If your computer works fine when connected to a different Wi-Fi network, then the issue may be related to your network router or ISP. In that case, contact the manufacturer of your router or your ISP.
    Wi-Fi: How to troubleshoot Wi-Fi connectivity - Apple Support
    Thanks for using the Apple Support Communities!
    Cheers,
    Alex H.

  • Where is the Document Number of a Journal after the Journal has been deleted in GL?

    hi, guys,
    can anyone tell me where is the Document Number going after the journal has been deleted in GL? can it be reused by another journal? or it is killed and dead in database?
    thanks.
    Ejw

    They possibly still exist on the hard drive if you haven't overwritten that space already.
    Your only hope is to try a file recovery program like Data Rescue 3 or some sort like that.
    (note: the product linked to is an example of the suggested kind of software that may help you; it is not in any way my recommendation or endorsement of the product. I haven't used this product and can't comment on its effectiveness).

  • I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    Has your carrier been having issues with Call Display? Do the telephone numbers come up when people call, or does it just show 'Unknown Number' or 'Blocked' ?

  • HT3986 How do I start up Mac after the Windows has been installed.

    How do I start up Mac after the Windows has been installed? And after I installed the Windows, my Audio is gone. How can I get it back?

    Welcome to the Apple Support Communities
    1. To boot into Mac OS X, press X key while your computer is starting.
    2. Install Boot Camp drivers

  • Is there anyway I can find the key after the program has been installed?

    Is there anyway I can find the key after the program has been installed?

    One the product has been installed you cannot locate the Serial Number on the installed copy. Though we recommend you register your product on Adobe.com, by Going to Help-- Registration.
    Thanks!

  • TS4009 how do you retrieve information after the system has been reset to default

    how do you retrieve information after the system has been reset to default?

    From a backup on itunes or icloud, assuming you have made backups.  Connect to itunes and in the first tab for your device, choose to perform a restore.

Maybe you are looking for

  • Questions on board change

    I have questions on the motherboard change I'm about to do and obviously I'm amateur with this stuff so please bare  with me.  my question is I'm installing the MSI K7N2-l with AMD Athlon X.P. 2000+ Palomino core.   I was wondering when I switch moth

  • Weblogic Admin Server Doesnt start.

    I have installed Oracle 11g, RCU (WCC 11.1.1.6), Web Center Content 11.1.1.6 (C:\Oracle\Middleware\Oracle_ECM1) and created a domain for Content and was trying to restart the Weblogic Admin Server (C:\Oracle\Middleware\user_projects\domains\WC_Domain

  • How to get my .pdf filesize down (I have tried many things!)

    Hi everyone. After about an hour and a half of thoroughly searching the web, seeing others suggestions that don't work for me, or trying online resizers, I am now officially pissed off, especially since I consider myself a somewhat computer savvy per

  • Magic number mismatch: bad mzip file in 3750 stack switch

    Hi All can anybody help me in this error msg "magic number mismatch: bad mzip file" I am trying to upgrade the switch  with"c3750e-ipbasek9-tar.122-55.SE5.tar" in 3750 stack switch it is  showing this error msg while booting thanks in advance

  • RMI apps will not exit for 60 seconds.

    Yes, I'm sure this has been asked more times than you can fit in a 32 bit int, but how can I get my RMI programs to exit when main() exits. Even seemingly innocent programs like this: import java.rmi.*; import java.rmi.server.*; public class Stuff {