on 08-22-2007 6:21 AM
Hi,
Is there anyway to create DIR in easyDMS through template.
Thanks.
Anirudh,
Hi Christoph,
Thank you for your reply. It is exactly what I needed.
Best regards and keep up the good work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
I see this thread is very old, but I will post here.
Is there an easier way to create the folder structure in EasyDMS, instead of Create Folder option from the menu/right click.
I have 800 folders that I want to create.
Perhaps a Function in SAP to create the BOM's which are then reflected in EDMS?
Please advise.
Thanks.
Freddie.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Freddie,
as the folder structure in EasyDMS means to be a document BOM in the backend SAP system, you can enhance this structure in transaction CV12 in the backend too. So in this backend transaction you can choose the head folder document under which you want to add additional documents or folders and then just insert the document info records. Based on your description I did further tests and debugging in our internal test system. By debugging the folder creation process out of EasyDMS I found out that the correct sequence of function modules is:
- BAPI_DOCUMENT_CREATE2
- CSAP_DOC_BOM_CREATE
- BAPI_DOCUMENT_GETDETAIL2
- BAPI_DOCUMENT_CHANGE2
1. BAPI_DOCUMENT_CREATE2
Here the new document info record is created. This document should be the new folder at the end. Therefore the following data needs to be handed over:
table DOCUMENTDATA
DOCUMENTTYPE FOL (this should be the folder document type)
DOCUMENTNUMBER *
DOCUMENTVERSION *
DOCUMENTPART 000
DESCRIPTION (= sample description)
USERNAME HOPFC
STATUSEXTERN
STATUSINTERN AA
STATUSLOG
LABORATORY
ECNUMBER
VALIDFROMDATE 00000000
2. CSAP_DOC_BOM_CREATE
After the new document info record (DIR) is created this document data needs to be handed over to the function module CSAP_DOC_BOM_CREATE which is responsible for making a document BOM header out of it. Here just fill in the following data:
DOCUMENT 10000043129 (number generated by CREATE2)
DOC_TYPE FOL
DOC_PART 000
DOC_VERS 00
3. BAPI_DOCUMENT_GETDETAIL2
This BAPI is necessary to read the current existing data for the superior folder (e.g. private folder) and its structure. Because the existing document structure needs to be handed over to the BAPI_DOCUMENT_CHANGE2 to grant a correct update of the document BOM. So please use this BAPI to get the whole document data and hand it over to the BAPI_DOCUMENT_CHANGE2 then.
4. BAPI_DOCUMENT_CHANGE2
Now the newly created folder needs to be added to a header folder and therefore this BAPI is used. Therefore please fill in the following data in table DOCUMENTDATA and DOCUMENTSTRUCTURE:
DOCUMENTDATA
DOCUMENTTYPE FOL
DOCUMENTNUMBER HOPFC (= superior folder like private one)
DOCUMENTVERSION -
DOCUMENTPART 000
DESCRIPTION
USERNAME
STATUSEXTERN
STATUSINTERN
STATUSLOG
LABORATORY
ECNUMBER
VALIDFROMDATE 00000000
REVLEVEL
DOCUMENTSTRUCTURE
DH1 10000003980 000 00 1.000
FOL 10000043129 000 00 1.000(new folder)
...
.....
Additionally please note that the DMS BAPIs always require the function module BAPI_TRANSACTION_COMMIT afterwards to save the changes correctly to the database tables. I hope that this description could be useful for you to create a report which enables you to create folder structures in the backend.
I hope that this information could be useful for you.
Best regards,
Christoph
Hi Anirudh,
there is no explicit functionality in EasyDMS like 'create DIR with template'. But you can just use copy and paste functionality in Easy DMS to have the same result.
Hope this helps.
Best regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anirudh,
Can you tell us more what exatly you want to do?
Regds,
Anubhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are working on your pc where you have folder structure in easydms. You created one DIR under a folder. Now you want to create another DIR by using template of earlier DIR. In sap when you create DIR it gives you option of creating DIR by using template.
There is no template option (see last tab "Technical details" easydms window)
Anirudh,
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.