DMS - FTP Docs to FileZilla/Server (Download to FTP server path)
Dear Experts,
I have a requirement to transfer files from SAP DMS to FTP Server (FileZilla/Global Scape).
How should I go ahead. I should be able to check out the document to FTP server path.
This should be done by the CV** transaction as well as a program.
Your valuables comments would greatly be appreciated.
Regards
Rahul
Here is the solution for those who are having similar requirement.
If you are not using the Knowledge Provider for storing and checking in original application files you can only store original application files in a vault that is managed by DMS. In Customizing of Document Management you must therefore in this case not set the indicator Storage using the Knowledge Provider . You have made the required setting under Control data Define document types.
Prerequisites for the Vault without DVA
The following table shows the settings you must make to set up a vault without DVA. In Customizing for theDocument Management System , choose General Data Define Data Carriers.
Activities for the Vault without DVA
Step
Activity
Define data carrier type vault
Define vault (without specifying the DVA computer)
Defines access path for vault
Define mount points / logical drive
Defines the prefix for the access path, for accessing the data carrier (logical drive)
Prerequisites for the Vault with DVA
The following table shows the settings you must define in Customizing for the Document Management System to set up a vault with DVA, by choosing General Data.
Activities for the Vault with DVA
Step
Activity
Maintain global settings
Determines whether you want to use Direct Vault Access(DVA) to transfer original application files from a vault to the frontend computer.
Define Data Carriers
1. Define data carrier type vault
2. Define vault (specifying the DVA computer)
Define Number Ranges for Vaults
Check the number ranges for the vault
Note
If you activate DVA in the global settings, you cannot store original files in vaults that are accessed via an application server.
Features
When you save an original application file to a vault, the system generates a file name for it from an internal number range. This number range is predefined in the standard system.
The following graphic shows the data transfer procedure for an original application file. This graphic shows both the transfer of an original application file via an application server and direct transfer between frontend computer and vault.
Activities
Go to the Basic Data screen .
Check whether the original file is stored on a server or a frontend computer.
You can only perform the Check-in vault function for files that are stored on a server or frontend computer.
Choose Extras Originals File 1(2) Check in vault.
A dialog box appears containing all the vaults defined in Customizing for the Document Management System under General Data Define Data Carriers.
Choose a vault.
The system saves the original application file to the chosen vault using a number assigned from an internal number range.
You see the message: File checked in to vault <Vault name>.
Similar Messages
-
Download DMS attachment into an application server in background mode?
Is it possible to download DMS attachment into an application server in background mode?
Currently I am using the following code but does not work in background mode
CALL FUNCTION 'CVAPI_DOC_GETDETAIL'
EXPORTING
pf_dokar = 'Z06'
pf_doknr = gs_drad-doknr
pf_dokvr = gs_drad-dokvr
pf_doktl = gs_drad-doktl
pf_read_kpro = 'X'
TABLES
pt_files = lt_file
EXCEPTIONS
not_found = 1
no_auth = 2
error = 3
OTHERS = 4.
*Copy Attachment from DMS to PC File
CALL FUNCTION 'CVAPI_DOC_VIEW'
EXPORTING
pf_dokar = 'Z06'
pf_doknr = gs_drad-doknr
pf_dokvr = gs_drad-dokvr
pf_doktl = gs_drad-doktl
pf_appl_start = ' '
pf_apptp = '1'
pf_filename = 'C:\TEMP\ZLINK.BMP'
ps_file = ls_file
IMPORTING
pfx_file = l_pfx_file
EXCEPTIONS
OTHERS = 0.
*Load BMP into SE78
PERFORM import_bitmap_bds
IN PROGRAM saplstxbitmaps
USING l_filename "Local File for Upload/Download
l_bmpnam "Name
'GRAPHICS' "Application Object
'BMAP' "ID
'BCOL' "Color
'BMP' "Extension
'ZLINK PICTURE' "Title
space "Resides in Printer Memory in Print Request
'X' "Reserve Height of Graphic Automatically
space "Graphic Storage: Compressed Bitmaps
CHANGING l_docid
l_wf_res. "Graphic Resolution
ThanksHi!
You didn't find answer for this, because it is not possible. If you run your program in background, it is running on the server, and does not have any connection to your local machine. That's why you can't upload/download in background mode.
You might try to address somehow your local PC, with its IP or MAC address, but I don't think does this task worth so much time.
Run your program in online mode, or if you want to run it in background, then upload your file into the SAP server.
Regards
Tamá -
BR 100 docs template want to download for OM, Adv Pricing, RM.
BR 100 docs template want to download for OM, Adv Pricing, RM.
Kindly let me know link OR Send to [email address removed by moderator, so that you don't get spammed for all Eternity]
AshishI don't think the code you are using will work with SFTP/SSH server. The code you are using is for FTP which is a different protocol.
Try the following API
http://www.jscape.com/sftp/ -
When I try to save a doc to my server I sometimes get this: The document could not be saved. There was a Macintosh system error (-5000). What does it mean?
What kind of file are you saving, and what sort of clientserver setup do you have?
If you're using MS Office, it doesn't play nice with OS X Server, particularly with network homes. -
I need Numbers 3.0 to open icloud docs; how can I download without losing Numbers 2.3?
VR,
Your Numbers 2 app will still be functional if you download the new Numbers 3 app. If you purchased Numbers 2 prior to the Mac App Store, your iWork '09 apps are in Applications > iWork. If you purchased your Numbers 2 app from the Mac App Store, Numbers 2 will be in Applications, no sub folder. But, if you "Upgrade" to Numbers 3, Numbers 2 will be moved into an iWork subfolder within Applications. You will be able to manually choose which one you want to use, but Numbers 3 will be the default.
Jerry -
Java docs for identity server API's(API specification)
Hi all,
1) I want to conect to the identity server from a remote machine
2) create a new user under some tree in dir server and
3) then assign a role to him.
For the same i was trying to see what are the API's provided,where can i get the api docs for identity server.Please help
TIA
Rohithjavadocs are in the javadocs.jar file which I think is in /IS_ROOT/SUNWam/export
Steve -
Hi, I got iMac and I can not open file "doc" when I have downloaded from distance learning internet page. I have office program, but when I try to open file it shows: u1-assesment.doc uses a file type that is blocked from opening in this version.?
I have tryed to change just extension from doc to docx, but it doesn't work. I am new user, please helpConsider the Mcrosoft Office:Mac forums as well:
Office for Mac forums
Here is an MS page that deals with that error message:
http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/bs0811doc-use s-a-file-type-that-is-blocked-from/548ce159-8157-419e-9552-1789594fafe9 -
FM for F4 help for presentation server path
hi Experts,
FM for F4 help for presentation server path .
and also for download to the presentation server.
Regards,
AmitAmit,
PARAMETER: pfile LIKE rlgrap-filename OBLIGATORY.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
* FIELD_NAME = ' '
IMPORTING
file_name = pfile.
and use gui_download for download to presentation server:
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = _filename
filetype = 'ASC'
append = l_append
trunc_trailing_blanks = space
write_lf = l_write_lf
** here we know that we are working with GUI (not batch process) so we can ask user,
** if he is really sure to overwrite file in case of overwriting
* confirm_overwrite = l_confirm_overwrite
confirm_overwrite = space
TABLES
data_tab = lt_header
EXCEPTIONS
error_message = 98
OTHERS = 99.
Amit. -
Server path not recognized on ical
I have updated my Mac, iphone4 and ipad. I am using icloud. When i try to synch my ical with icloud, I get a message that my server path is not recognized. What's up? It was working yesterday with no problem and I haven't changed any settings.
FYI: POP will by default, delete messages from the server after downloading them (This applies to most pop clients, computer or mobile). POP is old tech and is not recommended if IMAP or Exchange are available. The default when setting up a g-mail type account is IMAP. Full synchronization with the server. You may also be able to set it up as an Exchange account, allowing for push e-mail and sync of calendars and contacts as well. See the Gmail help pages for instructions.
-
How to find the server path using servlet API.
Hi All,
I have an requirement like uploading certain files in my server path.
rightnow i am getting the path now using as
<%=application.getRealPath("/")%> and its giving me the "D:\bea\user_projects\domains\Testdomain\TestmanagedServer\stage\nextgen\nextgen.war".
but i want to get the D:\bea\weblogic81 or atleast D:\Bea
Is there anyway to get this through API or its the only way through string parse.
Thanks in advance.Hello,
I have:
DG URL Internal;https://OCS.ad.xxxxxx.xxxx.xxx/GroupExpansion/Int/service.asmx;--;
DG URL External;;--;
Quality Metrics URI;;--;
URL Internal From Server;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
URL External From Server;;--;
Voice mail URI;sip:[email protected];opaque=app:voicemail;--;
MRAS Server;;Not Configured;
GAL Status;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
Controlled Phones;TRUE;--;
PC to PC AV Encryption;AV Encryption Enforced;--;
Focus Factory;sip:[email protected];gruu;opaque=app:conf:focusfactory;--;
Telephony Mode;Telephony Mode Disabled;--;
Line;;--;
Line Configured From;Auto Line Configuration;--;
Location Profile;;--;
Local Log Folder;C:\Users\me\tracing;;
MAPI Information;MAPI Status OK;MAPI Status OK;
Inside User Status;TRUE;;
Auto Update Download Started;--;--;
Auto Update Download Completed;--;--;
Last Auto Update Request;--;--;
Pairing State;Communicator cannot connect to your desk phone because the USB cable is not plugged in. Make sure that you connect the cable.;Enabled;
I see my email on the sip line but no server... what do I miss?
Is it by the URL?
Thanks,
Dom -
What is my server path??
I am trying to set up a web page but i keep getting the error remote disk error, i have tried to browse for the server path but get the same message, where am i going wrong?
That is a little tough for someone else to call since it can vary greatly from server to server. If you are uploading to your own domain it could be as simple as "www.yourdomain.com/desiredfoldername" or maybe "ftp.yourdomain.com/foldername". If you are uploading to shared server it could be more complicated. If you use an FTP application you would use the same settings for Lr as you do for FTP. This question may be better asked of your hosting provider.
-
How do I stop iCal from changing the server path of CalDAV accounts?
I'm using Davical as a calendar server for our family. Some may wonder why I use Davical and not iCloud. I do for one reason...there is no way to disable getting other users' alarms on the iPhone. I want to be able to view my wife's calendar but not get her alarms and have her be able to view my calendar and not get my alarms.
So, now onto the issue with server path setting changing in iCal. We each have our own calendar set up within our own accounts on our Davical server. We each have read access to the other's calendar. Within iCal account settings I have her account set up on my Mac with my username/password (jason/****) and, under server settings, the server path points to her calendar /caldav.php/juiper/). After a few days, sometimes just a few hours, suddenly I will have duplicate events throughout my calandar in iCal. Going to preferences I will see that the server path for her calendar will have been changed to the location of my calendar (/caldav.php/jason/). I'll correct the server path, restart iCal and then the calander will be correct for a while unitl the server path is automatically and incorrectly changed again and I must manually correct it again.
Thanks!My coworkers and I use DavMail to share access to a shared Exchange calendar, authenticating with our own ADS credentials. We also see the behavior where iCal will reset the CalDav calendar path to the username (our own) that is authenticating to the CalDav service. In Lion this wasn't a deal breaker for us. While very annoying, the work around was simple. Update the path via preferences, and restart iCal. However in Mountain Lion, the issue has become a lot more difficult to fix. It's no longer a matter of updating the path via preferences and restarting.
In Mountain Lion the solution to change the CalDav path back to the original path requires you to edit the file ~/Library/Calendars/<somehash>.caldav/Info.plist
Contained within this file is a value "CalendarHomePath", simply update the string to your desired path, clear out the 'Calendar Cache' file for good measure, then restart iCal. -
Hi folks
When using the CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG or WS_FILENAME_GET we some times have the server path returned.
And sometimes the drive letter returned.
See two examples:
1: \\blrx1\os390out\id1\test.txt
2: R:\os390out\id1\test.txt
What to do when we ALWAYS want the server path returned??
Best regards
CarstenI have used this several times in my own coding and I always get the \\
in my end result
method import_the_file_locn.
data:
lv_wintitle type string value 'Select Upload File',
lv_deffile type string value 'asset_data',
lv_dir type string value 'c\:',
ls_file type line of filetable,
lv_rc type i,
lv_user_action type i.
free gv_sdir.
call method cl_gui_frontend_services=>file_open_dialog
exporting
window_title = lv_wintitle
default_filename = lv_deffile
initial_directory = lv_dir
changing
file_table = gt_file
rc = lv_rc
user_action = lv_user_action
exceptions
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
others = 4.
check lv_user_action is initial.
read table gt_file into ls_file index 1.
translate ls_file to lower case.
gv_sdir = ls_file.
endmethod.
I don't know whether it is perhaps a mapping issue / windows setting that results in the path returned with the mapped drive?
I just debugged one of methods above and I cant recreate the same issue when I pick up a file in a mapped directory, sorry.
I guess there is also the option for you to do some substring manipulation and path mapping in a look up table - but if you have hundreds of servers rather than a few maybe not the best workaround. -
Server path in onMessage method
Hi,
getServletContext().getRealPath("./") in Servlet will give the server path of the current web application.
Similarly how to get the server path in onMessage method of Message Driven Bean ?
I have a xml from database. Need to access a xsl in WL server and create a html and then write this html to a flat file. I need to do all this in onMessage method. So, now to access the xsl file i need the server path.
Your help is greatly appreciated.
Thanks in Advance,
AnithaHey Anitha,
Here is a sample that maybe useful.
URL url = (new TestClass()).getClass().getResource(name);
String absPath = url.getFile()Where new TestClass() is the classname where this code goes and fits. The name is a relative path to retrive the xsl file or any other stuff u like. -
Regarding finding of word in a string of Application Server Path
Hi All,
I have issue related to finding a certain <b>file name(S)</b> from given <b>Application Server Path</b>.
Here is the actual issue:
In my Selection-Screen i have one field by the name of <b>Application Server Path</b> - /pw/data/erp/D5S/pp/down/eppi0720.txt
Like wise he might enter diffrent file name(s) (or) diffrent pat(s) as per requirement.
Here my requirement is i need to find file discarding path in to one variable - Remember path might also differ also file name might also differ.
Is there any <b>Keyword/Command</b> by which we can findout only <b>filename</b> from the <b>path</b>!
I think with <b>'/'</b> operator we can solve this issue.
If any body knows solution please post.
Thanks in advance.
Thanks & Regards,
Rayeez.Hi,
use fm EPS_GET_DIRECTORY_LISTING'
example:
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
DESTINATION q
EXPORTING
dir_name = folder
file_mask = mask
IMPORTING
file_counter = cnt_file
error_counter = err_file
TABLES
dir_list = dir_list
Andreas
Maybe you are looking for
-
Can anyone make my program short? tnx
i'm new in java programming and have limited knowledge in OOP.. please help me make my code short please please... tnx guys... i want to split my program in 2 or more files/classes.. and can you help me with my looping .. thank you so much... my prog
-
FM navigate to SC, PO, etc
Hi all, I'm creating a custom webdynpro in wich I have a table with some documents. I need to navigate to these documents when the user click on them. I don't know if exits any standard FM for that, I couldn't find any. So, I'm trying to create a cus
-
Is there a way to include S/MIME encryption on messages sent from the Photos app?
I have encryption set up and working on my Exchange account, but I also want to send attachments with the encrypted messages. When I try to send images as attachments by selecting the "share" option in the Photos app,the message that is created does
-
Valuation class in service master linked with G/L accounts
Dear Experts, In service master what is the significance of Service category & service group? Is it required to assign G/L account like material type is required in material master? Is it necessary to hv 1:1 relationship in valuation class & G/L acc
-
One Frame Offset In Premiere Pro CS6
I have digitised from a Betacam deck and found there to be a one frame offset. I digitised a picture that started at 00:02:00:00 and when in Premiere, the picture actually starts at 00:02:00:01 - a little disconcerting! Has anyone else experienced th