Can't create file using FM File_Get_Name

Hi guru,
I have a program that creates a file to the system using fm fiel_get_name. Someone changed the OS in the SY-OPSYS from AIX(Application) to NT(file server). But the file seems is not there.
Is there something wrong from changing the SY-OPSYS?
Points will be rewarded...Thank you

Hi gurus,
what else should I look at..i dont think there's nothin wrong about the code of my program.. It's about how it is deifne in the logical path and other settings... Would you know in what tcode can I see it? I only new in this kind of issue.
Points will be given ..thanks!

Similar Messages

  • Does anyone know how i can view PDF files using Galaxy Note 2?

    Does anyone know how i can view PDF files using Galaxy Note 2?
    This is what i have been doing;
    I click on the file i wish to view (via a portal)
    this file goes to notification widget (i drag down screen)
    notification/message says download complete
    i click on notification/message
    nows it says complete action using (here i only have 2 icon options 1= DB Text Editor 2 = HTML Viewer)
    I have installed Adobe Reader.

    Can you confirm if the downloaded file is a pdf file, that is it ends with .pdf?

  • How can i upload file using ajax post request and jsp

    Hi
    this is my code files
    addPhoto.jsp
    <html>
    <head>
    <title>Add Photo</title>
    <script>
    var optionNo = 0;
    var i=1;
    var val=0;
    var file = 0;
    var exten = new Array(".jpg",".jpeg",".gif");
    function addValues()
         for(var i=0;i<5;i++)
              optionNo += 1;
              oNewOption = new Option();
              oNewOption.text = optionNo;
              oNewOption.value = optionNo;
              addSelect.add(oNewOption);
    function addBoxes()
         var str = "";
         var j=0;
         val = document.getElementById('addSelect').value;
         for(j=1; j<= val; j++)
              str = str + '<font size=3>file:' + j + '</font>';
              str = str + '<input type="file" id=filepath'+ j +' name=file'+ j + ' onchange="uploadFile(hidden'+ j + '.value)"><div id="result'+ j +'"></div>
              str = str + '<input type="hidden" name="hidden' + j + '" value=' + j +'>';
         document.getElementById('addPhoto').innerHTML = str;
    function uploadFile(value)
    var str = "filepath" + value;
    file = value;
    var param = document.getElementById(str).value;
    var parameter = "filepath=" + param;
    alert(parameter.length);
    if(checkValidity(param))
    var url = "uploadFile.jsp";
    if (window.XMLHttpRequest) {
    req = new XMLHttpRequest();
    } else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHTTP");
    req.open("POST", url, true);
    req.setRequestHeader("Content-type", "multipart/form-data");
    //req.setRequestHeader("Content-length", parameter.length);
    req.setRequestHeader("Connection", "close");
    req.onreadystatechange = callback;
    req.send(null);
         else
              document.getElementById("result" + file).innerHTML = "upload .jpeg,.jpg,.gif Files Only";
    function callback() {
    if (req.readyState == 4) {
    updatepage(req.responseText);
    function updatepage(str){
         document.getElementById("result" + file).innerHTML = str;
    function checkValidity(str)
         var i=0;
         var j=0;
         var str1 = str.substring(str.lastIndexOf("."),str.length);
         alert(str1);
         for(i=0;i<exten.length;i++)
         if(str1.search(exten) != -1)
              j++;
              break;
         if(j>0)
              return true;
         else
              return false;
    </script>
    </head>
    <body onload="addValues()">
    <h5>Add Photo(s)</h5>
    <select id="addSelect" name="addSelect" onchange="addBoxes()">
    <option id="select" selected>Select</option>
    </select>
    <div id="addPhoto"></div>
    </body>
    </html>
    uploadFile.jsp
    <%@page import="java.io.*"%>
    <%
    /*try
    String contentType = request.getContentType();
         System.out.println(request.getMethod());
         System.out.println("Content type is :: " +contentType); 
         if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
              DataInputStream in = new DataInputStream(request.getInputStream());
              DataInputStream in1 = in;
              int formDataLength = request.getContentLength();
    System.out.println(formDataLength);
              byte dataBytes[] = new byte[formDataLength];
              int byteRead = 0;
              int totalBytesRead = 0;
              while (totalBytesRead < formDataLength)
                   byteRead = in1.read(dataBytes, totalBytesRead, formDataLength);
                   totalBytesRead += byteRead;
              out.println("<br>totalBytesRead : " + totalBytesRead + " : formDataLength = " + formDataLength);
         } catch(Exception e) {
              e.printStackTrace();
         try
         String filePath = request.getParameter("filepath");
         System.out.println(filePath);
         File f= new File(filePath);
         String path = f.getName();
         String contentType = request.getContentType();
         System.out.println(contentType);
         //InputStream in = new FileInputStream(filePath);
         DataInputStream in = new DataInputStream(request.getInputStream());
         int formDataLength = request.getContentLength();
         System.out.println(formDataLength);
    byte[] buf = new byte[1024];
    OutputStream out1 = new FileOutputStream("c:/docs/" + path);
    int len;
    while ((len = in.read(buf)) > 0) {
    out1.write(buf, 0, len);
    in.close();
    out1.close();
         out.write("File Uploaded SucssesFully");
    catch(Exception e)
         e.printStackTrace();
         out.write("error while Writing File");
    %>
    the above code in request.getContentType() i am getting 0. I am not passing the content length. for the same application with out using Ajax i am
    getting the size of file... it is very very urgent for me.. pls help me out on this...
    Any one having the code on this pls mail me the code...
    my mail id ... [email protected]
    Regards
    Ashok Kumar

    Sure, you can upload a file, using a form input element of type file. You pick this up with a servlet, though you need a special request wrapper to sort out the multi-part request you get back that way (there's a suitable package on jakarta.apache.org/commons)
    The servlet decrypts the file and can pass the results to a JSP for display.
    Don't try to do the complicated stuff in a JSP, it all gets incredibly messy, and that's not what JSPs are for.

  • Can I create and use more than one repository on OVM 2.1.5

    The version of Oracle VM I am using is 2.1.5 .
    I wonder can I create and use more than one repository on OVM 2.1.5. Because I want to install different GOS on different disks.
    I know in Oracle VM 2.2 we can use following commands to realize that.
    a. #/opt/ovs-agent-2.3/utils/repos.py –n /dev/mapper/mpathxp1
    b. #/opt/ovs-agent-2.3/utils/repos.py –r UUID
    c. #/opt/ovs-agent-2.3/utils/repos.py –i
    And other repositories can also be mounted and found under /var/ovs/mount/UUID.
    But in Oracle VM 2.1.5, seems just one repository can be created and mounted. For example:
    At first, I create a repository using mpath1p1:
    a. # mkfs.ocfs2 /dev/mapper/mpath1p1
    b. #/usr/lib/ovs/ovs-makerepo /dev/mapper/mpath1p1 C "cluster root"
    c. I can find the repository has been mounted under /OVS.
    But if I want to use "/usr/lib/ovs/ovs-makerepo /dev/mapper/mpath2p1 C "cluster root" to create another repository, and check the mount status using command "mount", these two disks are all have been mounted under /OVS.
    "# cat /etc/ovs/repositories", only mpath1p1 with UUID was recorded there.
    After reboot, only repository with mpath1p1 was mounted under OVS.
    Can anyone tell me how to use more than one repositories on OVM 2.1.5. Do I have to install all the GOSs on the same disk and repository.
    Thank you very much.

    Now I've known how to create different repository. They will be mounted under /OVS/UUID. Thanks.

  • We can't create form using dblink  and synonim

    We have created a dblink pointing to a table in the remote database.
    When we create a form based on table or view using this dblink, we get the error "page not found".
    We read from
    Re: I can't create form using dblink
    that we must create a synonim, and this was done creating one in the same schema of the db-link using the "Database Objects" of oracle portal 10g (external db is an oracle 9.0.2).
    The new synonim work (tested with reports and pl/sql page)
    but if we click on "Grant Access" (of the synonim) we get the following error :
    Error: The underlying object of the synonym does not exist, is a remote object or is not of type function, procedure, package, sequence, synonym, table or view. (WWV-17076)
    Does form work only with table and view of the portal database (not external one)? or have we loose something in the creation of the synonim?
    Have someone succesfully created a form based on a db-link towards an external database?
    Thanks to all.

    Hei guys, has nobody created succesfully a data-driven forms based on a dblink towards an external database?
    I can't believe this!!!!

  • Can i create SalesOrder using SalesQuotation

    Hi all,
        I want to create SalesOrder with reference using the SalesQuotation. How can i achieve this.
        I am using JAVA to develop this. I am using DI API to achieve this. I am creating SalesOrder directly by giving the items and their quantities and succeded. But when i want to give the SalesQuotation number Reference while creating salesOrder it is giving error.
    -5002Item no. is missing  [ORDR.ObjType]
    com.sap.smb.sbo.wrapper.com.ComFailException: Invoke of: DoQuery
    Source: SAPbobsCOM.Recordset.6.7
    Description: 1). [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'FOR'.
    2). [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared.
         at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Native Method)
         at com.sap.smb.sbo.wrapper.com.Dispatch.invokev(Unknown Source)
         at com.sap.smb.sbo.wrapper.com.Dispatch.callN(Unknown Source)
         at com.sap.smb.sbo.wrapper.com.Dispatch.call(Unknown Source)
         at com.sap.smb.sbo.api.Recordset.doQuery(Unknown Source)
         at SalesOrderCreate.main(SalesOrderCreate.java:133)
    Can any body give me a sample code that how can we create salesOrder using SalesQuotation.
    regards,
    JAYA

    Hi
    I've never tried doing it in java. But i here is an example of how it is done in VB.Net, im sure it will help you connect the dots. This example makes a invoice based on a sales order
    Dim oInvoice As SAPbobsCOM.Documents
            oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oInvoice.CardCode = BPCode.Text
            oInvoice.DocDueDate = Now
            oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
            'OrderStr is sales order DocEntry,not Docnum
            oInvoice.Lines.BaseEntry = CInt(OrderStr)
            oInvoice.Lines.BaseLine = 0
            oInvoice.Lines.Add()
            oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
            oInvoice.Lines.BaseEntry = CInt(OrderStr)
            oInvoice.Lines.BaseLine = 1
            lRetCode = oInvoice.Add
            oCompany.GetLastError(lErrCode, sErrMsg)
            If lRetCode <> 0 Then
                MessageBox.Show("Not Added" & lErrCode & " " & sErrMsg)
            ElseIf lRetCode = 0 Then
                'oCompany.GetNewObjectCode(OrderStr)
                MsgBox("Added Invoice")
            End If
    please not, OrderStr is sales order DocEntry,not Docnum
    Hope this helps

  • Can i create report using more than one Business Area ?

    Hi Gurus,
    Can i create report using more than one Business Area?.Could anybody tell me that report will work?.
    Vikram

    You should have no problem creating a report using more than one Business Area, we share folders across BAs all the time for ease of management. As long as your joins exist its not a problem.
    Matt Topper
    TUSC, The Oracle Experts
    [email protected]

  • HT4864 I have been using AOL for many years as my ISP but now I want to close my account and use iCloud.  My challenge is I don't want to lose five years worth of emails and attachments saved in AOL personal folders.  Can I can transfer the files using iC

    I have been using AOL for many years as my ISP but now I want to close my account and use iCloud.  My challenge is I don't want to lose five years worth of emails and attachments saved in AOL personal folders.  Can I can transfer the files using iCloud?

    Do you receive AOL mail in the Mail app or on the website?

  • I have been trying to download photos. It keeps saying can't create file, please check permissions on destination folder. Ihave made sure I have set the permissions on read and write. What am I doing wrong?

    I have been trying to download photos too my MAC. It keeps saying can't create file, please check permissions on destination folder. Ihave made sure I have set the permissions on read and write. What am I doing wrong?

    Lanakivee
    Try this it worked for me Pat Willener gave it to me off the site :
    I have not read all you wrote, so I may have missed some points. As I understand it, you installed FP 10 on IE7, but it won't play any Flash content?
    Try this
    download the FP uninstaller from http://www.adobe.com/go/tn_14157
    close all browser windows, then run the uninstaller
    download the offline ActivX installer for Internet Explorer from http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    close all browser windows, then run the installer

  • When i open iWeb appear Can't create file "(null)."

    When i open iWeb appear this mensage: "Can’t create file “(null).”", what is happen?

    If the above suggestion doesn't work, try deleting the iWeb preference file in Home Folder/Library/Preferences/com.apple.iWeb.plist, restart your Mac and run Disk Utility to repair permissions.
    If iWeb still won't launch, click my name in the sidebar to get my email and I'll send you a file to jump start it.

  • FRM-10044:Can't Create File

    Dear All..s
    i am getting the following error:FRM-10044:Can't Create File
    after trying to save any .fmb or mmb file Forms 6i
    Can anyboady help me..pls.!!
    Abdetu..

    Oh yess it's so simple even though i have a full permission i found out the properties of my app. folder available read only soo i unchecked this option and every thing go on very smoothly no problem..
    Thank u Rosario.
    Abdetu

  • Can't Create File

    After funcitoning WELL for a long timeon my Pages 2.0 has developed a SERIOUS, DISABLING problem — when I try to SAVE a new file, I'm informed
    CAN'T CREATE FILE — How do I lick this problem? I can still open old files and print them out, but can't save any changes, for again I get the message "CAN'T CREATE FILE"
    iMac G5   Mac OS X (10.4.6)  

    Hello Antonius,
    welcome to the Pages Discussions. This sounds like access privilege problems. Where do you want to save the files? Have you noticed a probleme with your system soon before the first time this error appeared?
    Select the folder where you want to save the document and press the keys "command+I" to show the info window. There is a section at the bottom which you can expand with the triangle and where you can see what you are allowed to do. If you have the right to save into this folder, have a look at the higher level folder and then the higher, etc.
    If you notice that you have no privilege to save, click on the lock (may be you need admin rights) and change the privileges.
    If it seems that this don't work for you, because of more and more incorrect access privileges, start the DiskUtitlity app and see if it can find errors etc.

  • I can't transfer files using bluetooth, i can't transfer files using bluetooth

    i can't transfer files using bluetooth

    Bluetooth on iPads is mainly for use with keyboards and headphones, not for copying content
    Supported Bluetooth profiles : http://support.apple.com/kb/HT3647

  • I accidently created files using a Free Trial version of InDesign. Now the files are gone. Where did they go? How do I get them back? I pay for this service...

    I accidentally created files using a Free Trial version of InDesign. Now the files are gone. Where did they go? How do I get them back? I pay for Creative Cloud... but used the wrong login apparently.

    Files you save don't disappear, even if you no longer have the software that created them. They're right where you saved them.

  • How can I create Droplets using Actions with several Stops?

    My Droplets (using Actions but with several Stops) work very nicely when using a single image source. However when using multiple images thing start to go crazy.
    At the first stop on the first image a pop-up emerges asking me to continue to the next image or stop. If I select stop I can continue with the Action for this first image and complete the Action on that first photo.
    If I select continue it halts the action on that photo at the first stop then opens the 2nd image and repeats the action to the first stop on the next photo then the pop-up appears again and the cycle repeats.
    How can I create Droplets using Actions with several Stops?

    I don't believe this is possible when starting from Java. I think you need to start with a WSDL to get this to work. I am curious as to why having multiple WSDLs is an issue, would you care to eloborate.
    Thanks

Maybe you are looking for