Upload file from local PC and send to RFC function

Hi to all,
I have a web dynpro that do a procedure which creates a file pdf in a temp folder on my local PC. I need to upload this file and send it to an RFC function module (R/3 4.6c) which saves it to DMS on r/3 system. Which java code I have to implement to handle this file? Which kind of data type I have to create on my Func module to storage the file? and how can I save it to DMS (I have to create a new document)?
I hope I was clear.
Thank you very much
Enrico

hi,
regarding Functional Module storage
how to upload a pdf file and download/open it
PDF Upload
from web dynpro side you can use upload UI element
How to Upload PDF file in to Web Dynpro
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/288e9c7d-0c01-0010-5382-dbec82af50b2
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
regards,
Pradeep

Similar Messages

  • Unable to upload files from local computer to remote server (Was: Dreamweaver)

    I have lost the connection between the remote location and the local location for files on my computer. Where to I correct this issues, since I cannot upload files from local to remote. Host server from server to my computer works fine, Running Dell computerr XP operating system with CS3 Dreamweaver. Need all the help I can get.

    I am now having a "ftp error - cannot make connection to host. Dreamweaver
    encoutered a netwoerk or file system error. I did as you suggested and I
    get to basic site definition, ( which looks o.k.), next screen ( no,I do
    not want to use a server technology) Next screen ( edit local copies on my
    machine ( file location looks o.k.), next screen (connect to remote
    server=ftp) address of web server is correct, ( no folder on server, or ftp
    login or ftp password) do not enable check in or check out
    summary: local
    Site name:midhba
    local root folder:midhba
    remote info:
    access; ftp
    FTP host: midhba.com
    check in.check out diabled
    testing server (set up later)

  • I need my application to be able to open a .pdf file which was previously synced to the iBooks PFDs Collection. I then wish to remove the file from the collection and send it to email.

    I need my application to be able to open a .pdf file which was previously synced to the iBooks PFDs Collection. I then wish to remove the file from the collection and send it to email.

    I opened one of the PDF files in notepad and these are the first couple lines:
    瀖ᕁމጿ␠씴豈䧉筩롈ꓳ劏ꎯ僪뚢頟뻏즏谀㿃夑퀉꟠鲲쮂⫉笿褡밤籞冁탁ӓ轸뿐笼ⵆ횰䄌ඁ淥ة寨闤⬅鳦팥링빨嬄敎უ婏㣴ً鮓ࣿꢚ㑀녲莒඼ိȆ䕇纍쉉籶뺝갞伐쮠᥏﯒넉釖ȓ겴☧ ἣ秵駻�䣞띰㖔流羀籔朼敨ꢉ糶당⬤俉膇䄐惡�ಹꛖ鍡恡ⱶᶜ�堷﹑ﱌ僿걄뎔æ䋷귪⛢⫐䅪䉙὿烶ꖆ႟ᗔ瘞狻틫儩六잶覱낵듘盋崾�ᦜ㺆௹뻹燴ឋ騙쬄ꏿ뽒煹�钼뇲腎稦ꃲ㈃沒ꔈ뺐뛽첑䘶畱䍣紻 ⁜哠鳾

  • Loading PDF from local drive and sending it to Agent Inbox

    Hello experts,
    I have a question regarding to sending e-mails to inbox agent (so that it will appeared in the Inbox in the transaction SBWP). Sending e-mail is not a problem and I use FM called SO_NEW_DOCUMENT_ATT_SEND_API1 to do it.
    The problem starts when I want to attach a PDF file. I can not find information how to load a pdf file from a local drive and add it as an attachment to an email. I will be grateful for your help and peace of code.
    Best regards
    Andrew

    Hi,
    Using cl_bcs much simpler
    Based on BCS_EXAMPLE_3 .
    See attached program Y_R_EITAN_TEST_10_07 .
    Regards.

  • How to upload file from local machine to oracle apps server.

    Hi all,
    Can somebody tell me how to create a OAF page to reads a window based file and writes to UNIX? (similar to FTP but using a OAF page as the interface)
    Thanks in advance!!
    Bhupendra

    Bhupendra
    Read Developer guide"File Upload and Download" section.It shows how to use messageUploadBean.
    Hope it helps!!!
    Thanks
    AJ

  • Uploading Files From VC (invoking RFC) into ECC

    Hi Experts,
    I have a requirement which consist of uploading files (from any PC) XML or PDF extension into ECC. I need to do this with a web UI. I got no experience with CE 7.1 (and above) and I just wonder if it is possible from CE 7.1 VC or CE 7.2 VC uploading files into ECC with an RFC development. Is there any uploading component available in VC 7.X which I am not aware of ???
    Regards
    David Cortes
    Edited by: David Cortes on Dec 12, 2011 8:27 PM

    Hi Nivas,
    Thank you for your response. What I really want to know is ..... if CE 7.1 VC or above has a component for uploading files. My scenario is  as follow.
    SAP NetWeaver  EP 7 (1 server)
    ECC SAP invoice manage (1 server)
    *Open Text - Invoice Content (1 server)
    My requirement is to built a Web User Interface Portal for uploading files (from any computer) and save it into ECC and OpenText Server. I would like to do this with VC but there is no any component for uploading files (not available in NetWeaver 7).
    I do not know if it is a component for uploading files available in CE 7.1 VC or higher and I really would like to know and request for this installation.
    Regards
    David Cortes

  • While uploading data from local file

    Hi,
    While uploading data from local file having the header text into interal table using the GUI_UPLOAD function module,there is problem in upload because of header text in file, do we have any option in this FM itself to skip this header text and upload from sdecond line because as per our requirement we can't delete this header text from the file.

    Hi Manish,
    Do you have the problem while uploading? Is it giving any error?
    If not, if your uploading is successful into the internal table, then delete the first row, which is header, from the internal table using index eq 1.
    Regards,
    Chandra Sekhar

  • Firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

  • How I can export files from CS5.5 to send for further editing in CS6 and no lose quality?

    how I can export files from CS5.5 to send for further editing in CS6 and no lose quality?

    If all you need for further editing is the contents of your Timeline,
    then you should follow Harm's sage advice.
    Lagarith Lossless Video Codec
    http://lags.leetcode.net/codec.html
    Ut Video Codec Suite
    http://www.videohelp.com/tools/Ut-Video-Codec-Suite
    But, if you will need all of your source media files to continue the edit,
    you should consider using the Project Manager.
    Trim or copy your project
    By using the Project Manager, you will be continuing the edit
    with the original media files and there will be no quality loss.
    Be aware that once you have edited the project in CS6,
    it will be problematic (but not impossible) to return to edit in CS5.5.

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

  • Apple Remote Desktop ARD 3.7 cannot drag files from local to remote.

    Apple Remote Desktop ARD 3.7 cannot drag files from local to remote. I've been able to drag n drop folders and files from my local to the remotes for years until the update to 3.7. Anyone else experiencing this issue? I've tried changing preferences. No luck. Maybe I'm missing a setting somewhere.
    I'm on 10.8.5. Remote is same with 3.7 client. This happens with multiple remotes.

    Let me guess.  The Get and Send clibboard contents buttons are greyed out too?
    It is only affecting me on clients already upgraded to 3.7.    None of the clients on older versions are affected.
    ARD is also crashing a lot.
    Most of the time I go to a screen share to a client it takes way too long, so I clock Stop,  then try to connect again and works straight away.
    Hopefully a patch will be released soon.

  • Copy file from local host to remote host

    Hello,
    I need to copy a simple file from local file system , to another computer on the same network.
    How should i do that in a simple java program ?
    Thanks !

    Well , I tried that from winXP to winXP on another machine and it worked great :
           InputStream in = new FileInputStream(new File("C:\\temp\\myFile.txt"));
            OutputStream out = new FileOutputStream(new File("\\\\9.143.85.143\\c$\\tmp\\myFile.txt"));
            // Transfer bytes from in to out
            byte[] buf = new byte[1024];
            int len;
            while ((len = in.read(buf)) > 0) {
                out.write(buf, 0, len);
            in.close();
            out.close();
      BUT, in order to copy to a linux machine, I tried to put this as the new File :
    OutputStream out = new FileOutputStream(new File("\\\\9.143.86.145\\root\\tmp\\myFile.txt"));
      and it doesn't work. How should I format the new File path in order to copy to a linux FS ?
    Thanks !

  • Copy file from local system to Azure VM using powershell

    Hi
    Is there a simple powershell command to copy a small file from local computer to Azure VM. Point to Site is not an option for me.
    I am hoping for something simple like
    Copy-Item C:\Wabash\Logfiles\trasfer.txt -Destination C:\Presentation -ConnectionUri $uri -Credential $credential
    similar to Invoke-Command
    The only other option i have seen is 
    http://www.mattwrock.com/blog/copy-files-from-local-computer-to-an-azure-vm
    which i fell for my purpose is over kill.

    Hi,
    I will mark Ed's post as answer, if you fount that doesn't give you help, please feel free unmark it and follow up with more information.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to upload file from a client machine to server machine

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

  • How to read a XML file from BLOB column and insert in a table - PL/SQL Only

    Hi,
    To make data load more simple to end user instead placing file on the server and use SQL-LOADER, I came up with new idea that using oracle ebusiness suite attachment functionality. that loads a XML file from local PC to a database column(table is fnd_attachments, default data type is BLOB over here).
    I tried with DBMS_LOB and didnt get around.
    Please can anyone tell me how to read the BLOB column using PL/SQL and store the data in a oracle table. Here's the sample XML file and table structure FYI.
    <?xml version="1.0" encoding="UTF-8"?>
    <dataroot xmlns:od="urn:schemas-microsoft-com:officedata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Corporate_alloc.xsd" generated="2009-07-07T14:17:49">
    <Corporate_alloc>
    <PKG_CODE>BKCORP</PKG_CODE>
    <PKG_NAME>Corporate Edition - Books</PKG_NAME>
    <DET_CODE>B9780080543758</DET_CODE>
    <DET_NAME>Waves, Tides and Shallow-Water Processes</DET_NAME>
    <ALLOCATION_RATIO>0.000041</ALLOCATION_RATIO>
    </Corporate_alloc>
    <Corporate_alloc>
    <PKG_CODE>BKCORP</PKG_CODE>
    <PKG_NAME>Corporate Edition - Books</PKG_NAME>
    <DET_CODE>B9780080534343</DET_CODE>
    <DET_NAME>Hydrostatically Loaded Structures</DET_NAME>
    <ALLOCATION_RATIO>0.000127</ALLOCATION_RATIO>
    </Corporate_alloc>
    </dataroot>
    CREATE TABLE TEST_XML
    ( PKG_CODE VARCHAR2(50),
    PKG_NAME VARCHAR2(100),
    DET_CODE VARCHAR2(20),
    DET_NAME VARCHAR2(500),
    ALLOCATION_RATIO NUMBER )
    Thanks
    EBV

    In regards to #3, use the COLUMNS functionality of XMLTable instead of using Extract. Two simple examples are
    Re: XML Data - Caliculate fields
    Re: Extractvalue function not recognised

Maybe you are looking for