on 09-24-2013 9:33 AM
Hi,
We did a system copy from production server to quality server (ECC 6.0 EHP6).
We have CS640 installed in our landscape. We have Dev content server and production content server.
Dev CS has repository for dev ECC system and quality ECC system.
I have copied production content repository data to quality repository according to Note 688241 - Relocating large SAP Content Server Repositories.
Steps:
1: RSCMSLST to create document list
2: RSCMSEXL to export data from production CR
3: created content repository and content category with same name as production in quality ECC server.
4: RSCMSIM to import data in quality CR
When I am trying to access the documents from CV02n from quality system, it is giving information 'File could not be accessed'.
All setting in production and quality ECC system is same.
Please let me know if I am missing any setting in quality ECC system to access the stored document from DMS.
Regards,
Deepak
Hi Deepak,
maybe the report and information at http://wiki.scn.sap.com/wiki/x/YgUIDw could be useful for you to get access to the files again.
Best regards,
Christoph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maruthi,
What I remember, I had connected both quality and production content repository (CR) to one ECC server (development ECC) and created and executed the below program (provided by SAP) in ECC server to copy the data from production CR to Quality CR. And after that I was able to access the files in quality system using quality CR.
*& Report Z_I065101_MIGRATE
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT z_i065101_migrate.
PARAMETERS:
p_repdst TYPE sdokstca-stor_rep OBLIGATORY,
p_repsrc TYPE sdokstca-stor_rep OBLIGATORY.
TYPES: BEGIN OF t_doclist,
line(32) TYPE c,
END OF t_doclist.
DATA: doclist TYPE STANDARD TABLE OF t_doclist,
doclist2 TYPE STANDARD TABLE OF t_doclist,
doclist3 TYPE STANDARD TABLE OF t_doclist,
wa_doclist TYPE t_doclist.
CONSTANTS: timeout TYPE i VALUE 86400. "One day in seconds
*Get the list of the documents from source
CALL FUNCTION 'SCMS_DOC_IDLIST'
EXPORTING
stor_cat = ' '
crep_id = p_repsrc
timeout = timeout "(Time out value)
TABLES
doclist = doclist
EXCEPTIONS
error_config = 1
bad_storage_type = 2
OTHERS = 3.
* Delete The unwanted entries if any
SORT doclist STABLE.
DELETE ADJACENT DUPLICATES FROM doclist.
*Get the list of the documents from destination
CALL FUNCTION 'SCMS_DOC_IDLIST'
EXPORTING
stor_cat = ' '
crep_id = p_repdst
timeout = timeout "(Time out value)
TABLES
doclist = doclist2
EXCEPTIONS
error_config = 1
bad_storage_type = 2
OTHERS = 3.
IF sy-subrc = 0 .
LOOP AT doclist INTO wa_doclist .
READ TABLE doclist2 WITH KEY line = wa_doclist-line TRANSPORTING NO FIELDS.
IF sy-subrc NE 0 .
APPEND wa_doclist TO doclist3.
ENDIF.
ENDLOOP.
ELSE.
doclist3[] = doclist[].
ENDIF.
CLEAR wa_doclist.
*Loop at the document and move them.
LOOP AT doclist3 INTO wa_doclist.
CALL FUNCTION 'SCMS_DOC_COPY'
EXPORTING
* SRC_MANDT = SY-MANDT
src_stor_cat = ' '
src_crep_id = p_repsrc
src_doc_id = wa_doclist-line
* SRC_PHIO_ID =
* SRC_SIGNATURE = 'X'
* DST_MANDT = SY-MANDT
* DST_STOR_CAT = ' '
dst_crep_id = p_repdst
dst_doc_id = wa_doclist-line
* DST_PHIO_ID =
* DST_DOC_PROT = 'rud'
* SECURITY = ' '
* OVERWRITE = ' '
* IMPORTING
* DOC_ID_OUT =
* TABLES
* MOD_COMPINFO =
EXCEPTIONS
bad_storage_type = 1
bad_request = 2
unauthorized = 3
not_found = 4
forbidden = 5
conflict = 6
internal_server_error = 7
error_http = 8
error_signature = 9
error_config = 10
error_format = 11
error_parameter = 12
error = 13
blocked_by_policy = 14
OTHERS = 15.
IF sy-subrc = 0.
TRANSLATE wa_doclist-line TO UPPER CASE.
WRITE 😕 'Document Migrated Successfully', wa_doclist-line .
ELSE.
TRANSLATE wa_doclist-line TO UPPER CASE.
WRITE 😕 'Document Migration Unsuccessful' , wa_doclist-line .
ENDIF.
COMMIT WORK.
ENDLOOP.
* If the control reaches here all the documents would have got copied and thus We can delete the entries
Regards,
Deepak
User | Count |
---|---|
69 | |
14 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.