Académique Documents
Professionnel Documents
Culture Documents
Topics
Answers
Blogs
Events
Programs
Resources
What's New
Home
Community
Questions
Ask a Question
Write a Blog Post
Login / Sign-up
1
Rodney Sweat
Related questions
Editing a Document Info Record in SAP PLM
By John Mher Flotildes, Jul 15, 2019
Mass Loading of documents on Easy DMS
By Former Member, Apr 05, 2011
5 Answers
Sort by:
Votes
|
Newest
|
Oldest
Best Answer
Chandu Rdy
Hi Rodney,
EasyDMS is MS explorer integration with SAP. DMS is part of SAP
components.
Based on the hardware setup we can decide the storage location for your
documents.
Below link contains the ABAP program for bulk documents into sap. Please do
the changes in the program as your configured the data.
http://wiki.scn.sap.com/wiki/display/Snippets/Abap+code+for+mass+upload+in+
DMS
Regards,
Chandu.
o Share
Tilak Raj
Hi Rodney,
One set is already in SAP DMS but as I understand it, we need to move
these documents to the EASY DMS directory and the only way to do
that is to create them by the execution of the EasyDMS software.
1) To meet these requirements, firstly you have to create a folders in EasyDMS,
where you want to see all SAP DMS document info records.
2) Go to t-code CV12 (change document structure), select the folder, add all
the Document info records as Item category "D". For huge data structure, you
can create LSMW program and use the same for updating different folders.
3) Check the document info records in EasyDMS.
o Share
Former Member
Hi Rodney,
Easy DMS is a tool to explore document in easy way like (Windows explorer)
Back end every thing happen in SAP ECC through RFC.
One set is already in SAP DMS but as I understand it, we need to move these
documents to the EASY DMS directory and the only way to do that is to create
them by the execution of the EasyDMS software.
You need to create document folder (Mandatory Public folder). This can be
created through T code CV11 and change CV12.
Also you can view the same in DMS through browser option and same can be
viewed in easy DMS.
Second set is documents NOT in SAP DMS that needs to be loaded into
EasyDMS.
I can't find any documentation that suggest a process or is there a BAPI
available in SAP. I don't want a BAPI for creating a SAP DMS document but I
need to BAPI to create an EasyDMS document ( I think)
If you require document to be available in E DMS then DIR to be created in
DMS and the same needs to to assigned in document structure. There is no
way to create through FM for E DMS. Since RFC calls the BAPI
BAPI_DOCUMENT_CREATE2 which used to create DIR.
Rgds,
Nayeem.
FOlder.png (35.5 kB)
struc.png (28.6 kB)
o Share
Caetano Almeida
Hello
This thread was moved to the space SAP Document Management. Please use
this space for DMS related issues.
BR
Caetano
o Share
Former Member
Posted onSep 02, 2015 at 12:32 PM
1
Please try to use win shuttle, if you have license, its easy way of uploading all
the data.
o Share
Find us on
Privacy
Terms of Use
Legal Disclosure
Copyright
Trademark
Cookie Preferences
Newsletter
Support
Community
Topics
Answers
Blogs
Events
Programs
Resources
What's New
Home
Community
Questions
Ask a Question
Write a Blog Post
Login / Sign-up
Not what you're looking for? Search community questions.
Rodney Sweat
Follow
RSS Feed
Gentlemen
How would you recommend mass loading documents into SAP EASY DMS .
I have two sets of documents.
One set is already in SAP DMS but as I understand it, we need to move these documents to the
EASY DMS directory and the only way to do that is to create them by the execution of the
EasyDMS software.
Second set is documents NOT in SAP DMS that needs to be loaded into EasyDMS.
I can't find any documentation that suggest a process or is there a BAPI available in SAP. I don't
want a BAPI for creating a SAP DMS document but I need to BAPI to create an EasyDMS
document ( I think)
Please help
RS
PLM Document Management System (DMS)
Related questions
Editing a Document Info Record in SAP PLM
By John Mher Flotildes, Jul 15, 2019
5 Answers
Sort by:
Votes
|
Newest
|
Oldest
Best Answer
Chandu Rdy
Posted onSep 03, 2015 at 04:01 AM
3
Hi Rodney,
EasyDMS is MS explorer integration with SAP. DMS is part of SAP components.
Based on the hardware setup we can decide the storage location for your documents.
Below link contains the ABAP program for bulk documents into sap. Please do the
changes in the program as your configured the data.
http://wiki.scn.sap.com/wiki/display/Snippets/Abap+code+for+mass+upload+in+DMS
Regards,
Chandu.
o Share
Tilak Raj
Posted onSep 02, 2015 at 12:11 PM
2
Hi Rodney,
One set is already in SAP DMS but as I understand it, we need to move these
documents to the EASY DMS directory and the only way to do that is to create them by
the execution of the EasyDMS software.
1) To meet these requirements, firstly you have to create a folders in EasyDMS, where
you want to see all SAP DMS document info records.
2) Go to t-code CV12 (change document structure), select the folder, add all the
Document info records as Item category "D". For huge data structure, you can create
LSMW program and use the same for updating different folders.
3) Check the document info records in EasyDMS.
Second set is documents NOT in SAP DMS that needs to be loaded into EasyDMS.
I can't find any documentation that suggest a process or is there a BAPI available in
SAP. I don't want a BAPI for creating a SAP DMS document but I need to BAPI to create
an EasyDMS document ( I think)
1) Either create a LSMW program to upload documents in SAP or use
BAPI_DOCUMENT_CREATE
2) Then same DIR can be entered in document structure (CV12) as mentioned above for
listing them into EasyDMS.
3) In case you are using single doc type, you can also use copypaste functionality to
directly create multiple documents in EasyDMS without user interaction.
/Tilak
o Share
Former Member
You need to create document folder (Mandatory Public folder). This can be created
through T code CV11 and change CV12.
Also you can view the same in DMS through browser option and same can be viewed in
easy DMS.
Second set is documents NOT in SAP DMS that needs to be loaded into EasyDMS.
I can't find any documentation that suggest a process or is there a BAPI available in
SAP. I don't want a BAPI for creating a SAP DMS document but I need to BAPI to create
an EasyDMS document ( I think)
If you require document to be available in E DMS then DIR to be created in DMS and the
same needs to to assigned in document structure. There is no way to create through FM
for E DMS. Since RFC calls the BAPI BAPI_DOCUMENT_CREATE2 which used to
create DIR.
Rgds,
Nayeem.
FOlder.png (35.5 kB)
struc.png (28.6 kB)
o Share
Caetano Almeida
Posted onSep 02, 2015 at 11:18 AM
1
Hello
This thread was moved to the space SAP Document Management. Please use this
space for DMS related issues.
BR
Caetano
o Share
Former Member
Posted onSep 02, 2015 at 12:32 PM
1
Please try to use win shuttle, if you have license, its easy way of uploading all the data.
o Share
Find us on
Privacy
Terms of Use
Legal Disclosure
Copyright
Trademark
Cookie Preferences
Newsletter
Support
Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Welcome to the new version of SAP Community Wiki: Learn What's New? and what has
changed.
Community Wiki
Spaces
Quick Search
Help
Log in
Code Gallery
Pages
ConfigureSpace tools
1. Dashboard
2. …
3. Document Management (DMS for ERP)
Go to start of banner
INITIALIZATION.
REFRESH: lt_dokar.
SELECT dokar FROM tdwa INTO TABLE lt_dokar.
SORT lt_dokar BY dokar.
************************************************************************
* Selection screen
************************************************************************
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-005.
PARAMETERS: doctyp TYPE dokar OBLIGATORY,
file TYPE localfile OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
************************************************************************
* Events
************************************************************************
AT SELECTION-SCREEN.
PERFORM main.
* READ TABLE lt_dokar INTO l_dokar WITH KEY dokar = doctyp BINARY SEARCH.
*
* SELECT SINGLE dokar FROM tdwa INTO l_dokar WHERE dokar = doctyp.
* IF sy-subrc NE 0.
* MESSAGE e001(zdms) WITH doctyp .
* ENDIF.
START-OF-SELECTION.
PERFORM get_characteristics.
PERFORM get_objects.
PERFORM readdata.
PERFORM build_fieldcatalog.
PERFORM build_layout.
PERFORM display_alv_report.
*&---------------------------------------------------------------------*
*& Form FILE_F4
*&---------------------------------------------------------------------*
FORM file_f4 .
DATA:
lt_filetable TYPE filetable,
lf_rc TYPE i.
REFRESH: lt_filetable.
CLEAR: lf_rc.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
multiselection = abap_false
CHANGING
file_table = lt_filetable
rc = lf_rc
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
DISPLAY LIKE 'E'
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
* Number of selected filed must be equal to one.
CHECK lf_rc = 1.
file = ls_file-filename.
REFRESH:lt_ksml.
SELECT SINGLE * FROM tdwa INTO ls_tdwa WHERE dokar = doctyp.
fieldcatalog-fieldname = 'INDEX'.
fieldcatalog-seltext_m = 'Index Number'(008).
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 25.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
* fieldcatalog-do_sum = 'X'.
* fieldcatalog-no_zero = 'X'.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'DOCNUMBER'.
fieldcatalog-seltext_m = 'Document Number'(002).
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 25.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
* fieldcatalog-do_sum = 'X'.
* fieldcatalog-no_zero = 'X'.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
fieldcatalog-fieldname = 'MESSAGE'.
fieldcatalog-seltext_m = 'Message'(003).
fieldcatalog-outputlen = 100.
fieldcatalog-col_pos = 1.
APPEND fieldcatalog TO fieldcatalog.
CLEAR fieldcatalog.
CLEAR wa_out.
READ TABLE it_out INTO wa_out INDEX rs_selfield-tabindex.
SET PARAMETER ID 'CV1' FIELD wa_out-docnumber.
SET PARAMETER ID 'CV2' FIELD ls_datatab-doc_type.
SET PARAMETER ID 'CV4' FIELD '000'.
SET PARAMETER ID 'CV3' FIELD '00'.
* Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'CV03N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM. "user_command
*&---------------------------------------------------------------------*
*& Form GET_DOCTYP
*&---------------------------------------------------------------------*
FORM get_doctyp .
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'DOKAR'
dynpprog = sy-repid
dynpnr = sy-dynnr
value_org = 'S'
TABLES
value_tab = lt_dokar
return_tab = tt_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
READ TABLE tt_return INDEX 1.
MOVE tt_return-fieldval TO doctyp.
ENDIF.
ENDFORM. " GET_DOCTYP
*&---------------------------------------------------------------------*
*& Form GET_OBJECTS
*&---------------------------------------------------------------------*
FORM get_objects.
CLEAR: ls_tdwo, ls_klah, l_lines1.
REFRESH:lt_tdwo.
SELECT *
FROM tdwo INTO TABLE lt_tdwo WHERE dokar = doctyp.
REFRESH: lt_documentdescriptions,
lt_drad,
lt_characteristicvalues,
lt_documentfiles,
bt_return,
it_out.
CLEAR: req_datatab.
READ TABLE lt_datatab INTO req_datatab INDEX 1.
IF sy-subrc = 0.
DELETE lt_datatab INDEX 1.
ENDIF.
CLEAR: req_datatab.
READ TABLE lt_datatab1 INTO req_datatab INDEX 1.
IF sy-subrc = 0.
DELETE lt_datatab1 INDEX 1.
ENDIF.
DESCRIBE TABLE lt_datatab LINES w_lines.
DESCRIBE TABLE lt_datatab1 LINES w_lines.
DO l_lines1 TIMES.
num = num + 1.
CONDENSE num.
CONCATENATE 'VALUE' num INTO value.
ASSIGN COMPONENT value OF STRUCTURE ls_datatab1 TO <fs>.
ASSIGN COMPONENT value OF STRUCTURE req_datatab TO <req_fs>.
ls_drad-objecttype = <req_fs>.
IF <req_fs> = 'IFLOT' .
SELECT tplnr FROM iflos INTO w_tplnr WHERE strno = <fs>.
ENDSELECT.
ls_drad-objectkey = w_tplnr.
ls_drad-objectkey = <fs>.
ELSEIF <req_fs> = 'MARA'.
ls_drad-objectkey = <fs>.
" ls_drad-OBJECTDESCRIPTION = 'abc'.
w_mara = <fs>.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_mara
IMPORTING
output = w_mara.
<fs> = w_mara.
ls_drad-objectkey = <fs>.
ls_drad-objectkey = <fs>.
ELSE .
ls_drad-objectkey = <fs>.
ENDIF.
UNASSIGN <fs>.
UNASSIGN <req_fs>.
IF ls_drad <> ''.
APPEND ls_drad TO lt_drad.
ENDIF.
CLEAR ls_drad.
CLEAR w_tplnr.
ENDDO.
* Description Table
CLEAR: ls_documentdescriptions.
" REFRESH: lt_documentdescriptions.
ls_documentdescriptions-language = 'EN'.
ls_documentdescriptions-description = ls_datatab1-desc.
APPEND ls_documentdescriptions TO lt_documentdescriptions.
CLEAR ls_documentdescriptions.
ENDLOOP.
DELETE lt_documentfiles WHERE docfile = ''.
* CALL BAPI TO UPDATE DATA
No labels
1 Comment
1.
Former Member
Hello guru,
Regards,
Nithal.
o Aug 05, 2014
Privacy
Terms of Use
Legal Disclosure
Copyright
Trademark
Cookie Preferences