Writing a file to a remote location (not KM) using WD

Hello everyone.
I've encountred a scenario in which I need to upload an excel file to a km file and also load it into the sap system.
I've managed to upload the file to the KM Server, but not I have a new problem:
The abap function that loads the excel file into an Internal table (ASLM_EXCEL_TO_INTERNAL_TABLE), works on a local location.
I cant supply the the function with the KM address, since the KM Server is firewalled and not every user which will work with my application will have access to it.
However, I have another server - the SAP server which has an interface which every user can access, so I've come up with an idea - I still have the inputstream of the file which I wrote to the km server, and I will write it to another server, for example - 212.101.42.21\interface\my_folder and then I will supply the abap function with this location.
Is this possible? if so, how can I use web dynpro to write to this server?
thanks for any help,
Eli Erenburg.

Hi,
Yes it will be possible.
Java Classes help you write files to servers. Have a look at:
http://www.java2s.com/Code/Java/File-Input-Output/UseNewJavaIOtowritestringintoafile.htm
You can reuse the solution inside a bean and then expose that as a web service - finally consuming it in Web Dynpro Java. It may directly be reused in WDJ as well (as part of a method) - but then again that would be a design call.
Hope that the link helps. I have used it to write local files to server.
Thanks.
p256960.

Similar Messages

  • Powershell - Need to push a file to a remote machine (not in domain or workgroup)

    Scenario
    HomeComputer
    MyCloudServer
    No WorkGroup or Domains between the 2
    All I need to do is push a file from my local machine 'HomeComputer' to 'MyCloudServer'.  What is the best way to do this?
    If I use Invoke and -ConnectUri my session is on the remote so Copy-Item only works for items already on 'MyCloudServer'.  I want to push the file from my desktop to this server.  I have all the rigts necessary to the box. 
    I tried start-BitsTransfer but can't seem to get that working
    Start--BitsTransfer D:\Testfile.txt
    https://MyCloudServer.net:5986/testFolder/testFile1.txt -transferType Upload -Authentication "" -Credential ""
    I get the requested URL does not exist on the server.  Which makes sense since testfile1.txt doesnt exist yet.  I'm trying to upload it right?? 
    What is the best method for transferring a file with powershell to remote computer not in a workgroup or domain?  Preferrably through IP I would think.  
    

    It's Azure  and they have specific ports on the VM's called endpoints for allowing remote connections.  By default the endpoint for powershell is setup out of box on Windows Servers.  I believe the port is 5986.  I've been able to connect
    using this port with powershell and have been able to manage resources remotely through powershell. I'm looking for help pushing a file through some kind of copy process in Powershell to the remote server.  Is this not possible?? 

  • HTML files uploading to remote server, not reflected on website.

    After minimal adjustments to an HTML file, I upload it to the remote server. The local and remote files reflect this in the "modified" line, both mirroring the same exact time. However, when I go to the actual site, the changes don't appear.
    Now, when I update the html file, say cv.html, it also makes the same changes to 2.html. When I click on the link on the website, it appears at 2.html. Somehow cv.html and 2.html are linked to each other. (I guess to keep the overall web address smaller)?
    I just took on this website to manage and I've already hit a million roadblocks trying to get it started on my end, so anyone that can solve this I would be SO grateful!

    Somehow cv.html and 2.html are linked to each other.
    Could be CV is being pulled into a framed parent page called 2.html.  Or maybe your previous web developer used server-side includes to populate page 2 with content from other site files. It's anybody's guess what may be going on until you provide us with more detailed information. A URL is preferred.  Copy & pasted code is a 2nd option but don't use e-mail, it won't come through to the web forum.
    Nancy O.

  • How to run a sound file from a remote location?

    Hello i am Parikshit and am preparing a project on Network Player which will play the files playing on server i.e sound files may be a song or any educational stuff.I have constructed the player and now i want to take it to the LAN or network level all i need to know is the basic idea about what should be done to establish the connection between 1 SERVER and 60 or more clients. My player is a stand alone application.

    >
    ..what should be done to establish the connection between 1 SERVER and 60 or more clients. >It looks as though this app. needs RTP streaming. I have not experimented with streaming, but you might use the JMF to do it, and start reading about it here.
    [http://java.sun.com/products/java-media/jmf/2.1.1/guide/RTPRealTime.html]

  • Writing the file to a specific directory on server using DATASET

    Hello Friends
    I know that using dataset command we can create a file, write to a file, read from a file etc.,
    But by default it uses the directory DIR_SAPUSERS which is the ./ directory.
    But this particular directory DIR_SAPUSERS also has other system related log files etc.,
    Is there a way to make the command DATASET write to a user created directory instead of this ./ ??
    Any suggestions or comments will be highly appreciated.
    Thanks
    Ram

    IF NOT p_ufile IS INITIAL.
    OPEN DATASET p_ufile FOR INPUT IN TEXT MODE.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    here p_ufile will contain the path where ever u need to place the file i.e. use specific path.... ex: "usr/sap/bin/interface"

  • Remote gateway not responding using linksys vpn client

    Please i need your assistance asap
    Am using this
    Linksys VPN router RV042, firmware version 1.3.12.19-tm
    Linksys  VPN Client version 1.2.11
    When i trying connecting via the VPN client on a window XP SP3 system it
    goes through the process of connecting,provisioning, activating policy
    and hang on verifying network. After a while a pop box comes up with ''
    The remote gateway is not responding. Do you want to wait''
    The RV042 shows that the client is log on  and online.but the VPN client
    access say The remote gateway is not responding. Do you want to wait''
    see below my vpn client log
    2012/07/26 16:17:55 [STATUS]OS Version: Windows XP2012/07/26 16:17:55 [STATUS]Windows Firewall is OFF2012/07/26 16:17:55 [STATUS]One network interface detected with IP address 10.54.39.592012/07/26 16:17:55 [STATUS]Connecting...2012/07/26 16:17:55 [STATUS]Connecting to remote gateway with IP address: 41.78.96.452012/07/26 16:18:10 [STATUS]Remote gateway was reached by https ...2012/07/26 16:18:10 [STATUS]Provisioning...2012/07/26 16:18:23 [STATUS]Tunnel is connected successfully.2012/07/26 16:18:23 [STATUS]Verifying Network...2012/07/26 16:18:27 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:18:30 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:18:31 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:18:33 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:18:36 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:18:59 [WARNING]Ping was blocked, which can be caused by an unexpected disconnect.2012/07/26 16:19:10 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:19:13 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:19:18 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:19:21 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:19:27 [WARNING]Failed to ping the remote VPN Router!2012/07/26 16:19:55 [WARNING]Ping was blocked, which can be caused by an unexpected disconnect.2012/07/26 16:20:03 [STATUS]Disconnecting...2012/07/26 16:20:17 [STATUS]Tunnel is disconnected successfully.
    PLEASE I NEED HELP!!!!!! OR ANY OTHER OPTION TO ACCESS MY CENTRAL VPN GATEWAY
    Celestine
    Specstech Africa

    Discussions about the WRVS4400N is now being handled by the Cisco Small Business Support Community.
    The Search Function is your friend.... and Google too.
    How to Secure your Network
    How to Upgrade Routers Firmware
    Setting-Up a Router with DSL Internet Service
    Setting-Up a Router with Cable Internet Service
    How to Hard Reset or 30/30/30 your Router

  • FCE Express is writing render files to startup disk not external hard drive

    Hi
    I'm using FCE Express HD 3.5.1, with a MacBook Pro 2.4 GHz Intel Core 2 Duo, with 2 GB memory.
    I'm using a Lacie big disk extreme as my scratch disk, and FCE is set up to write all render files to this. However, I noticed that my startup disk was becoming full and realised that FCE is writing render files to the startup disk not the external hard drive.
    I've quit, shut down, etc...
    Any ideas what is going on?
    Many thanks
    Helen

    Whenever FCE is behaving strangely, one thing to try is trashing the preferences. Here's how:
    http://www.fcpbook.com/Misc1.html

  • Working on files in remote location

    Hi,
    Would it be possible for me to use Eclipse ( preferably) or any other IDE to work files in a remote location. Could configure the path in the IDE . the remote PC might ask for a username and login...it is a windows NT system....
    Regards
    vivek

    Yes, but. . .see reply 3 of this thread: http://forum.java.sun.com/thread.jspa?threadID=677103

  • Getting error when reading xml file from a remote connection

    Hi all,
    I want to read an xml file from a remote connection, not from my local machine.So when i am creating the data server i am giving the host name(that is the ip of the machine where the xml file is located), giving the proper username and password and giving the path of the xml file. When i am testing the connection the error that is coming:- "Connection failed and the xml file could not be created, verify that you have write permission in the directory"...
    but read write and execute permissions have been given on the directory as well as to the file...
    Regards,
    Sourav

    Hi Sutirtha,
    Initially I have started the agent.sh giving the agent name <agent name>and port number 20910 and defined it in the topology manager it is showing that the agent test is succesful. Then I tested a particular Data server against that agent and the test was successful.
    After this we had stopped the agent and restarted it.
    However now suddenly the testing against the remote agent is failing with the following excep:
    java.lang.Exception:
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    PS: do i have to modify any file after or before starting the odi agent
    Thnks and Rgds,
    Sourav
    Edited by: user13263578 on Mar 15, 2011 9:35 PM
    Edited by: user13263578 on Mar 15, 2011 9:48 PM

  • I have an hp 100 WBT and my ipad cannot connect to it. Is there any way I can print via blue tooth when remote and NOT on a network?

    When at a remote location ( not on a network) my ipad cannot connect and print to my bluetooth printer ( hp 100 wbt)
    How can I connect to a blue tooth printer when NOT on a network?
    Please help

    iOS: How to troubleshoot Bluetooth connections
    http://support.apple.com/kb/TS4562
    Can the printer also print via wifi?
    If your location does’t have wifi  use a portable router.
    Portable routers http://compnetworking.about.com/od/routers/tp/travel_routers.htm
     Cheers, Tom

  • Download/Display the image files stored at KM location: J2EE application

    Hi All
    Please let me know how to download/Display the image files stored at KM location on portal using J2EE application. Thanks.
    Best Regards
    P M

    You can use a servlet to deliver the image data to the <img tag, which allows you to get the data from something other than a file on the server (e.g. store the image data as a session attribute with a generated attribute key, the key being given in the serlvet's query string).

  • We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter

    We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter who on our network opens the design file.

    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Can't open HTML files from local or remote location

    Hello Experts,
    I've tried deleting my remote location, and adding it back
    again several times and I still can't open any HTML files. I can
    check out the pages, and check them back in, but nothing shows up
    on the screen. Does anyone know what may be causing this? I'd
    really like to update my website soon. If I click on the web images
    they open up in my photoshop, it's just the Dreamweaver HTML
    portions that won't open up.
    Thank you,
    Calie

    > Unfortunately I can't seem to get any of the pages open
    to check out the code
    > view.
    CLARIFY please.
    You said you open them, but design view is blank.
    The file is either open or not open
    Is the file open? And design view is blank? Or is the file
    NOT open and
    there are error messages?
    If the is open, even if empty design view There should be
    something in code
    view.
    some not random attempts at fixing this:
    open dreamweaver.
    Open this site.
    DON'T open any files.
    open find and replace
    Find in Source Code, sitewide:
    <!-- -->
    replace with: [nothing]
    reason: not much of one, but I've never seen an empty html
    comment. It
    doesn't need to be there.
    Then, i'm trying to think of a way to fix this badly nested
    bold tag
    <p><b>
    <a href="about-me.html">ABOUT ME</a> |
    <a href="contact.html">CONTACT</a> |
    <a
    href="
    http://blog.loveBaRKLee.com/">BLOG</a>
    </p></b>
    the closing </b> needs to be moved to before the
    closing paragraph tag.
    My next guess is that it's a css problem-
    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.lovebarkle
    e.com%2Fdog-bed-accents.html&profile=css21&usermedium=all&warning=1&lang=en
    moz-radius
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.lovebarklee.com&charset=%
    28detect+automatically%29&doctype=Inline&group=0
    Fix the errors, clarify if the file does or doesn't open in
    dreamweaver, if
    it opens and design view is blank or if it doesn't open and
    crashes the app.
    moosepucky.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Report Subscription - Failure writing file - The network path was not found.

    I have several subscriptins which have been working fine.
    All suddenly stopped with same error - Failure writing file - The network path was not found.
    The subscriptions write to a number of different network paths, all of which exist and are accessible.

    Is this a repeating failure or one time occurrence?  If it's a one time occurrence it could have been a short network outage.  If repeating look and ensure the user that the subscription is using to write the files still has the appropriate permissions,
    is enabled, not locked, etc.  Other things to possibly consider would be flushing the dns cache on the server.  It's possible a firewall rule could have been put in place that would block the ability to access said location as well.  The best
    thing you can do is start by asking "what has changed".

  • CAF service: import web services using Remote Location / File System

    Hallo Experts
    I use the NetWeaver DevStudio 7.1 SP5.
    I have a CAF project and in this project I want to import one WebService as external service. I have chosen the option "Remote location/ File System" in the import web service wizard, then I enter the URL in the following step. But at the end of wizard I got the error "WSDL could not be downloaded because Server returned HTTP response code 403 for URL". The web service I've deployed and tested on the server. It runs well. Any Hints?
    Thanks in advance
    Kind Regards
    Ping

    Hallo
    I found out: if I enter one URL "http://xxxx.xx.ch:51000/ExampleService/ExampleBean?wsdl&mode=ws_policy". Afterwards I got the error "http://xxxx.xx.ch:51000/ExampleService/ExampleBean?wsdlmode=ws_policy". & ist not correct displayed. Is this the problem that I got 403 Error... It is a bug in SP5
    Thanks if you can tell me some work-arround.
    Ping

Maybe you are looking for

  • Brochure pages appearance in Acrobat Reader

    Hello! I would like to create a brochure much like this one: http://imagesrv.gartner.com/summits/docs/emea/enterprise-architecture/ea13_summit_brochure _generic.pdf from Gartner. They have the front page (when viewing the PDF document in Acrobat/Read

  • Memo fields in Crystal Database Expert

    We are developing a set of commission reports and need to pick up our sales person code from a UDF.  The UDF is Alphanumeric and does not show in the list of available fields for linking in the Database Expert.  Is there a way to get these to appear

  • BAPI for creating variant table

    Hi, Cu61 and Cu60 are two transactions in SAP (comes under Variant Configuration) to create a variant table and fill its contents respectively.      Now, I am trying to create a transaction in SAP such that on the screen it takes the name of the vari

  • Authorization with standard info objects

    Hi Guys, I want a small clarification. Is it true that Authorization cannot be done for the Standard Infobject, we need to create reference objecs to the standard objects, and the master data of the standard object would be passed to the reference ob

  • Printing the "Grab" screen selection

    When I print a "Grab" screen selection I don't get the entire selection. I get about 2/3's of it starting from the left so I'm losing the right 1/3 of the selection. Anyone know how to solve this problem and get the entire selection to print?