Webutil file load/upload problem
Hi,
When i upload/download file from DB or AS and filename contains only english letters there is no problem. But when i wanna upload file which filename contains baltic leters webutil demo showing thah all ok,no errors, but blob column is empty.
I try to debug code and found that after this code clientFileInfo always = '0|0'
function UploadInt in webutil.pll
WebUtil_Core.setProperty (WebUtil_Core.WUT_PACKAGE,'WUT_FILE_INFO', clientFileInfo);
-- get the size and chunk info of the client side file
clientFileInfo := WebUtil_Core.getProperty(WebUtil_Core.WUT_PACKAGE,'WUT_FILE_INFO');
How i can fix this problem if user wants upload file wich filename contains not only english leters?
Andriejus
This is being tracked on BUG:3454831
Similar Messages
-
Hi all,
I am new to the oracle technology.
While uploading the data from csv file i got this error
"SQL*Loader-350: Syntax error at line 4.
Expecting keyword TABLE, found "xxgfs_gen_text_lookups".
APPEND INTO xxgfs_gen_text_lookups"
my csv file data is
Invoice Match Options,,,Invoice,,
Invoice Match Options,,,Receipt,,
Invoice Match Options,,,Purchase Order,,X
Invoice Type,A 00,Advance,Standard,Standard invoice,
Invoice Type,B 00,Expense,Standard,Standard invoice,
Invoice Type,2 00,Debit Memo,Credit Memo,Credit Memo,
Invoice Type,2 20,EDI Debit Memo,Credit Memo,Credit Memo,
Invoice Type,1 00,Invoice,Standard,Standard invoice,
Invoice Type,1 01,Arrow Credit,Standard,Standard invoice,,
Invoice Type,1 10,Recurring Payments,Standard,Standard invoice,,
Invoice Type,1 20,EDI Invoices,Standard,Standard invoice,,
Invoice Type,1 21,Imaged Invoice,Standard,Standard invoice,X,Default when entering from form
Invoice Tax Code,XMT,DO NOT USE,,,,
Invoice Tax Code,STE,DO NOT USE,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code,,,,,,
Invoice Tax Code
If i am removing the blank row then also it is giving the same problem.
If anybody face the same problem then please help me out.
thanks in advance to u all for ur help.
-RajnishRunning SQL*Loader as:
sqlload userid=... control=... data=... log=...
HOSTSTR logical has been set to same value as your connection string but
without domain name.
When you have specified connect string (ie. SCOTT/TIGER@DATABASE) but no
domain you receive these errors:
SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
ORA-12154: TNS:could not resolve service name
When you have not specified connect string (ie. SCOTT/TIGER) you receive
these errors:
SQL*Loader-704: Internal error: ulconnect: OCIServerAttach [0]
ORA-12162: TNS:service name is incorrectly specified
Your sqlnet.ora has:
names.default_domain entry = world
The syntax in your tnsnames.ora entry is correct.
Your entry in tnsnames.ora does not include the .WORLD extension (default
domain from sqlnet.ora).
Solution Description
Specify the .WORLD in your tnsnames.ora and also in your connect string.
This will remove the error.
Also, ensure you are not hitting Bug 893290. Can you connect to the database from that server using sqlplus? -
WEBUTIL - file already open problem
Hy everybody,
I request your help for a problem with de Webutil library.
I want to open a PDF document with the command :
Ret := WEBUTIL_HOST.Nonblocking( Cmd ) ; (Cmd = path + file name)
This function is called on a "When Button pressed" trigger in my form.
The errors occurs when :
1/ I pressed my button, my PDf is well displayed.
2/ I didn't close my PDF and I click again on my button.
3/ I get the error "WUT-105 : Unable to open file"
I just want to know if exists a function which tell me if the document is already open. (WEBUTIL_FILE.FILE_IS_READABLE does not work any more !)
Or if I could catch the exception in my code. I've tried but I didn't manage to catch it.
If somebody could help me, thanks in advance. And sorry for my english, I'm just a french guy ... ;-)
Bye.user10836197 wrote:
Ret := WEBUTIL_HOST.Nonblocking( Cmd ) ; (Cmd = path + file name)You only pass the path of the file? Did you try it with rundll32?
rundll32.exe url.dll,FileProtocolHandler test.txtOpens test.txt with the program I specified to always open textfiles with.
cheers -
Labview file load memory problem
Hi Guys,
I am loading a binay different binary files and am having error of "Memory full"
When I load a 43,837 and 110,196kb file this error comes .
and when I load 5,811 kb file it works fine.
Please note that 43,837kb file has 5611000 samples and 110,196kb file has 8060000
can anyone tell me the solution to fix it ?
Rgs
M Omar TariqPlease post your code so we can give you real suggestions. It sounds like you are make extra memory copies you probably don't need. To get a jump start on the problem, take a look at the tutorial Managing Large Data Sets in LabVIEW. Newer versions of LabVIEW have this information in the help files.
This account is no longer active. Contact ShadesOfGray for current posts and information. -
Problem with webutil file dialog box when trying to save/open
Approximately 12 months ago we had this same issue and I think we managed to resolve it with a one off patch. Were getting it on another site now so any info will be much appreicated.
Basically when using webutil file chooser Client_Get_File_Name to upload/download something to/from the database it works sporadically.
When we choose a location to upload from or download to. we then click the buttonon the webutil file chooser and the box disapears without doing anything. Sometimes it works ok but i cant find any pattern to it working/not working
Has anyone else experienced these problems?i found it
patch 6127521
thanks -
Webutil - issue with uploading text files with client_get_file_name
Hi,
I'm using webutil client_get_file_name to upload files from the client machine to the server.
It works fine for xls,pdf,doc files etc. but not for txt files it seems.
It doesn't display any error at all either.
Has anyone seen this type of issue before?
Kind regards,
Tom
Windows XP
Forms v10.1.2.0.2Hi Sarah et al,
The code that I'm using to upload any file type format is:
vfilename := client_get_file_name('c:\',file_filter => 'All files (*.*)');
it works for doc/pdf/xls/rtf/csv etc.
but not for text files i.e. .txt
Also, could someone tell me how to open a .msg (Outlook message) file
as it gives the output:
'Cannot read item' upon the opening of the Outlook application.
I'm using the following to try and open it:
CLIENT_HOST( 'cmd /C start '||p_filename);
Your help would be appreciated.
Kind regards,
Tom -
File Upload problem: JSF, IBM WPS and Portlet - Please HELP Vey Very Urgent
I want to upload a file from the front end using JSF and Portlets deployed on IBM WebSphere Portal.
I have used Apache's commons file upload functionality as the file upload provided in JSF doesnot work with portlets and the action event is not invoked If I keep enctype="multipart/form-data". So I included 3 forms in my Faces JSP file.
1) h:form = For displyign error message on screen
2) html:form = Include the enctype="multipart/form-data" and the input type file for uploading. And a submit button
3) h:form: Here I have a command link which is remotely excuted on click of sumit button in my html form. This is to invoke the action event in the pagecode to get the bean value from the context.
Now in the my doView method in the portlet, isMultipartContent(httpservletrequest) always returns null as the content type is text/html and not multipart. Onclick of the submit button in the the html form I am calling a javascript function which sets the __LINK_TARGET__ to the command link in the 3rd h:form which will call the page code.
The problem here is action is invoked only when I return false from the above javascript else it will trigger for the first time and from second time onwards it will not invoke the action event in the pagecode method. Whent the javascript function returns false, the content type is always text/html. However if I return "true" from the javascript the content type is multipart/form-data, but the action is not triggered for the second time. So basically when the javascript functions returns true, for the first click everything works perfectly. When it returns false, the content type is text/html, but the action is invoked in the page code every time.
Returning always true would solve my problem with the content type, but the action with the command link will not get invoked always as its some type of problem with h:commanLink :(.
I guess I gave too much info. Heres my code stepby step.
Can somebody please tell me , how I should also invoke the action in the page code and get the content type as "multipart/form-data" at the same time.
1:
======================= Faces JSP File: BPSMacro.jsp ====================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="IBM Software Development Platform">
<meta http-equiv="Content-Style-Type" content="text/css">
<%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
<%@taglib uri="/WEB-INF/tld/j4j.tld" prefix="j4j"%>
<%@taglib uri="/WEB-INF/tld/core.tld" prefix="core"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" session="false"%>
<portlet:defineObjects />
<link rel="stylesheet" type="text/css"
href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/stylesheet.css") %>'
title="Style">
<script type="text/javascript">
function formSubmit() {
var formName2 = document.getElementById("proxy_form_main_").title;
var formName1 = document.getElementById("BPSMacroFormId").title;
document.getElementById("__LINK_TARGET__").value = document.getElementById("proxy_HD_COMMAND_").title;
document.getElementById(formName2).submit();
return false;
</script>
<f:view>
<hx:scriptCollector id="bpsMacroScriptCollector">
<f:loadBundle var="bps" basename="bordereauprocessingsystem" />
<table bgcolor="#FFF9C3">
<tr>
<td><h:form id="BPSMacroFormMain" styleClass="form">
<table class="tablemiddle" cellspacing="0" cellpadding="0">
<tr>
<td><h:messages layout="table" styleClass="errormessage"
id="ValidationErrorMsg" /> </td>
</tr>
</table>
<j4j:idProxy id="proxy_form_main_0_" />
</h:form></td>
</tr>
<tr>
<td>
<form id="BPSMacroFormId" enctype="multipart/form-data">
<table bgcolor="#FFF9C3">
<tr>
<td height="36" width="324">Worksheet <input type="file"
name="upfile" /></td>
</tr>
<tr>
<td align="center" width="324"><input TYPE="submit"
onclick="return formSubmit();" value="Upload">
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td>
<h:form id="BPSMacroFormMain2" styleClass="form">
<table cellspacing="2" cellpadding="2" class="tablemiddle">
<tbody>
<tr>
<td colspan="2" align="center"><h:commandLink
styleClass="commandLink" id="lnkuserdelete"
action="#{pc_BPSMacro.doIdUpload1Action}">
<hx:graphicImageEx
styleClass="graphicImageEx" id="imgBtnCreateUser"
value="/theme/images/btnUpload.gif" style="border:0;cursor:pointer"></hx:graphicImageEx>
<j4j:idProxy id="proxy_HD_COMMAND_" />
</h:commandLink></td>
<h:inputHidden id="dtSize"
value="#{pc_BPSMacro.fileDetailsList.clicked}">
<j4j:idProxy id="proxy_clicked_" />
</h:inputHidden>
</tr>
</tbody>
</table>
<j4j:idProxy id="proxy_form_main_" />
</h:form>
</td>
</tr>
</table>
</hx:scriptCollector>
</f:view>
================== END: FACES JSP FILE: BPSMacro.jsp ========================
2:
=================== Action event in the Page Code: BPSMacro.java ============
public String doIdUpload1Action() {
System.out.println("PageCode");
FacesContext context = FacesContext.getCurrentInstance();
BPSMacroDetailsDataBean fileDetails = (BPSMacroDetailsDataBean)context.getApplication().createValueBinding("#{fileDetails}").getValue(context);
BPSMacroListDataBean fileDetailsList = (BPSMacroListDataBean)context.getApplication().createValueBinding("#{fileDetailsList}").getValue(context);
PortletSession sess = (PortletSession)context.getExternalContext().getSession(false);
sess.setAttribute("BPS_MACRO_CONTEXT", context, PortletSession.APPLICATION_SCOPE);
sess.setAttribute("BPS_MACRO_FILE_DETAILS", fileDetails, PortletSession.APPLICATION_SCOPE);
sess.setAttribute("BPS_MACRO_FILE_LIST", fileDetailsList, PortletSession.APPLICATION_SCOPE);
HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
boolean isMultipart = ServletFileUpload.isMultipartContent(request);
request.getContentType();
return "gotoBPSMacro";
============== END Of Page Code Action event ==============================
3:
============== doView() Portlet method ================================
public void doView(RenderRequest arg0, RenderResponse arg1)
throws PortletException, IOException {
String METHOD_NAME = "doView(RenderRequest arg0, RenderResponse arg1)";
Logger.debug(this.getClass(), METHOD_NAME, "Entering BPSMacroPortlet");
FacesContext context = FacesContext.getCurrentInstance();
PortletSession sess1 = arg0.getPortletSession(true);
BPSMacroDetailsDataBean fileDetails = new BPSMacroDetailsDataBean();
BPSMacroListDataBean fileDetailsList = new BPSMacroListDataBean();
context = (FacesContext)sess1.getAttribute("BPS_MACRO_CONTEXT", PortletSession.APPLICATION_SCOPE);
if(context != null){
fileDetails = (BPSMacroDetailsDataBean)sess1.getAttribute("BPS_MACRO_FILE_DETAILS", PortletSession.APPLICATION_SCOPE);
fileDetailsList = (BPSMacroListDataBean)sess1.getAttribute("BPS_MACRO_FILE_LIST", PortletSession.APPLICATION_SCOPE);
sess1.removeAttribute("BPS_MACRO_CONTEXT", PortletSession.APPLICATION_SCOPE);
sess1.removeAttribute("BPS_MACRO_FILE_DETAILS", PortletSession.APPLICATION_SCOPE);
sess1.removeAttribute("BPS_MACRO_FILE_LIST", PortletSession.APPLICATION_SCOPE);
HttpServletRequest servletRequest = (HttpServletRequest)arg0;
PortletRequest pReq = (PortletRequest)arg0;
HttpServletResponse servletResponse= (HttpServletResponse)arg1;
System.out.println("\n\n Content Type" + servletRequest.getContentType());
try{
if(context != null){
boolean isFileMultipart = ServletFileUpload.isMultipartContent(servletRequest);
System.out.println("\nFILE TO BE UPLOADED IS MULTIPART ? " + isFileMultipart);
if(isFileMultipart){
FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);
List items = upload.parseRequest(servletRequest);
Iterator iterator = items.iterator();
while (iterator.hasNext()) {
FileItem item = (FileItem) iterator.next();
InputStream iStream = item.getInputStream();
ByteArrayOutputStream ByteArrayOS = new ByteArrayOutputStream();
int sizeofFile =(int) item.getSize();
byte buffer[] = new byte[sizeofFile];
int bytesRead = 0;
while( (bytesRead = iStream.read(buffer, 0, sizeofFile)) != -1 )
ByteArrayOS.write( buffer, 0, bytesRead );
String data = new String( ByteArrayOS.toByteArray() );
int k = 0;
//Check if the file is Refund or Premium
int dynamicArraySize = 0;// = st2.countTokens() * 9;
dynamicArraySize = st2.countTokens() * 9;
if (!item.isFormField() ){
File cfile=new File(item.getName());
String fileName = "";
String separator = "\\";
int pos = item.getName().lastIndexOf(separator);
int pos2 = item.getName().lastIndexOf(".");
if(pos2>-1){
fileName =item.getName().substring(pos+1, pos2);
}else{
fileName =item.getName().substring(pos+1);
File fileToBeUploaded=new File("C:\\Sal\\BPS MACRO\\FileTransfer\\Desti", fileName);
item.write(fileToBeUploaded);
validate.displaySuccessMessage(context);
}catch(Exception e){System.out.println(e);
Logger.debug(this.getClass(), METHOD_NAME, "Leaving BPSMacroPortlet");
super.doView(arg0, arg1);
==== END: doView method in the portle class. ================================
Thanks.one more question. Is there a way where I can submit two forms ?
Thats is submit 2nd form only when the first form is submitted.
I tried this it works.
function formSubmit(){
document.form1.submit();
alert();
document.form2.submit();
But If I dont put an alert(basically it disables the parent page) in between, only the second form is submitted.
If I put a delay of say 3 seconds in between then it will throw a SOCKET CLOSED error in the code triggered due to first form submit.
Thus disabling the paresnt page for a few seconds is reolving my problem.
Any ideas ?
Well Basically when the Alert pop's up the parent page "STALLS" and thus the form2 does not submit till I click on OK, Is there a way I can stall the browser/Parent JSP page using JAVA SCRIPT ??
Edited by: hector on Oct 9, 2007 11:09 AM
Edited by: hector on Oct 9, 2007 2:12 PM -
I just got a new Mac Mini, and now when I try to import photos into Lightroom, iPhoto ties to load them first, then Lightroom can't find the files. Big problem. What to do?
Simple:
File -> Export to get your photos out of the iPhoto Library. In the Export dialogue you can set the kind to Original and you'll get back exactly what you put in.
Apps like iPhoto2Disk or PhotoShare will help you export to a Folder tree matching your Events.
Once exported, you can then trash the iPhoto Library - just drag it from the Pictures Folder to the trash and empty it.
After that, if you're entirely neurotic about it, just put the iPhoto app in the trash and empty it.
Regards
TD -
Right-clicking on the link doesn't offer options to open anywhere (new tab, etc.)
There is a problem with uploading files to Google docs in Firefox 3.6x versions.
http://www.google.com/support/forum/p/Google+Docs/thread?tid=4f0369bdcf6fd7ff&hl=en "Select files to upload" not working in Firefox - Google Docs Help (Thanks to Joolsa for the link) -
Hi Friends,
I am struggling with flat-file loading problem. I am trying to load a .csv file into data target. I took all pre-cautions while loading data. I look into preview and simulate the data. Everything is ok, but when i schedule the data, i found 0 records in the monitor. The following is the STATUS message of the above problem:
No data available
Diagnosis
The data request was a full update.
In this case, the corresponding table in the source system does not
contain any data.
System response
Info IDoc received with status 8.
Procedure
Check the data basis in the source system.
Can anybody help me what is the problem and procdure to resolve it?
Regards,
MaheshHi Eugene,
Thanks for the quick reply. The following screen-shot tells you the messages of detail tab;
OVER ALL STATUS MISSING WITH MESSAGES OR WARNINGS
REQUEST: MISSING MESSAGES
EXTRACTION
EVERYTHING IS OK
DATA REQUEST RECEIVED
NO DATA AVAILABLE DATA ELECTION ENDED.
PROCESSING
NO DATA
The above message was shown in details tab. Pls guide me to locate the problem.
Regards,
Mahesh -
File Upload Problem to linux server
Hi all,
I have a big problem. I can not get my code to work on a linux web server. The code works fine on my localhost witch is a windows pc. Here is the code i use:
<-----form.html------>
<html>
<head><title>Upload test</title></head>
<body>
<form method='POST' enctype='multipart/form-data' action='upload.jsp'>
File to upload: <input type=file name=upfile><br>
<br>
<input type=submit value=Press> to upload the file!
</form>
</body>
</html>and
<-- upload.jsp -->
<%@ page import="java.io.*" %>
<%
try {
String contentType = request.getContentType();
System.out.println("Content type is :: " +contentType);
if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) {
DataInputStream in = new DataInputStream(request.getInputStream());
int formDataLength = request.getContentLength();
byte dataBytes[] = new byte[formDataLength];
int byteRead = 0;
int totalBytesRead = 0;
while (totalBytesRead < formDataLength) {
byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
totalBytesRead += byteRead;
String file = new String(dataBytes);
String saveFile = file.substring(file.indexOf("filename=\"") + 10);
saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
//out.print(dataBytes);
int lastIndex = contentType.lastIndexOf("=");
String boundary = contentType.substring(lastIndex + 1,contentType.length());
//out.println(boundary);
int pos;
pos = file.indexOf("filename=\"");
pos = file.indexOf("\n", pos) + 1;
pos = file.indexOf("\n", pos) + 1;
pos = file.indexOf("\n", pos) + 1;
int boundaryLocation = file.indexOf(boundary, pos) - 4;
int startPos = ((file.substring(0, pos)).getBytes()).length;
int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
//String path = new String("C:/Program Files/Apache Group/Tomcat 4.1/webapps/testUploadScript/");
String path = new String("//home/httpd/vhosts/defualt/httpdocs/test/");
FileOutputStream fileOut = new FileOutputStream(path + saveFile);
out.println(path + saveFile + "</br>");
//fileOut.write(dataBytes);
fileOut.write(dataBytes, startPos, (endPos - startPos));
fileOut.flush();
fileOut.close();
out.println("File saved as " +saveFile);
} catch(FileNotFoundException fnfe) {
out.println(fnfe.toString());
} catch(IOException e) {
out.println(e.toString());
%>I want to know if it is a codeing problem or what?
Please help.
Thanks
IceManThere are a couple nasty things in your code (not that your coding would be wrong).
Maybe better look into jakarta commons,
http://jakarta.apache.org/commons/fileupload/
There are minor issues like \r, content length/chunk mode, //home,
path names, bytes-to-String without encoding. Also officially "--" is not allowed to occure inside an HTML/XML comment, hence some people use <!-- ======= -->. -
Hi All,
Has anyone come across where flat file uploads cuts out the last 1 or 2 columns from the upload.
This happens in the preview and in the actual load.
The data separators(,) and the Escape sign (") are OK
This are sample lines below:
"60 ","105906 ","A","253215 ","2005052700000000","516007 ",".TonyA ","1.17 ","0.20 ","2005050600000000","7 ","1 "
"102 ","42577 ","A","560194 ","2005070400000000","825293 ","A.HARCOURT ","23.95 ","4.19 ","2005062300000000","8 ","56 "
"149 ","103179 ","A","254010 ","2005020900000000","208864 ","Paul Glew ","2.16 ","0.38 ","2004121300000000","9 ","1 "
It only loads up to the column with 0.20,4.19,0.38 and cuts it out from the date onwards (3 last columns).
Anybody seen this???Hi Guys,
I really don't have much of a leeway in manipulating the file for upload. It is generated by a legacy system and the upload will be automated.
However, I am using a subset of the data for testing which I have been changing to troubleshoot the errors. What confuses me in this situation is that I have similar data structures with the same spaces, date formats etc. that is working. To answer your questions:
In the preview the data is displayed OK and first date in the line is displayed without the suffix zeros up to the last 3 columns which is blank completely, the following column shows 4 zeros and the last column is blank as well.
I have tested the data by physically removing the last 3 columns from the file. When I preview that it also gives me zeros in the 2nd last column even though there is no data to be read.
I have also tested it by removing unwanted spaces and it did not make a difference.
I have also tested via a logical path as well as pc file.
I am thinking other ways to test this......any ideas still......
K -
I am loading hierarachy through flat file but facing problem
i am loading hierarachy through flat file but facing problem when creating infopackage still error coming please suggest details what are steps followed
Hi,
Follow the steps:
Hierachy through flat file
 First create a flat file save as in .CSV format. Then close the file.
 Create info area in info object then info object catalog opens then create it then info object screen opens then another screen opens were you will give data type, length then select option hierarchy tab, then select it simply select the check box with hierarchies.
 Select attribute tab in that name, age, address, phone then activate it then come back to the main screen then select characters right click a small screen open then select info object then a small screen opens then create sales region and activate it.
 Then return back to the main screen then click characters right click on it then a small window opens then select info object option & create sales office and activate it.
 Then return to the main screen then select characters then the ID then the double click on it then the other screen opens select hierarchy tab then select external chars in hierarchies then click on it then other screen opens then select find tab then give the sales region info object name and click continue then it finds the name.
 The name would be scroll on the other screen then the office should be find the same way as region then office would be scroll on the other screen then continue and activate it.
 Then come back to the main screen then go to info source option then it opens then create application component then it opens other screen then click continue it
 Then create info source for master data then select direct update option there give the name of the info object of as ex; YID_AS2 then click continue.
 Then the YID_AS@ could be seen in the main screen then right click on it. Then a small option opens then click assign data source option then other screen opens there it gives the empty space double click on it then PC file then click continue then another window opens click continue then again screen opens click continue again a pop up screen opens click continue.
 Then another screen opens there the attribute data source then activate it then select hierarchy activate it then the left side data structure/ hierarchy then click on it then it opens another screen then click hire maintenance button .
 Then give the hierarchy name (your wish) then go with continue then yes then save then go back to the main screen.
 Then maintain the flat file as node id, info object, node name, link name, parent no.
 Then info package creation then click on the flat file right clicks on it then a other screen opens then select attribute data source and then continue.
 Then other screen opens then select external data tab in .CSV then click 1 the enter preview then another screen opens then click then it shows the preview then schedule then start then monitor click on it then it opens other screen then click on the master data then we can see the data then go back to the main screen.
 Then select the flat file right click on it then it gives other screen then select hierarchy in that then click continue then it opens other screen then select hierarchy selection tab there you can see the file name then select the button of hierarchy.
 Then select External data then the file name in CSV then processing tab only psa option with update subsequently in data targets then the update it schedule start then the monitor then go to the main screen.
 Then go to info object then select the file id which you have given then double click on it then select hierarchy or text file then the contents then execute it.
 Create a transaction table , cube in a normal way. We can see the result in reports we have to give the hierarchy name in the properties of rows where we drag the characteristics id then we can see the records which we have entered man usally after executing the report.
regards
ashwin -
Problems with shortcuts when selecting file to upload in BPS
Hi all,
We have a problem when the user is navigating through the directories for selecting a file to upload. When the user navigates between folders it is ok but if there is a shortcut to another disc the program interprets that as a file and then generates a lot of errors in BPS.
This worked only a month ago and the only thing we have changed is a GUI upgrade from 640 to 710. Could this be the problem?
We are using cl_gui_frontend_services=>file_open_dialog for uploading files in the planning layout.
We are on:
BW: 3.5 Patch 17
GUI: 710
SEM: 4 Patch 8
Thanks for any help!
Best Regards
PontusHello Pontus,
maybe you are using the incorrect file/path separator. Check SAP Note <a href="http://service.sap.com/sap/support/notes/1266211">1266211[</a> on how to get the correct separator.
Regards,
Marc
SAP NetWeaver RIG -
Help needed... File UPload problem on remote Machine..
Hello Helpers....
Advance My heartfull thanks
me have problem in file uploading...
me have program for file upload...
but it will work perfectly in same system.. (i mean server)..
i cant upload in client machine..
resourse not found (error) is comming
me use tomcat5.0 with jdk1.4..
Html File
<html>
<head>
<form action="fileupload.jsp" name="upform" enctype="multipart/form-data">
<table width="60%" border="0" cellspacing="1" cellpadding="1" align="center" class="style1">
<tr>
<td align="left"><b>Select a file to upload :</b></td>
</tr>
<tr>
<td align="left">
<input type="file" name="filename" size="50">
</td>
</tr>
<tr>
<td align="left">
<!-- <input type="hidden" name="todo" value="upload"> -->
<input type="submit" name="Submit" value="Upload">
<input type="reset" name="Reset" value="Cancel">
</td>
</tr>
</table>
</form>
</body>
</html>
jsp file
<%@ page import="java.util.*,java.io.*"%>
<%
String path=request.getParameter("filename");
String newPath="";
int count=0;
if(path!=null)
ArrayList arr=new ArrayList();
StringTokenizer st=new StringTokenizer(path,"\\");
while(st.hasMoreTokens())
arr.add(count,st.nextToken());
count++;
// create ur own path
newPath="//javaserver/Tomcat5.0/webapps/ROOT/fileupload/fl/"+arr.get(count-1);
int c;
FileInputStream fis=new FileInputStream(path);
FileOutputStream fos=new FileOutputStream(newPath);
while((c=fis.read())!=-1)
fos.write((char)c);
out.println("Thanks for using");
out.println("<br>");
out.println("<br>");
out.println("1.File1 Uploaded from :: "+path);
out.println("<br>");
out.println("<br>");
out.println("2.Uploaded File1 is Saved in :: "+newPath);
%>
Message was edited by:
drvijayy2k2
Message was edited by:
drvijayy2k2hai mshanu...
thus me asking whats wrong any other solution..
thanks for ur ........................
Message was edited by:
drvijayy2k2
Maybe you are looking for
-
What's the best way to manage movie resolutions with iTunes/iPod
I've just been given a new video iPod, and am now considering importing movies into iTunes so that I can have them on my iPod. What I have is a bunch of MPGs (e.g., family movies from a camcorder, etc.); but I noticed that the iPod won't play them, p
-
Freight Calculation while posting GR in MIGO
Hi Experts, The following is the scenario :- A Purchase Order is raised for procuring coal from the coal supplier. A freight condition is maintained in the Pricing Schema of the Coal Purchase Order. At the time of making a GR in MIGO a freight vendor
-
How to install 10.6.8 mac os x software
I am trying to update my software on my mac (but it is saying there are no software updates) so that I can then update the itunes to 11.0 then connect my new ipad for music
-
Is it policy for Apple Store to ask for user password to repair iMac?
My father just took his iMac G5 into the Apple Store to get repaired. It seemingly is having a power supply issue (http://www.apple.com/support/imac/powersupply/repairextension/). They said they needed his password. This sounded absurd to me. Is this
-
How to make 3D object look like it's spinning?
I am creating a logo and the client wants the cylindrical shape with tire treads on it look like it's spinning. I've created a 3D cylinder and mapped the tire tread artwork onto it, but can't seem to figure out a way to make it 'look' like it's spinn