Reg: Document upload from DMS to local System
Hi All,
I have to download documents from DMS to my local system. I am following:
1) CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2'
EXPORTING
documenttype = 'XXX'
documentnumber = 'XXXX'
documentpart = '000'
documentversion = '00'
IMPORTING
documentdata = ls_documentdata2
return = ls_return
TABLES
documentfiles = li_documentfiles.
2) Getting file name & path from li_documentfiles & changing the path & name of the file.
3) CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
EXPORTING
documenttype = 'IBD'
documentnumber = 'WWI-00000000000000000086'
documentpart = '000'
documentversion = '00'
documentfile = ls_documentfiles1
IMPORTING
return = ls_return
TABLES
documentfiles = li_documentfiles1.
Summary:
1) CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2' - it does not return file name & path
2) i am changing path name & file name & passing to ls_documentfiles1.
3) CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2' - This F/M does not save the file into given path. It always stores at "C:\Documents and Settings\TEMP\SapWorkDir". Also Name of the file is determined by the system. The file name which i pass, is not taken into account.
Kindly help me out to download the document from SAP to my local system.
Early response will be highly appreciated.
Best Regards,
Hi,
Try this...use the FM BAPI_DOCUMENT_CHECKOUTVIEW2 to download the files to the directory that sap is saving..Then use the class method CL_GUI_FRONTEND_SERVICES=>FILE_COPY to move the files to the directory you want..
Thanks
Naren
Similar Messages
-
Import redlining Layers from Cfolders to DMS or Local System
Hi Gurus
1. Assume, a JPEG image has 4 redlining Layers in cfolders ..
Can we import the JPEG image and the redlinings layers from cfolders into DMS or to the local system ....
2. Also In DMS ..i tried Creating Layers in the JPEG file and i was able to save and view it again, but for the File which was imported from Cfolders to DMS, i was not able to view the layers contained in it .. Is there any settings , i am missing here ?
Kindly advise
Thanks in Advance
PalaniappanHi Paddy,
the folllowing steps for ingetration of cfolder with Portal:
1. login in to portal. there will be one tab content admin.
2. click on content admin, there willl be one folder portal content. here u can create new folder like e.g cfolder.
3. under this folder, u have to create IVIEW, WORK SET and Role.
first create iview, while creating iview it ask for some details related to cfolder like application id, system id, ip address and url mentioned for cfolder. this u will find in BSP application SE80 Tcode.
same create roles and work set and assign roles to workset and iview to workset.
4.then go to user admin here u have to map user ids in EP. it is only for mapping purpose so that there will be single login . they dont need to login again into cfolder if they accessing cfolder through ep.
5. then go to system admin here u can create themes.
click on content admin
Thanks
Amit
note: please award points for useful answer -
Hello All
Is it possible to upload the Document in SAP DMS without creating from CV01N transaction?
Also my requirement is to upload around 2.1 GB documents in SAP is it possible to upload it in one transaction?
User want to just upload the docs in SAP system so that he can viewed it any time or if user want to add or delete the document any time he can do it
How to upload or attached ZIP file in DMS from CV01N? Is there any configuration need to do for zip file attachment?
Currently I can attached zip file from CV01N but if I tries to open the documents from CV02N or CV04N transaction system is giving the error that docs can not be opened.
Could any one give me step by step solution for above two requirements as I am completely new for DMS module
ThanksHello,
Is it possible to upload the Document in SAP DMS without creating from CV01N transaction?
- If you have some DMS documents already created then you can attach to that doc (CV02N), if not then you have to create a DMS doc and attach it.
Also my requirement is to upload around 2.1 GB documents in SAP is it possible to upload it in one transaction?
- Yes, you can upload 2.1 GB but upload and display of document will take some time for performing its action.
*User want to just upload the docs in SAP system so that he can viewed it any time or if user want to add or delete the document any time he can do it
- Yes, it can be done in DMS.
How to upload or attached ZIP file in DMS from CV01N? Is there any configuration need to do for zip file attachment?
- For Users uploading & display document in DMS is very convenient. You have to define in your workstation application for zip format & bypass the indicator of authorization. zip format should be defined in workstation application.
Currently I can attached zip file from CV01N but if I tries to open the documents from CV02N or CV04N transaction system is giving the error that docs can not be opened.
- What is the error?
-Thanks,
Ajay -
Getting document no. using document id from dms
Dear Experts,
I want to get Document No. using Document ID of particuler document from DMS. Is there any Function Module which returns Document No. from Document ID. So how to get this.
<< Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
With Regards !
Shekh Ibrahim
Edited by: Rob Burbank on Jan 17, 2011 4:23 PMHi again,
maybe the report DMS_KPRO_READ2 can be useful for this requirement. Other useful tables could be DMS_PH_CD1, DMS_DOC2LOIO or DMS_PHIO2FILE.
Best regards,
Christoph -
BAPI_DOCUMENT_CREATE2 - Document upload to DMS - Back ground
Hi,
We are trying to uploda a file into DMS(CV01N) from SAP R/3, BAPI 'BAPI_DOCUMENT_CREATE2'. This works fine in foregroung but when we ececute it in background, we get an error saying 'Error while checking in and storing'.
Could anyone please suggest me if we can sucessfully execute in back ground mode?
Thanks,
Ranjith Singh.it is not possible to download in background to a presentation server (your local PC) hence it is not possbile to upload either.
when you submit the program to the background thenthe session is no longer attached to the PC that created it.
Because of this you have to go via the application server.
compare hundred of threads by searcing the ABAP forum with keywords +download +background
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0901cba-f49e-2910-748c-d7ce4c0c4c1c -
Documents uploaded from SharePoint Task to a specific document library
This is done in SharePoint online. Users get assigned a task. (I am doing this from workflow using SPD). They need to upload a document and save the task. (I am using a multiline textbox with rich text for this).
Questions:
1. Is there a way to have the documents go to a certain document library? When we have a rich textbox, the default save location is 'site assets'. Is there a way to have the default location to a certain document library?
2. Is there a way to force a certain naming format to the document?
3. Is using a multiline rich textbox the right one?
Would appreciate any pointers.
Thanks, FayeHi Faye,
According to your description, my understanding is that you want to change the destination library where the document would be uploaded to in the multiple line of text column.
#1. We can choose the destination library when we upload the documents, please refer to the picture below:
#2. To force a naming format for the documents, I recommend to create another workflow associated with the destination library to update the name of the documents and set the workflow to start when an item is created.
#3. To achieve this goal, use the multiple line of text column is a good way to upload documents by OOB. You can also create workflows in Visual Studio to enable users to upload documents.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8c8ad46-ab67-4966-8b81-3afda8a86da9/upload-a-document-from-a-task-form-in-a-sharepoint-2013-visual-studio-workflow?forum=sharepointdevelopment
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Collaboration Rooms and Document Uploads from Network
Hi,
We are starting to use Collaboration Rooms and would like the Documents iview to point to our network file system, so when a user uploads a file he can do it via the portal or our network drive. We are using FSR's elsewhere and are wondering how to incorporate it into a collab room document iview. Our portal environment is NW04 Stack 12.
Any assistance would be most appreciated.
Thanks,
KrisHi Kris,
what you need to do is to create a collaboration room template that would integrate a KM Navigation iView that points to the file share. Of course, first you need to integrate the share via repository manager in KM.
I hope you know how to integrate the share into KM. For more on how to create a room template check the info in this thread:
Collaboration Room Creation error on NW04 SP9
Hope this helps,
Robert -
Document upload from MOSS to Solution Manager
Is there a way to move documents from MOSS to Solution Manager ?
Thanks!
Regards,
NagarajanHi Jose Sorli,
Make the below entry in the bcos_cust table(can be done using transaction sm30) of the satellite system. This entry helps in sending the incident messages from the satellite systems to the solution manager's service desk.
Column 1: Application: OSS_MSG
Column 2: + : W
Column 3: RFC Destination: <<name of the rfc destination b/n your satellite system and solution manager system>>
Column 4: + : CUST620
Column 5: + : 1.0
Dont forget to reward points to useful answers.
best regds,
Alagammai. -
Save/Print document from DMS with Office 365
Dear All,
We are on ECC 6.0 EHP 4 of SAP. When a word document attachment is opened in DMS (CV03N) from a PC having locally installed Office 365. The document is opening up in office 365 interface inside SAP. Which is good, but we are unable to save the document on to local PC. Upon clicking the File menu, i suppose word tries to bring an additional view instead of a drop down, which was the case with earlier versions. I think this is causing the problem. Can any one suggest how to save and print documents from DMS with locally installed Office 365.?
We have figured out a work around to bring up the 'Save As' and 'Print' functionalities on to quick access tool bar. Using these shortcuts we are able to save the document but not print.
Thank you.
Regards,
KartikDear Ms. Mohanapriya,
We are quite happy with the existing DMS and our intention is not to change the existing architecture. Well, now we are able to open the document and have a workaround to save to local PC. And once the document is saved to PC users are able to print.
Now we are looking for a solution to enable file menu of Office 365 within OLE container of SAP.
Regards,
Kartik -
Download Font file from SAP system to local system
Hi,
How to download Font files (.TTF) from SAP to local system.
Is there any Reports or Tcodes available?
I need to download font from one SAP system and upload it to another system.
I am referring to Russian fonts.
Kindly help me.
ThanksHi,
use the FM 'CAT_DOWNLOAD'
i think this will help
Thanks -
Hi Experts.
I have to develop an ABAP code where I have to Retrieve a particular word document uploaded in DMS edit some fields in it and then print it. I dont know how to write the code.
i was told to use OFFICE INTEGRATION classes but have no idea of anything.
Can some help me.?
ThanksHi
I am not sure how to edit the fields or print it but you can retrieve the uploaded document in DMS using the FM C_DESK_DOC_GET_URL where in there are two components as export parameter . The pt_url gives you the URL of the document which when put into a browser gives the document content. -
How to identify reverse or reset document nos from FI tables?
Hi..
I have to send FI Documents data from SAP to NON_SAP system. Like from tables BKPF, BSID,BSAD, BSIK,BSAK, BSIS, BSAS. I will send this data through RFC on weekly cycle..Now problen is that if the cleared item document is reset or reverse then the entry from clear item table moves to open item table. Not i am not able to identify such entries ..because in that no change in create or change date..so can anyone tell me?
Its urgent..please.
Thanks.Hi
Please use field BSEG-XRAGL to identify whether the document is reversed or not?
Please use field BSEG-STBLG if an open item is reversed. This field will be filled with reversal document number.
Regards
RS
Edited by: RS on Dec 20, 2007 7:17 AM -
Problem Uploading from Acrobat 9 Standard
My documents uploaded from Acrobat 9 Standard to Adobe .com "upload" (it authenticates me and then the uploading dialog box comes up and then tells me it was sent successfully, and asks me if I want to view the uploaded file). When I go to my workspace, however, the documents do not show up in my workspace. Any ideas. Win xP sp 3
My adobe ID and my workspace ID are the same
I can go into my workspace at adobe.com and use the workspaces menu to upload a file from my computer, but the if I try and do it from within the Acrobat 9 application using their "Upload Documents to Acrobat.com" button on the tool bar , it doesn't seem to show up.
Message was edited by: fedupandcrazy3876
I am SOOOO Sorry. OK. I see that it adds the files to the "All Files" main category. I was jumping too soon and was looking right in the shared workspaces, completely blowing by the "All Files" up there at the top.Never mind. I found it by hunt and peck. I like Pro 9 better. It was straight forward. This is not.
-
Print pdf/wdf files from DMS background
Hi,
need some guidelines for this topic. i have a requirement to print the pdf or dwf files from DMS server.
i have write a program to download the files from DMS to local PC, and call method to print the files. However, this is only applicable to foreground.
is there any way i can do for background?
please advise.
thanks in advance.Thanks for your reply.
The file menu doesn't show the print option either. We used to work this way, after installing the 9.0 and Reader X version, this option has disappeared from both the File menu and the right mouse button. For other filetypes, for example Excel the Print option is still available and works properly. Logged in as administrator on the serverconsole, there is no problem. So it seams to be something specific to pdf-formats in a server 2003 environment. The userrights are all set on full control (same as administrator).
Thanks again -
Flat file upload (from local system) to internal table
I am trying to use BAPI to create sales order. for that I have to upload flat file containing header and item data from the local system (not from application server). please suggest me if any functional module is available for this.
Thanks,
RajanHi rajan,
Try this,
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lv_filename " File name
filetype = 'ASC'
has_field_separator = cl_abap_char_utilities=>horizontal_tab
HEADER_LENGTH = 0
READ_BY_LINE = G_MARKED
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE = VIRUS_SCAN_PROFILE
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH = FILELENGTH
HEADER = HEADERf
TABLES
data_tab = gt_table "internal table with fields from the flat file.
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
Regards,
Shobana.K
Maybe you are looking for
-
i POSTED THE FOLLOWING MESSAGE 5 DAYS AND GOT NO ASSISTANCE....PLEASE HELP.....(I can not print PDF pages. Boxes pop up stating that the "document can not be printed" and "no pages selected to print"
-
How do I hook up Sony Headphones Model MDR-RF985R to a Panasonic TV Model Nbr TC-L37C22?
We purchased these Sony headphones for my 86 year old uncle. He claims that the Audio output on his Panasonic TV is not compatible with the headphone cables. We are miles away and cannot physically help him, but we are trying to assist by telephone
-
Best way to reverse a payment proposal (done with Payment Wizard)
Hello What is the best way to reverse the financial postings done by a payment run ? Thanks Stéphane
-
Error REP-3000 with parameter BATCH=NO in rwconverter
Hi all: So we compile our modules in unix environment with this kind of sentence for reports. $ORACLE_HOME/bin/rwconverter.sh userid=sintesis/[email protected] batch=yes source=$fichcompilar stype=rdffile dtype=repfile overwrite=yes So we have the me
-
Putaway ticket (Transfer order) - 1 TO for 1 material
Hi GUrus, At this moment, one TO is printed for mulitple materials (Lat's say 10 mateirals). But the user wants to change the design to one putaway ticket for 1 material, Is it acheiveable by configuration? I know this makes lot of consumption of pap