Error while uploading files into FND_LOBS table

Hi All,
Hope you are all well!!
I am new to OAF.Developing a standard upload page.
Getting the below error when i am trying to uploading the file in to FND_LOBS table.
*"Error - Attribute FileId in xxsymuploadAM.xxsymuploadVO is required"*
The page was opening successfully but when trying to submit the file into fnd_lobs table getting the error.
For this i have created AM, EO and EO based VO.
Her is my code--------------------
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package xxsymupload.oracle.apps.fnd.upload.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.OAException;
import oracle.jbo.Row;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageFileUploadBean;
import oracle.apps.fnd.framework.webui.OADataBoundValueViewObject;
* Controller for ...
public class xxsymupload1CO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am=pageContext.getApplicationModule(webBean);
OAViewObject vo = (OAViewObject)am.findViewObject("xxsymuploadVO");
if (!vo.isPreparedForExecution())
vo.executeQuery();
Row row = vo.createRow();
vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
row.setAttribute("FileFormat","IGNORE");
row.setAttribute("UploadDate", am.getOADBTransaction().getCurrentDBDate());
row.setAttribute("ProgramName", "xxsymUpload");
OAMessageFileUploadBean uploadBean = (OAMessageFileUploadBean)webBean.findChildRecursive("fileUpload");
OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "FileData");
uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue);
OADataBoundValueViewObject contentBoundValue = new OADataBoundValueViewObject(uploadBean, "FileContentType");
uploadBean.setAttributeValue(FILE_CONTENT_TYPE, contentBoundValue);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
if (pageContext.getParameter("cancelButton") != null)
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.getTransaction().rollback();
pageContext.forwardImmediately("OA.jsp?OAFunc=OAHOMEPAGE",null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,null,false,OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
else if (pageContext.getParameter("submitButton") != null)
OAApplicationModule am = pageContext.getApplicationModule(webBean);
am.getTransaction().commit();
OAViewObject vo = (OAViewObject)am.findViewObject("xxsymuploadVO");
oracle.jbo.domain.Number fileId = (oracle.jbo.domain.Number)vo.getCurrentRow().getAttribute("FileId");
String fileUpload = (String)vo.getCurrentRow().getAttribute("FileName");
OAException confirmMessage = new OAException("File "+fileUpload+" uploaded succesfully with ID "+fileId+".",OAException.CONFIRMATION);
pageContext.putDialogMessage(confirmMessage);
pageContext.forwardImmediately("OA.jsp?page=/xxsymupload/oracle/apps/fnd/upload/webui/xxsymuploadPG",null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,null,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
Appreciate quick response!!
Thanks,
Sateesh

In EO Impl java, set the file id and other mandatory fields, something like below. You can also search OAF forum for more details.
public void create(AttributeList attributelist)
super.create(attributelist);
try
OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getOADBTransaction();
String s = "select fnd_lobs_s.nextval from dual";
ViewObject viewobject = oadbtransactionimpl.createViewObjectFromQueryStmt(s);
Number number;
Row row;
for(number = null; viewobject.hasNext(); number = (Number)row.getAttribute(0))
row = viewobject.next();
if(number != null)
setFileId(number);
setFileFormat("text");
setUploadDate(oadbtransactionimpl.getCurrentDBDate());
} else
throw new OAException("AK", "AK_CANNOT_GET_FILEID");
viewobject.remove();
catch(Exception exception)
throw new OAException("AK", "AK_FND_LOBS_NOT_CREATED", exception);
Thanks
Shree

Similar Messages

  • Error while uploading file into KM

    Hi Experts,
    I m getting error while uploading file into KM. Its throwing an error message like " Syngenta-POC.doc" does not exist, or file is empty; you cannot upload empty files"
    please assists me.

    Shantanu,
    Please check the files which you are upload is empty or unknown format. If everything seems valid then try to check for the corresponding SAP Note in service.sap.com
    Ram

  • Error while uploading file in BPS

    Hi all,
    I am getting an error while uploading file to BPS through web interface
    I get a red stop button with error message : error while calling up RFC.
    when i double click the red stop button, i get no long text but the error message I get is UPC 202
    please advice me to resolve this issue.
    many thanks in advance,
    Ravi

    The informations are really not much to have an idea about the problem.
    The problem can be located in the fm that calls the file because is trying to search the file on a system where there are some kind of problems in the communication between the systems involved to read and pass the file. Did u map the file name with logical filenames ? Very strange problem. Can you browse in the server where the file is located . Is it on your pc ?
    Or, there is some problem in the datas provided, but this problem should arise more when you save than when you just press to load.
    With this kind of imformations is very hard to have an idea. You need to debug to see what s going on
    Regards

  • UCCE / IPIVR : Error while uploading file. Please try again later.

    IPIVR version 8.5x
    Receive "Error while uploading file. Please try again later" 
    Renamed the script to a different name and still could not upload.   I am able to upload other scripts without any issue.   I did find the ICM subsystem in partial service.   If that was the issue I would think it would cause an issue with all the scripts.   The script does validate.   Not sure why at this point.

    Hi Aditya,
    Are you using  SharePoint 2010 or SharePoint 2013?
    Did this issue occur for all users or the special user?
    Please go to Central Administration->Manage service applications->User Profile service application->manage user profile, search and edit the user profile, then upload a picture for the user, compare the result.
    In addition, please check the log file to check more information about this issue.
    The path of the log file is:
    SharePoint 2010: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\LOGS
    SharePoint 2013: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error while Uploading File using BLOB

    Hi All,
    I am trying to upload file into Database using simple JHeadstart generated screen for a table with a column having BLOB attribute. Wile inserting, I get this error message.
    JBO-25009: Cannot create an object of type:oracle.jbo.domain.BlobDomain with value:oracle.adfinternal.view.faces.webapp.UploadedFiles$FixFilename@1930089
    Any help would be appreciated..
    Mamun

    The problem you're getting is because the af:inputFile component does not support uploading into columns other than OrdDoc, OrdImage, OrdVideo types.
    I think you would need to implement the interface oracle.adf.view.faces.webapp.UploadedFileProcessor in a custom class which would
    handle the file upload and configure it in the
    adf-faces-config.xml file e.g.:
    <uploaded-file-processor>packagename.FileUploadProcessor</uploaded-file-processor>
    Someone correct me if I'm wrong, as I haven't tried it out myself yet.

  • Error while uploading file in Collab 4.2

    I am getting following exception while uploading file in Collab 4.2, ALUI Portal 6.1
    Error Details
    ==============================
    Collaboration encountered an error.
    If the problem persists, contact a portal administrator.
    Hide Details
    Error storing file data.com.caucho.hessian.io.HessianProtocolException:
    com.plumtree.collaboration.docman.DocManException: Error storing file data.com.caucho.hessian.io.HessianProtocolException:
    at com.plumtree.collaboration.docman.FileDataAccessManager.closeOutputStreamAndCleanUp(FileDataAccessManager.java:229)
    at com.plumtree.collaboration.docman.FileDataAccessManager.storeFileData(FileDataAccessManager.java:304)
    at com.plumtree.collaboration.docman.FileDataAccessManager.storeFileData(FileDataAccessManager.java:259)
    at com.plumtree.collaboration.docman.DMFolder.internalInsertNewFile(DMFolder.java:772)
    at com.plumtree.collaboration.docman.DMFolder.insertNewFile(DMFolder.java:862)
    at com.plumtree.collaboration.api.docman.DocumentManagerImpl.insertNewDocument(DocumentManagerImpl.java:497)
    at com.plumtree.collaboration.webui.document.UpdateDocumentUploadAction.processFinish(UpdateDocumentUploadAction.java:89)
    at com.plumtree.collaboration.webui.common.BaseUpdateEditorAction.execute(BaseUpdateEditorAction.java:77)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at com.plumtree.collaboration.webui.framework.action.CollaborationController.service(CollaborationController.java:101)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol438Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool438ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: com.plumtree.dr.RepositoryIOException: com.caucho.hessian.io.HessianProtocolException:
    at com.plumtree.dr.transport.glue.client.operation.Operation.convertIOException(Operation.java:161)
    at com.plumtree.dr.transport.glue.client.ClientOutputStream.close(ClientOutputStream.java:81)
    at com.plumtree.dr.util.io.BoundedOutputStream.close(BoundedOutputStream.java:133)
    at com.plumtree.dr.util.io.SelfClosingOutputStream.close(SelfClosingOutputStream.java:265)
    at com.plumtree.dr.util.DocumentOutputStream.close(DocumentOutputStream.java:101)
    at com.plumtree.collaboration.docman.FileDataAccessManager.closeOutputStream(FileDataAccessManager.java:133)
    at com.plumtree.collaboration.docman.FileDataAccessManager.closeOutputStreamAndCleanUp(FileDataAccessManager.java:210)
    ... 38 more
    Caused by: com.plumtree.dr.RepositoryException: com.caucho.hessian.io.HessianProtocolException:
    at com.plumtree.dr.transport.glue.ServiceException.getRepositoryException(ServiceException.java:150)
    at com.plumtree.dr.transport.glue.client.operation.Operation.convert(Operation.java:139)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:68)
    at com.plumtree.dr.util.thread.DefaultThreadPool438Pooled.run(DefaultThreadPool.java:295)
    Caused by: com.plumtree.dr.transport.glue.ServiceException: com.caucho.hessian.io.HessianProtocolException: 2
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:198)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService.uploadDocumentNonChunked(GlueRepositoryService.java:90)
    at com.plumtree.dr.transport.glue.client.HessianOpenOutputStreamTask.execute(HessianOpenOutputStreamTask.java:43)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:52)
    ... 1 more
    Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:194)
    at 438Proxy1.uploadDocumentNonChunked(Unknown Source)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService4382.execute(GlueRepositoryService.java:92)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:192)
    ... 4 more
    Caused by: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:183)
    ... 7 more
    Caused by:
    com.plumtree.dr.RepositoryIOException: com.caucho.hessian.io.HessianProtocolException:
    at com.plumtree.dr.transport.glue.client.operation.Operation.convertIOException(Operation.java:161)
    at com.plumtree.dr.transport.glue.client.ClientOutputStream.close(ClientOutputStream.java:81)
    at com.plumtree.dr.util.io.BoundedOutputStream.close(BoundedOutputStream.java:133)
    at com.plumtree.dr.util.io.SelfClosingOutputStream.close(SelfClosingOutputStream.java:265)
    at com.plumtree.dr.util.DocumentOutputStream.close(DocumentOutputStream.java:101)
    at com.plumtree.collaboration.docman.FileDataAccessManager.closeOutputStream(FileDataAccessManager.java:133)
    at com.plumtree.collaboration.docman.FileDataAccessManager.closeOutputStreamAndCleanUp(FileDataAccessManager.java:210)
    at com.plumtree.collaboration.docman.FileDataAccessManager.storeFileData(FileDataAccessManager.java:304)
    at com.plumtree.collaboration.docman.FileDataAccessManager.storeFileData(FileDataAccessManager.java:259)
    at com.plumtree.collaboration.docman.DMFolder.internalInsertNewFile(DMFolder.java:772)
    at com.plumtree.collaboration.docman.DMFolder.insertNewFile(DMFolder.java:862)
    at com.plumtree.collaboration.api.docman.DocumentManagerImpl.insertNewDocument(DocumentManagerImpl.java:497)
    at com.plumtree.collaboration.webui.document.UpdateDocumentUploadAction.processFinish(UpdateDocumentUploadAction.java:89)
    at com.plumtree.collaboration.webui.common.BaseUpdateEditorAction.execute(BaseUpdateEditorAction.java:77)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at com.plumtree.collaboration.webui.framework.action.CollaborationController.service(CollaborationController.java:101)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol438Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool438ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: com.plumtree.dr.RepositoryException: com.caucho.hessian.io.HessianProtocolException:
    at com.plumtree.dr.transport.glue.ServiceException.getRepositoryException(ServiceException.java:150)
    at com.plumtree.dr.transport.glue.client.operation.Operation.convert(Operation.java:139)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:68)
    at com.plumtree.dr.util.thread.DefaultThreadPool438Pooled.run(DefaultThreadPool.java:295)
    Caused by: com.plumtree.dr.transport.glue.ServiceException: com.caucho.hessian.io.HessianProtocolException: 2
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:198)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService.uploadDocumentNonChunked(GlueRepositoryService.java:90)
    at com.plumtree.dr.transport.glue.client.HessianOpenOutputStreamTask.execute(HessianOpenOutputStreamTask.java:43)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:52)
    ... 1 more
    Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:194)
    at 438Proxy1.uploadDocumentNonChunked(Unknown Source)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService4382.execute(GlueRepositoryService.java:92)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:192)
    ... 4 more
    Caused by: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:183)
    ... 7 more
    Caused by: com.plumtree.dr.RepositoryException: com.caucho.hessian.io.HessianProtocolException:
    at com.plumtree.dr.transport.glue.ServiceException.getRepositoryException(ServiceException.java:150)
    at com.plumtree.dr.transport.glue.client.operation.Operation.convert(Operation.java:139)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:68)
    at com.plumtree.dr.util.thread.DefaultThreadPool438Pooled.run(DefaultThreadPool.java:295)
    Caused by: com.plumtree.dr.transport.glue.ServiceException: com.caucho.hessian.io.HessianProtocolException: 2
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:198)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService.uploadDocumentNonChunked(GlueRepositoryService.java:90)
    at com.plumtree.dr.transport.glue.client.HessianOpenOutputStreamTask.execute(HessianOpenOutputStreamTask.java:43)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:52)
    ... 1 more
    Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:194)
    at 438Proxy1.uploadDocumentNonChunked(Unknown Source)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService4382.execute(GlueRepositoryService.java:92)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:192)
    ... 4 more
    Caused by: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:183)
    ... 7 more
    Caused by: com.plumtree.dr.transport.glue.ServiceException: com.caucho.hessian.io.HessianProtocolException: 2
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:198)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService.uploadDocumentNonChunked(GlueRepositoryService.java:90)
    at com.plumtree.dr.transport.glue.client.HessianOpenOutputStreamTask.execute(HessianOpenOutputStreamTask.java:43)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:52)
    at com.plumtree.dr.util.thread.DefaultThreadPool438Pooled.run(DefaultThreadPool.java:295)
    Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:194)
    at 438Proxy1.uploadDocumentNonChunked(Unknown Source)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService4382.execute(GlueRepositoryService.java:92)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:192)
    ... 4 more
    Caused by: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:183)
    ... 7 more
    Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:194)
    at 438Proxy1.uploadDocumentNonChunked(Unknown Source)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService4382.execute(GlueRepositoryService.java:92)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService438ServiceCall.call(GlueRepositoryService.java:192)
    at com.plumtree.dr.transport.glue.client.GlueRepositoryService.uploadDocumentNonChunked(GlueRepositoryService.java:90)
    at com.plumtree.dr.transport.glue.client.HessianOpenOutputStreamTask.execute(HessianOpenOutputStreamTask.java:43)
    at com.plumtree.dr.transport.glue.client.operation.Task.run(Task.java:52)
    at com.plumtree.dr.util.thread.DefaultThreadPool438Pooled.run(DefaultThreadPool.java:295)
    Caused by: com.caucho.hessian.io.HessianProtocolException:
    at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:183)
    ... 7 more
    Please help
    Edited by: electrazy on Aug 12, 2011 1:47 AM

    The informations are really not much to have an idea about the problem.
    The problem can be located in the fm that calls the file because is trying to search the file on a system where there are some kind of problems in the communication between the systems involved to read and pass the file. Did u map the file name with logical filenames ? Very strange problem. Can you browse in the server where the file is located . Is it on your pc ?
    Or, there is some problem in the datas provided, but this problem should arise more when you save than when you just press to load.
    With this kind of imformations is very hard to have an idea. You need to debug to see what s going on
    Regards

  • Error while inserting data into a table.

    Hi All,
      I created a table.While inserting data into the table i am getting an error.Its telling "Create data Processing Function Module".Can any one help me regarding this?
    Thanx in advance
    anirudh

    Hi Anirudh,
      Seems there is already an entry in the Table with the same Primary Key.
    INSERT Statement will give short dump if you try to insert data with same key.
    Why dont you use MODIFY statement to achieve the same.
    Reward points if this Helps.
    Manish

  • Single Sign-On Error while uploading file via WEBADI

    Hello,
    I am getting error while uploading the file via WEBADI. Below is the error message.
    Error Message:
    The Single Sign-On server registration is invalid. Please contact the System Administrator.
    I noticed that this template is uploading data when I connect to Oracle applications and go to WEB ADI responsibility and create a new template.
    In order to make this WEBADI work do I have to create a new template each time I upload the file?
    Our goal is to use the same template, change the numbers and re load it.
    Also, Is there any way I can go to login screen when I click on UPLOAD under ORACLE in excel. That way connection is established.
    Thanks for the help.

    Hi, Actually NW Portal and SQL server has been installed on the same machine.
    Now I am trying to add my SQL server as a JDBC system and checking the connections and I do not see a property under User Management.
    When I try to connect to R/3 backend system "...Dedicated Application server" then I can see the property but not for the JDBC syste.
    any clue how to get rid of the error and to check the connection.
    Thanks in advance.
    Gopi m.

  • Error while loading  data into External table from the flat files

    HI ,
    We have a data load in our project which feeds the oracle external tables with the data from the Flat Files(.bcp files) in unix.
    While loading the data, we are encountering the following error.
    Error occured (Error Code : -29913 and Error Message : ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: un) while loading data into table_ext
    Please let us know what needs to be done in this case to solve this problem.
    Thanks,
    Kartheek

    Kartheek,
    I used Google (mine still works).... please check those links:
    http://oraclequirks.blogspot.com/2008/07/ora-29400-data-cartridge-error.html
    http://jonathanlewis.wordpress.com/2011/02/15/ora-29913/
    HTH,
    Thierry

  • Error while uploading file?

    Hi all
    I am uploading data from CSV, while uploading i am getting error "Unable to interpret "7086,,203,23-Jul-10,,7086,,,B7306663,,72" as a number." Error is coming at some fields.. there i am using some data element which is of type int1 and another one is CURR field. Any specific type definitions required here... pleaes help...
    Thanks,
    Kris.

    Hi Sarbjeet,
    Please look at once to this code i am using...
    get the datasource Xstring
      wd_context->get_attribute(
         EXPORTING
           name =  'HEADER_DATASOURCE'
         IMPORTING
           value = lw_head_datasource ).
    *CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
    *EXPORTING
    *in_xstring = lw_head_datasource
    *IMPORTING
    *out_string = lw_head_string.
    DATA : conv   TYPE REF TO CL_ABAP_CONV_IN_CE.
    Creates a Conversion Instance
    CALL METHOD CL_ABAP_CONV_IN_CE=>CREATE
          EXPORTING
            INPUT       = lw_head_datasource
            ENCODING    = 'UTF-8'
            REPLACEMENT = '?'
            IGNORE_CERR = ABAP_TRUE
          RECEIVING
            CONV        = conv.
          conv->READ( importing data = lw_head_string ).
    get the data of file
       split  lw_head_string at cl_abap_char_utilities=>newline
        into TABLE lt_head_data.
    delete the header
      DELETE lt_head_data INDEX 1.
    get all the field name
      LOOP AT lt_head_data into lw_head_string.
        SPLIT lw_head_string at cl_abap_char_utilities=>horizontal_tab
         into table lt_head_field.
    ***get all the 6 fields of one line
        READ TABLE lt_head_field INTO lv_head_field INDEX 1.
        ls_head_context-DEALER_CODE = lv_head_field.
        READ TABLE lt_head_field INTO lv_head_field INDEX 2.
        ls_head_context-CLAIM_TYPE = lv_head_field.
    I have around 40 fields.. i am getting error here...
        READ TABLE lt_head_field INTO lv_head_field INDEX 23.
        ls_head_context-KMS_HRS_PERDAY= lv_head_field.
    If i change the type KMS_HRS_PERDAY from INT1 to CHAR1 it is working fine... can u help me .. please
    Thanks,
    kris.

  • Error while Inserting data into flow table

    Hi All,
    I am very new to ODI, I am facing lot of problem in my 1st interface. So I have many questions here, please forgive me if it has irritated to you.
    ========================
    I am developing a simple Project to load a data from an input source file (csv) file into a staging table.
    My plan is to achieve this in 3 interfaces:
    1. Interface-1 : Load the data from an input source (csv) file into a staging table (say Stg_1)
    2. Interface-2 : Read the data from the staging table (stg_1) apply the business rules to it and copy the processed records into another staging table (say stg_2)
    3. Interface-3 : Copy the data from staging table (stg_2) into the target table (say Target) in the target database.
    Question-1 : Is this approach correct?
    ========================
    I don't have any key columns in the staging table (stg_1). When I tried to execute the Flow Control of this I got an error:
    Flow Control not possible if no Key is declared in your Target Datastore
    With one of the response (the response was - "FLOW control requires a KEY in the target table") in this Forum I have introduced a column called "Record_ID" and made it a Primary Key column into my staging table (stg_1) and my problem has been resolved.
    Question-2 : Is a Key column compulsary in the target table? I am working in BO Data Integrator, there is no such compulsion ... I am little confused.
    ========================
    Next, I have defined one Project level sequence. I have mapped the newly introduced key column Record_Id (Primary Key) with the Project level sequence. Now I am got another error of "CKM not selected".
    For this, I have inserted "Insert Check (CKM)" knowledge module in my Project. With this the above problem of "CKM not selected" has been resolved.
    Question-3 : When is this CKM knowledge module required?
    ========================
    After this, the flow/interface is failing while loading data into the intermediar ODI created flow table (I$)
    1 - Loading - SS_0 - Drop work table
    2 - Loading - SS_0 - Create work table
    3 - Loading - SS_0 - Load data
    5 - Integration - FTE Actual data to Staging table - Drop flow table
    6 - Integration - FTE Actual data to Staging table - Create flow table I$
    7 - Integration - FTE Actual data to Staging table - Delete target table
    8 - Integration - FTE Actual data to Staging table - Insert flow into I$ table
    The Error is at Step-8 above. When opened the "Execution" tab for this step I found the message - "Missing parameter Project_1.FTE_Actual_Data_seq_NEXTVAL RECORD_ID".
    Question-4 : What/why is this error? Did I made any mistake while creating a sequence?

    Everyone is new and starts somewhere. And the community is there to help you.
    1.) What is the idea of moving data from stg_1 and then to stg_2 ? Do you really need it for any other purpose other than move data from SourceFile to Target DB.
    Otherwise, its simple to move data from SourceFile -> Target Table
    2.) Does your Target table have a Key ?
    3.) CKM (Check KM) is required when you want to do constraint validation (Checking) on your data. You can define constraints (business rules) on the target table and Flow Control will check the data that is flowing from Source File to Target table using the CKM. All the records that donot satisfy the constraint will be added to E$ (Error table) and will not be added to the Target table.
    4.) Try to avoid ODI sequences. They are slow and arent scalable. Try to use Database sequence wherever possible. And use the DB sequence is target mapping as
    <%=odiRef.getObjectName( "L" , "MY_DB_Sequence_Row" , "D" )%>.nextval
    where MY_DB_Sequence_Row is the oracle sequence in the target schema.
    HTH

  • Error while uploading files to AWS S3

    Hello Experts
    SAP PI 7.31
    I am working on the following scenario. SAP PI receives a file attachment from SOAP response and the same needs to be uploaded to AWS S3 using REST (Advantco REST Adapter) (PUT Method):
    File --> SAP PI --> REST
                     ||
                   SOAP
    To do this without using BPM, I am using RequestResponseBean and ResponseOnewayBean in Sender_File Adapter. In the module parameters, I have mentioned the details of the REST receiver channel. I am using PUT method in Receiver_REST and have checked option "keep attachments"
    When I run this interface, the message fails while sending the file to Receiver_REST with the following errors:
    Sender_File: ResponseOnewayBean - Attempt to process file failed with com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.lib.ra.cci.XIAdapterException
    Receiver_REST Adapter: Error: Broken pipe (Software version: 1.0.11)
    This is the first time we are using REST Adapter to upload files to AWS S3. Could you please provide pointers on the same?
    Thanks
    Jaya

    05/08/17 11:22:31 java.io.IOException: java.io.IOException: sqlldr: not found
    Does the client m/c have sqlldr installed (it will need Oracle client installation)? Does it have the ORACLE_HOME/bin directory in whatever path is appropriate for the client OS?
    Cheers, APC

  • Unknown File Format Error while Uploading file through SFP in Note Implemen

    Hello All,
    I am implementing SAP Note 1528165 - Form 16: Layout changes for financial year 2010-11 which has few PDF forms to be uploaded.
    While doing the manual steps given in the attachment; I am getting following error.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Manual step listed in the attachment is given below:
    Step 6 u2013 Creation of PDF form HR_INTAXF162006_600
    a) Download attached file 'SFPF_HR_INTAXF162006_600.zip' on the local file system.
    b) Unzip the .zip file
    c) Execute transaction code 'SFP'.
    d) Enter 'Form' as 'HR_INTAXF162006'.
    e) Goto menu bar and select the 'Utilities' option and select 'Uploading form' from menu.
    f) Select the file, downloaded in the step u2018bu2019 (SFPF_HR_INTAXF162006_600.XML) from the local
    file system.
    g) Save the form and activate the same.
    Please help/suggest.
    Thanks in advance.
    Arti Dobariya

    Hi,
    ADS has to be configured to perform those manual steps.
    Please check the note 1580196 GTS: Error occurred when uploading file
    (unknown file format).
    The manual steps related to SFP transaction need to be performed if your are running the form 16 in pdf format.
    Since ADS was not configured in our system; we end up using  the option of running form 16 in SAP Script.
    Changes related to SFP transaction need not be perfored in case you are running the form in SAP Script format as these are pdf specific changes.
    Regards,
    Arti

  • Unknown File Format Error while Uploading file through SFP

    Hello All,
    I am implementing SAP Note 1528165 - Form 16: Layout changes for financial year 2010-11 which has few PDF forms to be uploaded.
    While doing manual steps given in the attachment; I am getting following error.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Manual step listed in the attachment is given below:
    Step 6 u2013 Creation of PDF form HR_INTAXF162006_600
    a) Download attached file 'SFPF_HR_INTAXF162006_600.zip' on the local file system.
    b) Unzip the .zip file
    c) Execute transaction code 'SFP'.
    d) Enter 'Form' as 'HR_INTAXF162006'.
    e) Goto menu bar and select the 'Utilities' option and select 'Uploading form' from menu.
    f) Select the file, downloaded in the step u2018bu2019 (SFPF_HR_INTAXF162006_600.XML) from the local
    file system.
    g) Save the form and activate the same.
    Please help/suggest.
    Thanks in advance.
    Arti Dobariya

    Hi,
    ADS has to be configured to perform those manual steps.
    Please check the note 1580196 GTS: Error occurred when uploading file
    (unknown file format).
    The manual steps related to SFP transaction need to be performed if your are running the form 16 in pdf format.
    Since ADS was not configured in our system; we end up using  the option of running form 16 in SAP Script.
    Changes related to SFP transaction need not be perfored in case you are running the form in SAP Script format as these are pdf specific changes.
    Regards,
    Arti

  • Error while uploading file using wininet in c++.

    I'm going to upload text.txt file
    using wininet.
    Here is a code.
    #include "stdafx.h"
    #include "iostream"
    #include "windows.h"
    #include "wininet.h"
    #include "tchar.h"
    #include "iostream"
    #include "string"
    #include "sstream"
    #pragma comment(lib, "ws2_32.lib")
    #pragma comment(lib, "Wininet.lib")
    int main(){
    TCHAR hdrs[] = _T("Content-Type: multipart/form-data; boundary=---------------------------7d82751e2bc0858");
    TCHAR frmdata[] = _T("-----------------------------7d82751e2bc0858\r\nContent-Dis name=\"uploadedfile\"; filename=\"C:\\Users\Ahmer\Desktop\asd\test.txt\"\r\nContent-Type: text/plain\r\n\r\nfile contents here\r\n-----------------------------7d82751e2bc0858--\r\n");
    LPCTSTR accept[] = {_T("*/*"), NULL};
    HINTERNET hSession = InternetOpen(_T("MyAgent"), INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
    HINTERNET hConnect = InternetConnect(hSession, _T("http://localhost/cpp/"), INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, INTERNET_SERVICE_HTTP, 0, 1);
    HINTERNET hRequest = HttpOpenRequest(hConnect, _T("POST"), _T("uploadfile.php"), NULL, NULL, accept, 0, 1);
    BOOL sent = HttpSendRequest(hRequest, hdrs, _tcslen(hdrs), frmdata, _tcslen(frmdata));
    if(hSession==NULL)
    cout<<"Error: InternetOpen";
    if(hConnect==NULL)
    cout<<"Error: InternetConnect";
    if(hRequest==NULL)
    cout<<"Error: HttpOpenRequest";
    if(!sent)
    cout<<"Error: HttpSendRequest";
    //close any valid internet-handles
    InternetCloseHandle(hSession);
    InternetCloseHandle(hConnect);
    InternetCloseHandle(hRequest);
    return 0;
    Here is a php file.
    move_uploaded_file($_FILES["uploadedfile"]["tmp_name"], "/FileFolder");
    there is error Error:
    HttpSendRequest.

    That's prefect, I changed only these two lines
    HINTERNET hConnect = InternetConnect(hSession, _T("localhost"), INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, INTERNET_SERVICE_HTTP, 0, 1);
    HINTERNET hRequest = HttpOpenRequest(hConnect, _T("POST"), _T("cpp/uploadfile.php"), NULL, NULL, accept, 0, 1);
    and now there is no error in this code but this is not uploading  file yet.
    Is there any error in the php file ? or in this line .
    TCHAR frmdata[] = _T("-----------------------------7d82751e2bc0858\r\nContent-Dis name=\"uploadedfile\"; filename=\"C:\\Users\Ahmer\Desktop\asd\test.txt\"\r\nContent-Type: text/plain\r\n\r\nfile contents here\r\n-----------------------------7d82751e2bc0858--\r\n");
    I have a file in this path 
    C:\\Users\Ahmer\Desktop\asd\test.txt\
    Thanks for you Time.

Maybe you are looking for