Storing scanned files Directly in SAP DMS?
Hi,
Is it possible to store the document in SAP DMS directly from the scanner?
If i scan a document using a scanner the scanned document should be stored automatically in SAP DMS.
Is it possible?
Regards,
MRK
There is to direct scanner interface, but multiple vendors sell them.
Try for example Seal Systems, www.sealsystems.com
Regards,
Espen Leknes
Similar Messages
-
How to open files from the SAP DMS (DOC Mgt. System) ?
Hello All,
I making the Transaction CV04N in BSP.
When I execute this CV04N I should give a DOC Nr and the list is generated for this DOC.Now in the List if I select one Record and then Press Display Icon then the content of this list is opened in a new window in it's respective format (PDF,Word,GIF,Image file etc).These are stored in the SAP DMS.
I want to open a file from this SAP DMS .
This can be done in ABAP using the standard FMs. But in BSP we can't use these FMs as it will call a screen.
The Fm which I'm using is " DOCUMENT_SHOW_DIRECT ".
In Report prog. To this FM I'll pass the
a, DOC Type
b, DOC Number
c, Document part and
d, Document version.
then It'll directly open a PDF file in a new window.
But in BSP how should I acheive this as the FM calls a screen internally.
The content of the documents are stored in the DMS. Is there any TCODE or Table to get the files from the DMS ?
How should I proceed ? can any one help me out.....
Regards,
Deepu.KHello All,
I found the FM : <b>CVAPI_DOC_OPEN_CAD</b> which wil return the file path.
But when I execute this in my BSP since the FM internally calls a screen it fails.
But can anyone tell me the alternative for this.
Should I create a FM omitting the GUI code ?
I found one more thread which says that I can use classes starting with cl_gos*.
But all the classes use a gui.
Dowload a document from R/3 DMS to BSP page
Am I wrong in the interpretation of the logic from the above thread ?
Please suggest me .
I too went thru the BSP Applications <b>CVAW_ENTIRE, CVAW_DOCUMENT_DISPLAY.</b>
But these are used to display only the <b>thumbnails.</b>
There is no code for displaying other formats like PDF,XLS etc.
Please correct me if I'm wrong and let me know the correct path to solve my problem.
Regards,
Deepu.K -
How to print PDF files directly from SAP?
We have created output that is being saved in a PDF format. We can store it on any drive or send it through email. However, we would like to be able to print a PDF file directIy without any manual intervention. Now users still have to open the file and hit the print button and we want to avoid this. So basically we want to be able to create e.g. a sales order, generate an order confirmation in PDF format and send it directly to the output device that we stored in output master data. I have a feeling it is not possible to print directly because output device has to be like a PDF1 to create the PDF file itself and there is no space left somewhere to store the physical output device. We use ECC 5.
kind regards
Angelique HeutinckYou can use this custom FM -:)
FUNCTION Z_PDF_DOWNLOAD.
*"*"Interfase local
*" IMPORTING
*" REFERENCE(FILENAME) TYPE STRING
SELECT RQIDENT
INTO (T_TSP01-RQIDENT)
FROM TSP01
WHERE RQOWNER EQ SY-UNAME
AND RQCLIENT EQ SY-MANDT.
APPEND T_TSP01.
ENDSELECT.
SORT T_TSP01 DESCENDING.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = T_TSP01-RQIDENT
NO_DIALOG = ''
IMPORTING
PDF_BYTECOUNT = NUMBYTES
PDF_SPOOLID = PDFSPOOLID
BTC_JOBNAME = JOBNAME
BTC_JOBCOUNT = JOBCOUNT
TABLES
PDF = PDF
EXCEPTIONS
ERR_NO_OTF_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DSTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12.
IF SY-SUBRC EQ 0.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = NUMBYTES
FILENAME = FILENAME
FILETYPE = 'BIN'
TABLES
DATA_TAB = PDF
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6.
IF SY-SUBRC EQ 0.
DELETE FROM TSP01 WHERE RQIDENT EQ T_TSP01-RQIDENT.
ENDIF.
ENDIF.
ENDFUNCTION.
Greetings,
Blag. -
How to via JCO Call RFC upload file to the SAP DMS.
HI ,ALL :
NOW i want to upload file via JCO,but i upload in sap gui is success ,but jco call RFC is error ,this is my code:
excute this code is not error ,but the data not write to SAP,
//连接SAP
Client client = com.hipfung.jco.JCOFactory.getInstance().getClient();
JCO.Repository repo = new JCO.Repository("ZOA01", client);
//调用RFC函数
IFunctionTemplate ft = repo.getFunctionTemplate("CVAPI_DOC_CHECKIN");
JCO.Function f = ft.getFunction();
IFunctionTemplate ft2 = repo.getFunctionTemplate("BAPI_TRANSACTION_COMMIT");
JCO.Function commitFunction = ft2.getFunction();
//设置传入参数值(注意类型)
//1.传入参数为Field
f.getImportParameterList().setValue("TXB", "PF_DOKAR"); //
f.getImportParameterList().setValue("0000010101010101020000000","PF_DOKNR"); //文档类型
f.getImportParameterList().setValue("01","PF_DOKVR"); //文档版本
f.getImportParameterList().setValue("000","PF_DOKTL");
f.getImportParameterList().setValue("SAPFTPA","PF_FTP_DEST");
f.getImportParameterList().setValue("SAPHTTPA","PF_HTTP_DEST");
// Get content as table
f.getImportParameterList().setValue("TBL", "PF_CONTENT_PROVIDE");
//read file and trans to byte
byte b[]=null;
File inf = new File("d:
test.jpg");
InputStream in;
try {
in = new FileInputStream(inf);
b =new byte[(int)inf.length()]; //创建合适文件大小的数组
in.read(b); //读取文件中的内容到b[]数组
in.close();
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
//set byte to internal table
JCO.Table poItem = f.getTableParameterList().getTable("PT_CONTENT");
poItem.appendRow(); //增加空行
poItem.setValue(b, "ORBLK");
poItem.nextRow();
//运行RFC函数
try
client.execute(f);
client.execute(commitFunction);
catch(JCO.AbapException ae)
System.err.println("JCO.AbapException: < DMS > " + ae);
ae.printStackTrace();
catch(JCO.Exception e)
System.err.println("JCO.Exception: < DMS > " + e);
e.printStackTrace();
//返回参数
JCO.Structure struct = f.getExportParameterList().getStructure("PSX_MESSAGE");
String te = struct.getString("MSG_TYPE");
System.out.println("RFC Error Type is :"+te);
String pr = struct.getString("MSG_TXT");
System.out.println("RFC get Data is :"+pr);
com.hipfung.jco.JCOFactory.getInstance().release(client);
i can get file via CVAPI_DOC_CHECKoutView
Edited by: pan qiaoming on Mar 15, 2011 3:05 PMHI ,ALL :
NOW i want to upload file via JCO,but i upload in sap gui is success ,but jco call RFC is error ,this is my code:
excute this code is not error ,but the data not write to SAP,
//连接SAP
Client client = com.hipfung.jco.JCOFactory.getInstance().getClient();
JCO.Repository repo = new JCO.Repository("ZOA01", client);
//调用RFC函数
IFunctionTemplate ft = repo.getFunctionTemplate("CVAPI_DOC_CHECKIN");
JCO.Function f = ft.getFunction();
IFunctionTemplate ft2 = repo.getFunctionTemplate("BAPI_TRANSACTION_COMMIT");
JCO.Function commitFunction = ft2.getFunction();
//设置传入参数值(注意类型)
//1.传入参数为Field
f.getImportParameterList().setValue("TXB", "PF_DOKAR"); //
f.getImportParameterList().setValue("0000010101010101020000000","PF_DOKNR"); //文档类型
f.getImportParameterList().setValue("01","PF_DOKVR"); //文档版本
f.getImportParameterList().setValue("000","PF_DOKTL");
f.getImportParameterList().setValue("SAPFTPA","PF_FTP_DEST");
f.getImportParameterList().setValue("SAPHTTPA","PF_HTTP_DEST");
// Get content as table
f.getImportParameterList().setValue("TBL", "PF_CONTENT_PROVIDE");
//read file and trans to byte
byte b[]=null;
File inf = new File("d:
test.jpg");
InputStream in;
try {
in = new FileInputStream(inf);
b =new byte[(int)inf.length()]; //创建合适文件大小的数组
in.read(b); //读取文件中的内容到b[]数组
in.close();
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
//set byte to internal table
JCO.Table poItem = f.getTableParameterList().getTable("PT_CONTENT");
poItem.appendRow(); //增加空行
poItem.setValue(b, "ORBLK");
poItem.nextRow();
//运行RFC函数
try
client.execute(f);
client.execute(commitFunction);
catch(JCO.AbapException ae)
System.err.println("JCO.AbapException: < DMS > " + ae);
ae.printStackTrace();
catch(JCO.Exception e)
System.err.println("JCO.Exception: < DMS > " + e);
e.printStackTrace();
//返回参数
JCO.Structure struct = f.getExportParameterList().getStructure("PSX_MESSAGE");
String te = struct.getString("MSG_TYPE");
System.out.println("RFC Error Type is :"+te);
String pr = struct.getString("MSG_TXT");
System.out.println("RFC get Data is :"+pr);
com.hipfung.jco.JCOFactory.getInstance().release(client);
i can get file via CVAPI_DOC_CHECKoutView
Edited by: pan qiaoming on Mar 15, 2011 3:05 PM -
How to files from SAP DMS ?
Hello All,
I want to view the file from the SAP DMS .
I know the Storage category for original files .
The value of it is : DMS_C1_ST.
But how to gwt the file from this carrier ?
Can anyone help me out ?
Are there any FM's or Tables ?
Regards,
Deepu.KHello Subramanian,
Thanks for urhelp.
But out of all I'm not able to decide on one as I don't know what to pass to them.
Can u help me out ?
Regards,
Deepu.K -
How to view files from SAP DMS ?
Hello All,
I want to view the file from the SAP DMS .
I know the Storage category for original files .
The value of it is : DMS_C1_ST.
But how to gwt the file from this carrier ?
Can anyone help me out ?
Regards,
Deepu.K
Message was edited by:
deepu kHi deepu,
1. OAOR tcode.
regards,
amit m. -
SAP DMS - SAP ECC network traffic
Hi all,
I have the following situation:
The SAP ECC servers are hosted outside my company and we are planning to install a SAP DMS server.
We have 2 options: host the SAP DMS outside or install SAP DMS in our datacenter.
When the SAP user attaches or reads a file to/from SAP DMS, how is the network traffic ?
Is there any traffic fom SAP ECC to SAP DMS or the file goes to/from DMS from/to end-user ?
How SAP DMS impacts my WAN ?
Best Regards,
Leonardo.Leonardo, I have done some research / trouble shooting and architectural changes to raise the upload / download speeds, there are several dependencies like Network, Application, hardware etc but to your question:
First of all, DMS is a core functionality of ECC and utilizes both ECC for execution and Content Servers (recommended for Obvious performance reasons) for Data Storage. For your case I recommend that you host Content Server at the Data Center (assuming you have no other option) and have a Cache Server installed Onsite. (This requires minimal maintenance). When the user uploads a file the traffic is high as the entire File needs to be transferred to the data center, on the other hand Cache server (if installed onsite) considerably reduces the retrieval time.
Again having said above there are several other parameters that could affect your upload / download speeds.
Hope you'll find this useful, let me know if you have further questions.
regards
C -
Accessing files stored in Common Server and share drive with SAP DMS
Hi DMS Gurus,
We have a requirement, apart from retreving the data from content server storage, the client also wants the documents stored in common file server and Share drive also to be accessed through DMS,
1) one option for this may be upload all the documents in the existing servers to DMS Content servers to get the full funtionality of DMS i'm i right? please suggest.
here again they have lacs of document so this may not be a ideal solution, now 2nd option is
2) create a data carrier and Mount points with the existing server if i'm right, but by just doing this what funtionalities will this provide
i have a preassumption that this existing common server can be used as a storage area for DMS (as vault or common server), but only those documents which are stored in to this common server or shared folder through DMS can be retrived by DMS., again i'm i right?
but how can we access all the lacs of file which are already existing there for years.
how can we see all the documents in SAP DMS which are stored earlier in this common server before DMS,
is migrating all the necessary preexisting documents to SAP DMS the only Solution for this.
any solution for this please suggest.
Points sure for any clarification given
Thanks and Regards
Priya S
Edited by: Priya S on Feb 25, 2009 3:36 AM
Edited by: Priya S on Feb 25, 2009 3:36 AMhi Priya
This is an old thread but nevertheless would like to give some inputs.
your point .. common file server and Share drive also to be accessed through DMS,
1) one option for this may be upload all the documents in the existing servers to DMS Content servers to get the full funtionality of DMS.
<The option 1 is an ideal option as in future u would one day need to migarate the documents if u intend to use SAP DMS as the DMS system in ur org>
Alternatively if the documents would still need to be retained in the file server but also would need to associate to SAP business objects u could use the Define data carrier external DMS.
This again depend on what kind of documents are stored in the file server & are they relevant to be associated to SAP objects/ Transactions.
The point here is u still want to use SAP DMS to view the file , all though there are other option as Archive link, Service for objects etc. Using SAP DMS option will still call for creating DIR in SAP & assigning the file path hyper link using LSMW /upload prog.
So as for a temp sol till u clean up the file server u can use the hyperlink and later migrate to Content server.
Regards
John -
How to use XI to retreive document files from SAP DMS?
Hello XI experts,
We have external application php that runs on separate non-sap server.
I am willing to retrieve document from SAP DMS (documents management system) via XI and forward them to this application. The files are usually ms office format when you display them ( but I am not sure how they are stored in database)
Anyone can tell me please if I can use XI for this purpose?
How is going to be the connection and the retrieval done on DMS side ?
What adapter will be used and how the file will be transferred via XI?
Also I will appreciate any directions in connecting the php application side. What Adapters will be used , how doc file can be send (I guess as an attachments )?
Appreciate any help!hi check
FG : CVBAPI
U have Standard BAPI to communicate with DMS system meeting your requrment
some bapis
BAPI_DOCUMENT_CHECKOUTVIEW Check out document for display
BAPI_DOCUMENT_CHECKOUTVIEW2 Check out document for display
BAPI_DOCUMENT_CHECKOUTVIEWX Check out document for display
BAPI_DOCUMENT_CREATE Create Document
rgds
srini -
SAP DMS: Read document binary data stored in a 3rd party repository
Hi,
I'm totally new regarding SAP DMS and I'm a bit confused about what can or can't do, so maybe the question will be quite generic and unclear.
The scenario in my company is that we have multiple repository servers where we store our documents. When a document is created or modified in one of these repositories a new record is also created/modified in SAP DMS, but this DMS entry only contains the basic metadata information and a URL link to the document, not the content. When the user is in SAP DMS, the only way to access the document content, is via the link that will open the browser outside of SAP GUI and access the repository data using the laptop credentials.
I would like to know if DMS provides some kind of interface to be able to access the document content from SAP. Now we only have this unidirectional interface from the repository that creates the record in DMS with the metadata but there is nothing to retrieve the content.
Our main purpose is that we want to download all the files linked to a user (we have a logic to determine if a DMS file is linked to a user). The content of these files may be stored in different content repositories. So I would like to read the binary data in SAP from the different repositories and then be able to download it.
Thank you in advance for your help.
- MarçalHi Sagar,
This FM can't work since there is nothing configured in SAP to access to the file content. The DMS record only has a URL pointing to it.
Actually what I want to know is what do I have to configure in SAP in order to be able to use a FM like the one you mentioned. -
Publish MSDS file on line via SAP DMS
Dear experts,
Is anyone have any knowledge on publishing/make available on the web MSDS files which are stored in SAP DMS?
In case that it's not possible to have this link between internet and SAP DMS, I would like to know how can I send my document from SAP DMS to a load tool in a pdf and xml format.
Thanks for sharing your expertise,
Kind regards,
Munir
Edited by: Mounir.elidrissi on Oct 5, 2010 4:50 PM
Edited by: Mounir.elidrissi on Oct 5, 2010 4:53 PMHello Mounir
this is the "wrong" way to do it. In DMS you have only the raw report and not the final report (in > 90% of the cases). The normal EH&S process which can be used are the following:
a.) make an EXP_CALL using a job to create a final report (e.g. either as Word or as pdf) togetehr with "meta" data (like material number, langauage etc,.) so that you can search for the document in you Web interface (the normal approach used fequently)
b.) in the past there has been a add on tpo EH&S which should be still available: take a look here
http://ehsweb-interface.technidata.de/ehswww/EhsWebInterfaceRoot/Documents/EHS_Web-Interface_Flyer_D.pdf
I have no idea if this add on is still suported or if it has been improved.
From the "technical " point. The MSDS is handle in some EH&S tabel (ESTDH) this give a linkt to a document in DMS using the unique document number.
Only if you have set up your report shipment in such a way that the final report is stored in DMS you are able to use that report in a Web interface. The raw report uses normaly the document type "SBR" and the final report "SBE". You need to check customizing. Normally the SBE finale report is deleted automatically somehting like 10 days after it has been used.
With best regards
C.B.
PS: I assume we are talking about normal WWI report. If you have document of type "IBD" you could clearly make them available on the fly in an Web interface because no data can be added to such a document (pdf is used normally as document type/format)
Edited by: Christoph Bergemann on Oct 6, 2010 9:11 PM -
Store documents in local machine of file system not in sap dms
Hi,
Can i store documents in local machine not in sap Database . Client will not use content server for storing document.
so how to store document in local file system n how to configure ?
please help.
Dipak.Hello Sir,
When I try to check in in storage as 'VAULT' it send error 'Attempt to set up connection to failed'
attaching screen shot of error
I customize in DC20 for Vault:
For: "Define data carrier type "vault""
Data carr. type = ZD
For: "Define vault"
Data carr.name = ZDC_TEST
Data carr. type= ZD
Desprition = Test
Vault path = \\10.181.210.10\_SAP Practice\SAP DMS\DMS_Data_carrier -> this is the network path.
For: "Define data carrier type "server, front end"
Type (data carr. type) = DC
Description = Frontend test
Path = c:\temp\
For: "Define mount ponts/logical drive"
Data carr. = Default/ZDC
Prefix for access path = c:\temp\
Please tell me if have configured any wrong configuration or need to add any additional configuration
Thanks.
Dipak. -
Read/Open a file in SAP DMS from an external system
Hello Sap Gurus,
I want to read/open a file in SAP DMS from an external system . External system is basically a non-sap system.
Can this be achieved through an RFC..
Does anyone know of any BAPI's/FM's that can be called from an external system (non-sap system) through RFC which will open a document which is stored in SAP DMS.
Regards,
Madan Shetty.Hi Madan,
If you want to view documents from an external system, there are many ways of achieving this.
It depends on the solution that you are approaching.
Few methods that I have come across are, OData services, Custom RFC Function Modules, to retrieve document attachments.
FTP is also a possible solution.
Please let us know your exact requirement.
Regards,
Tamilnesan G -
Migrating from SAP DMS to File Server
Hi,
Our client is currently using the SAP DMS to store documents for the EHS module. This has brought with it lot of handicaps.. primarily the huge size of the database. There is an initiative now to move from SAP DMS to a file server where the files would be physically stored whereas the linking would be made via SAP EHS module.
This effectively means that the things would remain as they were.. only that the specifications in EHS would now be pointing to a new location for its documents.
My question is whether this is a techinallly feasible solution and second how should the migration be done. keeping in mind that the linkages should be kept intact.
Suggestions are solicited... points are guaranteed.
Thanks!
AviroopHi Aviroop,
Got any idea about how File server works with DMS ?
I am in urgent need for details about the file server functionality and configuration.
Can I use a sharepoint site (internet site0 as a file server?
Pls send me some documents regarding this to my mail id [email protected]
Thanks in advance and warm regards
Purnendu -
Whether SAP DMS support the below file format in workstation application
Hi..
Whether SAP DMS support the below file format in workstation application?
.DAT
.DWF
.IGES,
.MSP, .MSPX
.PST
.RAR
.RVT
.XERHi Sandip,
Refer the link below for supported workstation applications in DMS.
http://wiki.sdn.sap.com/wiki/display/PLM/2.Customizing(CA-DMS-EAI)
All of your workstation applications should be supported.
Regards,
Deepak Kori
Maybe you are looking for
-
Someone just brought their m100 to me and I am unable to help them so I am turning to you to try to help me out here. The palm keeps blinking on and off from the logo to a blank screen. I cannot get it to respond. I tried a soft reset but it wont res
-
I have tried configuring a VPN connection on my IPAD2 Wifi,,,, the settings are apparently wrong since it won't connect and I get an error stating that.... the trouble is I can't get back intop that area to change the settings everytime i ttry to t
-
DPS HTML to activate multi state object
Is there a way to have an HTML asset placed in a DPS folio, to activate a specific state of a multi state object?
-
Hello, can i use Time Capsule with 2 Macs (iMac+Macbook), so that i have 2 seperate Backups on one TC? Thanks
-
WebDynpro Application Expires !
Hi, I have deployed my webdynpro applciation in the portal..When i click on any elemnt in that application...it is saying internal server error.. (the application has expired...) This happens the first time i open the portal.. when i click on someoth