on 11-30-2010 10:15 AM
hi all
I have a question. I made an ABAP program which should make files in the DMS from the data which is retrieved from a frontend application.
The document is created with the function module CVAPI_DOC_CREATE. When the document is made i get a document number and no error or warning messages.
After this, when i would like to watch the document with CV01N i see the document, but i cannot open it. Nothing happens when i double click on it.
I also try to the check the document in with the function module BAPI_DOCUMENT_CHECKIN2 (where is this needed for anyway) nothing happens.
So, the question to you, do you know, why this could happen?
kind regards
Anton Pierhagen
Hi Anton,
Have you checked-in the documents? it's very important in dms to store documents in repository to retrieve them. If you have not checked-in then it will not get opened. Kindly confirm and revert back.
Regards,
Ravindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeepkumar Haragoldavar and Ravindra
I found out that at some point the data of the file is not taken to the table DRAO where the data is set for the files of DMS.
So i think i have something forgotten in the function module CVAPI_DOC_CREATE. Do you know maybe anything i could have forgotten?
kind regards,
Anton Pierhagen
Hi Anton,
When the documents are getting created in DMS,it has to get stored in one content repository and the same u can check in DRAW table.
1. Check whether u are passing the content repository in the function module that u are using.
2. Check the settings in Work station application : DC30
3. Try to open the created documents in TCode:CV02N
You can make use of the function module BAPI_DOCUMENT_CREATE2 to upload and store the documents in content repository
Regards
Bhanu
Hi!
I made my document in the code.
I create a pdf file and want to put this one into the DMS via this function module CVAPI_DOC_CREATE.
When i debug the function module, i see that it searches for a file, and that is not the case in my program.
How can i set CVAPI_DOC_CREATE so that it gets the raw data of the PDF out of the PF_CONTENT table which is yust created?
Hi
I have the solution. I can set the data via binary data. But you must be careful what you send with the FM.
Also in the DMS the application type you use for creating a document must be customize in a good manner.
I also had set a document with a path and that is not correct. When i only set the filename. the fm works fine.
The filename is used for the name in the DMS.
so this question is solved
Edited by: AntonPierhagen2 on Dec 28, 2010 11:22 AM
Hi
I have the solution. I can set the data via binary data. But you must be careful what you send with the FM.
Also in the DMS the application type you use for creating a document must be customize in a good manner.
I also had set a document with a path and that is not correct. When i only set the filename. the fm works fine
so this question is solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use CV02n mode.Test and confirm if you are still unable to process/view the Document in question.
Regards,
Pradeepkumar Haragoldavar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.