Content Server refresh
guys,
we are planning a 3 system landscape here for ECC - DEV, QA and PROD. And a two system landscape for Content server - DEV and PROD.
I am planning to connect R/3 DEV and QA to DEV content server (2 different repositories) and R/3 PROD to PROD content server. Now, if i think about it, whenever i refresh R/3 QA with the R/3 PROD data, the document links in QA wouldnt make anymore because the data in DEV content server wouldnt match anymore. So does this mean I will also have to refresh the DEV content server with PROD content server everytime I refresh R/3? Is there an easier way out ?
Please advise as to what you all have seen or done in other projects.
thanks,
RS
Hi,
I had the same scenario in the past and I did below things:
1) Dev and QA system connected to same content server but with different repositories.
2) Repository of QA system has same name as production server repository.
3) So, when we refresh QA from PRD then same content repository will come in the quality system, you just need to change content repository settings in QA system. After do the below step:
Relocating Using Export and Import
Ensure that no new data is saved to the affected repositories during the relocation procedure.
Use report RSCMSEX to export the repository.
Create a repository of the same name on the target content server and change the Customizing of the repository so that it points to the target content server.
Import the data into the target repository using report RSCMSIM.
Delete the relocated repositories from the source content server.
The program sapkprotp controls the export and import. sapkprotp is started on the application server by default. If required, you can start sapkprotp on the content server or on another server. To set this up, enter an RFC destination when starting the report. Set the path of the transport file relative to sapkprotp.
You should use this option if sapkprotp is not available on the application server (so far, sapkprotp is not available for AS/400). You should also use it if the content server is at a remote location, to avoid the data being transferred twice over the WAN.
Thanks
Sunny
Similar Messages
-
Content Server 6.4 Windows Server 2008 R2 First Test Blank HTTP response
I have installed Content Server 6.4 with MaxDB 7.6 on a Windows 2008 Server r2 system as directed in the "installation guide for SAP Content Server for Windows 2008" at service.sap.com/contentserver -> Media Library
-> Literature. Whenever I test the installation (a CACHE server) with this command:
http://localhost:1095/Cache/CSProxyCache.dll?serverInfo
it sits for about 20 or 30 seconds and then simply returns a blank screen. If I refresh, it returns immedilately, again a blank screen. There is nothing produced in the IIS logs at C:\inetpub\logs\LogFiles\W3SVC1. I am at a loss.
FYI, I used the 50105790 DVD for the installation of Content Server and MaxDB.I have solved my problem. I initially started by installing the software, putting the databases online, and since I was only installing CACHE SERVER and not CONTENT SERVER, I never attempted to test the CONTENT SERVER URL. After many failures, I then also installed CONTENT SERVER, tested it, and it worked. I found that the database DID NOT have to be online for testing of CONTENT SERVER. That was where things went south. I assumed that the database did not have to be online for testing the CACHE SERVER HTTP URL as well and thus continued my future attempts without the database online. I finally found that with a combination of SAP NOTE 658442 in regards to giving the NETWORK SERVICE proper permissions (even though it says it is for CONTENT SERVER 6.3), plus making sure the databases are ONLINE, I had success.
-
Getting error in JDeveloper 11.1.1.6 after Connecting to Content server
Hi,
We are getting below error in JDeveloper 11.1.1.6 after getting "success" to connect content server. We are able to connect to content server but repository is not being loaded into JDeveloper and it gives below error.
Please guide.
Performing action Properties...[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic getItem
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
... 9 more
oracle.webcenter.content.internal.model.rc.ContentResource:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.ContentResource getContentID
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
... 9 more
oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
WARNING: An error occurred while accessing the content repository.
javax.naming.NamingException: May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
ALL: An error occurred while accessing the content repository.
[Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:249)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:227)
... 6 more
Performing action Refresh[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
May 10, 2012 7:12:30 PM oracle.stellent.jcr.IdcPersistenceManager listFolder
SEVERE: Could not list contents of folder with ID = dCollectionID:-1
oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
at oracle.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
at oracle.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
at oracle.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
at oracle.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
at java.lang.Thread.run(Thread.java:662)
oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
o.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
o.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
o.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
o.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
o.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
o.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
o.j.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
o.j.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
j.lang.Thread.run(Thread.java:662)
Regards,
BhaveshThanks Srinath.
We have resolved the issue but we had to follow below steps as we were not able to see Folder_g in componet list.
1. After login to content server, navigated to Admin Server.
2. In Advanced component manager, we have updated component configuration with selecting Folder_g and press Update
3. After that we followed the steps 2 and 3 as you mentioned.
Regards,
Bhavesh -
Content Server config for production system - oac0
Hi all
We are setting up content server for our ERP 2005 system, and I am wondering what best practice is for our scenario.
We have one content server (CST) for development and test systems on host A, and one content server (CSP) for production system on host B. The Archive link configuration in dev and test points to CST. When this is transported to production, it will point to the wrong content server and I will have to reconfigure the archivelink in production to point to the correct content server (CSP).
What is the best way to set up the production system to point to the content server CSP on host B? Should I define a new content repository in t-code oac0 in dev, and transport this to production? Should I define the new repository directly in production system??
Please advise.
Best Regards,
ThomasHello,
I had the same problem a few years ago with R/3 4.7.
I don't think there is a perfect solution but here is what I did :
In the DEV system, in OAC0, I created 2 content repositories, one for the test sytem and one for the production. I transported these 2 content repositories in the production system.
In the DEV system, in OAC3, I created temporary links from my business objects to my production content repository. I released the request order.
Then I deleted these links which are wrong in the DEV system. I transported the order in the R/3 production system where these links are right.
In the DEV system, in OAC3, I then created the links from my business objects to my TEST content repository. I released the second request order.
So my config is now OK in my test and my production system.
When we refresh the DEV system by a database copy from the production system. We just have to reimport the test request order to switch the links to be OK on the DEV system. We don't have to recreate the test content repository as it was defined als oi nthe production system.
I am not sure that this is clear but this works for us with no problems since 2002.
I hope this helps.
Olivier -
Using GOS to store business document on the content server
Hello All,
BACKGROUND
We use content server to store business documents via ArchiveLink. The process to store a business document is via Generic Object Services menu path "Create -> Store business document".
ISSUE
When document is stored in such a way, the actual name of the document is not displayed in the "Attachment list" of the GOS menu nor is it stored on the content server. What we see instead in the "Attachment list" is a description of the Archive object (TOASP-objecttext) for all documents that we store.
NEED HELP
We need to have a document's name (i.e. name of the uploaded file) displayed in the "Attachment list" of GOS. We also need to be able to retrieve this file name programmatically via a function call or a class method.
Any help is greatly appreciated.
Gene.1. In GOS attachment list i can able to see the attachment name (without extension) may be you need to check your layout using change layout (its may hidden)
2. For getting attachment name programatically try this way
i_object-typeid = 'BUS2012'.
i_object-catid = 'BO'.
i_object-instid = yatthdr-docno. " Document Number
refresh : i_brel, i_link.
* Get Attachment List
append 'ATTA' to i_brel.
if not i_brel is initial.
select *
from srgbtbrel
appending corresponding fields of table i_link
for all entries in i_brel
where
instid_a eq i_object-instid and
typeid_a eq i_object-typeid and
catid_a eq i_object-catid and
reltype eq i_brel-reltype.
endif.
wa_filter-send_info = ' '.
wa_filter-no_content = 'X'.
loop at i_link into ls_link.
clear : wa_doc_data.
wa_fol_cont-doc_id = ls_link-instid_b.
call function 'SO_DOCUMENT_READ_API1'
exporting
document_id = wa_fol_cont-doc_id
filter = wa_filter
importing
object_header = wa_obj_hdr
document_data = wa_doc_data
exceptions
document_id_not_exist = 1
operation_no_authorization = 2
others = 3.
You can find the File Name in the WA_OBJ_HDR
a® -
Create PDF based on spool ID and store on content server
Hi all,
I need to create a PDF file from a spool ID and store this in a repository on the content server (archive). How can I do this <b>without creating a physical file on the local workstation</b>?
All helpful answers will be rewarded!
- Mari VirikHi Mari,
This is a sample report pgm which create pdf file from spool id :
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
FORM get_job_details *
FORM get_job_details.
Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 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.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
perform send_email using p_email2.
ENDFORM.
FORM send_email *
--> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
<b>and then use archiving object to store the photo i have explained you as an example</b>
You have to create a content repository "A2" or another . You have to follow then next steps :
Create a content repository with storage type FILE archive.
Tcode OAC0
IMG: Basis Components Basis Services SAP Archive Link Basic Settings Maintain content repositories
(Embedded image moved to file: pic00041.pcx)
Swap from display to amend. Select a current entry and 'copy' or just hit 'create'. Then select .
(Embedded image moved to file: pic18467.pcx)
Then fill in the details as below:
Choose a two char name
Set DocArea to be 'Archive Link'
Storage type FILE archive (see Note below on how to get this!)
Choose Version no. 0031
Enter the path name where the photos are to be loaded from. Note this is for loading only. When the photos are linked into the sap system (see later), actually, SAP takes a 'copy' and stores it elsewhere. The path may only need to be entered to 'Arch.path', but entering to all three doesn't seem to hurt.
Note on storage type:
Storage type 'FILE archive' may not be in the dropdown list, and F4 (poss entries) may not work! If this is the case, click on the field Storage type (left mouse button) and then click the right mouse button. Choose Possible entries and a full list of all
possible storage types is shown. FILE archive is entry number 08 and then
Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL.
Tcode OAC3
Table TOAOM_C
IMG: Basis Components Basis Services SAP Archive Link Basic Settings Maintain Links
(Embedded image moved to file: pic06334.pcx)
Set the 'Content R' field to the one you've just set in the step above.
Note the Ret.per. field is the retention period for the photo in MONTHS. (so the default is 833 years and 3 months!)
Now you can link the photo to the employee.
<b>Pls reward pts if found usefull :)</b>
Regards
Sathish -
Cisco Content Server (Virtualized Application)
Hi.
Can anyone tell me what the hardware requirements are to run a Cisco Content Server virtualised?
Looking at the below link on table 5 I see that is it availiable as a Virtulized Application but lookinh further online I see nothing that gives hardware specifications required.
http://www.cisco.com/c/en/us/products/collateral/conferencing/telepresence-content-server/data_sheet_c78-626482.html?cachemode=refresh
Any advice would be great.Your question would be better placed in the TelePresence section of the forums where these devices are more actively discussed than in the Digital Media section you've posted in.
Given your thread is 11 months old, I'd assume you've found an answer to your problem, but just in case, and for reference for any others that happen to be looking, you can find the specs on what is required on the Cisco docwiki:
http://docwiki.cisco.com/wiki/Virtualization_for_Cisco_TelePresence_Content_Server
http://docwiki.cisco.com/wiki/Unified_Communications_in_a_Virtualized_Environment
Note: all current versions (up to and including S6.1) do not officailly support running on anything other than Cisco hardware. S6.2 which is due out in the near future is supposed to include support for running on 3rd party hardware, but as it has not been released yet, at the time of this post, this cannot be confirmed.
Wayne
Please remember to rate responses and to mark your question as answered if appropriate. -
Store archiving IDoc's to an HTTp content server
Hi Guru's,
I want to store the archived IDoc's to an HTTP content server.
i have created an content server on OAC2 and i dont know how to link the archived IDocs to an HTTp content server.
I searched many forums, but i cant get the exact solution for this.
Could anyone help me on this.. pls...
Thanks in advance,
murugan..Hello,
I will take a final call on this - As i understand all the configuration is correct but not updating in link tables.
I also understand system Id is ok as PO and IDoC are working.
In Content repository creation for PO & IDoC you will be taking document area as Data Archiving but for Printlist content repo you have to select ArchiveLink.
If you have done above then check connectivity and send the certificate
In your Archive server (IXOS, EASY, DOCUMENTUM or so on ) Check same content repository is properly configured.. if possible refresh it. Check for certification from SAP.
You are facing connectivity issue so cross check carefull all archive server level.
Lastly check oss note
Let us hope for the best.
-Thanks,
Ajay. -
Error While defining the content server
Dear Folks,
We are trying to define the content sever in our sever. It is required for integration of SAP with documentum. We are trying to define in below path.
Cross-Application Components - Document Management - General data - Settings for storage systems - Maintain storage system -
It already have DMS_C1 content repository with storage type R/3 database. We are creating a new content repository with storage type HTTP Content Server. We are giving below inputs.
Vesion No. 0045, HTTP Server - (My machine's FQDN and port is 8080), HTTP script as - sap/bc/contentsever/300.
After giving above inputs, if I click on test connection, I m getting error as Error in HTTP Access:IF_HTTP_CLIENT -> RECIEVE1 ICM_HTTP_CONNECTION_FAILED.
If I define the HTTP content sever as sap-qas.vsnl.co.in (i.e. My quality servers host name) it works fine i.e. connection test goes OK. Does any one know how we can define the content server and what all steps required for the same?
Thanks and Regards,
KedarHi Kedar,
YOu have to provide the details as fallows
Storage type : HTTP content server
Version no. : 45 (based on the content server version)
HTTP server : <content server IP>
Port Number of content server : 1090 (default port)
HTTP Scrip : ContentServer/ContentServer.dll
Once after these details you can check
Also install the DBM gui in your local PC and add this content servers database (if the content server is on MAX DB) then you need to star it from the console or else use the command to start it once after the installation.
/sapdb/programs/bin/dbmcli -d <SID> -u control,plmcont db_state - to check the database status
/sapdb/programs/bin/dbmcli -d <SID> -u control,plmcont db_online - to start the database
Thanks,
Chaitanya -
Content Server 6.40 Presents a Save As dialog for ContentServer.dll file
hi All
we have installed successfully the content server 6.40 on a windows 2008 with iis 7 environment. The installation wen successfully with no errors. however when we run a test by calling the URL http://<server>:<port>/ContentServer/ContentServer.dll?serverInfo URL, instead of getting a response, we are getting a save as file dialog to save the dll file. Also, after the installation, even with the install website tick checked, the website was not installed. we had to do the installation of the website manually for the port.
With content server 620 on windows 2000 this was never the case
if anywone has an idea on how to resolve the issue, please advice
Regards
RonnyGOT the Solution
to anyone else who could be going through the same issue, see if the solution below solves your issue
The website should get created if all the roles in IIS 7.0 are installed. Therefore, please try to install the IIS 7.0 by selecting
all the roles followed by installation of the SAP Content Server. By doing so, websites should be created automatically.
In the IIS 7.0, all the roles are not selected during the installation by default. Please make sure all the below roles are included and IIS 7.0 is installed, as per the installation manual for the Content Server on Windows 2008:
Roles needed in IIS 7.0.
Common HTTP Features
Static Content
Default Document
Directory Browsing
HTTP Errors
HTTP Redirection
Application Development
ISAPI Extensions
ISAPI Filters
Health and Diagnostics
HTTP Logging
Logging Tools
Request Monitor
Tracing
Custom Logging
ODBC Logging
Security
Basic Authentication
Windows Authentication
Request Filtering
Note : Anonymous Authentication should be enabled which is done by
default.
Performance
Static content Compression
Dynamic Content Compression
Management Tools
IIS Management Console
IIS Management Scripts and Tools
Management Service
IIS 6 Management Compatibility
IIS 6 Metabase compatibility
IIS 6 WMI Compatibility
IIS 6 Scripting Tools
IIS 6 Management Console
I hope it helps someone! -
Error in Starting DMS(Content Server)
Dear all,
I get the following error while starting the Content server on unix.
i am unbale to start the server , pls assist.
$ pwd
/home/sapcs/bin
$ apachectl start
ld.so.1: httpd: fatal: libucb.so.1: open failed: No such file or directory
Killed
$
Regards,
IrfanThat simply sounds like the PATH for libucb.so.1 is not maintained in your env variables.
That should fix the problem
Regards
Juan -
The difference between Telepresence Content Server and MSE 3500
Good day! Could someone explain me what's the difference between Telepresence Content Server and MSE 3500? Why do I need to obtain two these devices for sorting out my tasks? I want to understand gist of the first and the second devices.
In addition to what Jonathan posted above, here is a Capture Transform Share Solution Guide that goes over a little bit of what the TCS and MXE are and some possible deployment scenarios.
In short, TCS is used to record video conferences or lectures that can be streamed on demand or live using various streaming or distribution methods. One such distribution method is using the MXE 3500 to ingest the recordings from TCS and convert them to different media types and add in-video content such as logos etc. However, from the MXE, you can't send the video back to the TCS for viewing, you'd need to send that off to another viewing portal such as Show and Share. -
Error on update of document stored in content server
Error on update of document stored in content server
On a regular basis (but not reproducible) we find that after updating a document, it is deleted from content server (or at least it cannot be retrieved). These problems have only been experienced since we switched to using content server as our storage repository, as opposed to R/3.
We create and maintain documents through a bespoke transaction, which calls standard SAP functions BDS_BUSINESSDOCUMENT_CREA_TAB and cl_bds_document_set=>update_with_table.
Whilst the errored documents are listed in the BDS via transaction OAOR (business document navigator), an error is received when you try to display it (in our case an MS-Word error indicating file/pathname invalid).
We are satisfied that file/pathname are valid and find that this occurs occasionally when a document has been updated. It appears that the document has been deleted.
This bespoke transaction has been running successfully for almost two years, and these problems have only been experienced after switching to content server as a storage repository (as opposed to R3 previously). Has anyone else experienced these problems?
We are running :
R/3 Enterprise 620,
SAP HTTP Content Server Version 6.30 Patch 13
SAPDB version 7.3.0.54Hi Sonny,
To check the connectivity between your content server and Workstation and SAP Server.
Pls goto the command prompt of your workstation
give the command like this example.
C:\>Ping 117.123.45.201
you will get the reply from the server. here 117.123.45.201 is your content server IP.
If you are getting the reply then it means that your contentserver and workstation are connected propely.
Like that pls check the connectivity between your systems.
Pls check the hosts file of your systems also.
If the hosts file entry is not maintained, you can check-out file from content server but you cannot check-in the original.
Pls let me know what kind of error Message you are getting?
From where you are trying to check-in the Original? From the DIR screen or from CAD Desktop screen?
Regards,
MRK
(reward points if useful) -
Adobe Content Server 3.0.1 Store and Library conflicts
Dear All,
I am working on Adobe Content Server 3.0.1 and able to configure it to ecommerce site but i am unable to package the books when both library and store is configured on my Adobe content server 3.0.1 at a time.
please let me known the version of the content server i using is licensed to use only store or a library at a given time.We configured Adobe Content Server 3.0.1 and created one store and one library, when we want to lend a eBook i am unable to locate the option for lending the eBook in "Availbility" tag page of "Books" Tab when i set the "Adjust" option to value "Loan".
Please let me know whether my version of content server allows us to package a eBook for lending if so where can i find the option for lending the eBook. -
Problem with Content Server 4 keystore access on Ubuntu 8.04
Hello,
Setting up the Content Server I encounter this problem with the fulfillment server Status check-up:
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.Error: Problem reading key and certificate from keystore
com.adobe.adept.fulfillment.security.ServerConfig.init(ServerConfig.java:201)
com.adobe.adept.fulfillment.security.ServerConfig.getSigningURL(ServerConfig.java:48)
com.adobe.adept.fulfillment.servlet.FulfillmentServerStatus.getServers(FulfillmentServerStatus.java:34)
com.adobe.adept.common.servlet.Status.checkUp(Status.java:355)
com.adobe.adept.common.servlet.Status.doGet(Status.java:421)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
I've created operator.p12 according to the instructions in the Quickstart guide
and placed it in /etc where it is accessible by the server. I used OpenSSL 0.9.8k
for this.
I can use "openssl pkcs12 -in operator.p12 -out file.pem" to view the contents of
the file.
My Content Server fulfillment configuration is as follows:
com.adobe.adept.init1=com.adobe.adept.shared.util.SharedInitialization
com.adobe.adept.log.level=trace
com.adobe.adept.log.file=/var/log/fulfillment.log
com.adobe.adept.persist.sql.driverClass=com.mysql.jdbc.Driver
com.adobe.adept.persist.sql.connection=jdbc:mysql://127.0.0.1:3306/adept
com.adobe.adept.persist.sql.dialect=mysql
com.adobe.adept.persist.sql.user=ereading
com.adobe.adept.persist.sql.password=********
com.adobe.adept.fulfillment.security.licensesignURL=https://eusigningservice.adobe.com/licensesign
com.adobe.adept.fulfillment.security.keystore.user=operator
com.adobe.adept.fulfillment.security.keystore.password=********
com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
com.adobe.adept.serviceURL=http://******.dmz.******.org/fulfillment
Any ideas?
Best regards,
Teemufor solve this, change this
com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
for this
com.adobe.adept.fulfillment.security.pkcs12.file=/etc/operator.p12
Maybe you are looking for
-
Query: How can I combine several fields to one field
I have this Query: SELECT T0.[Cardname], T1.[Street], T1.[ZipCode], T1.[City], T1.[Country] FROM OCRD T0 INNER JOIN CRD1 T1 ON T0.CardCode = T1.CardCode WHERE T0.[CardName] Like '%[%0]%' I have two questions on it: 1) Now I get two lines with the
-
With iTunes Plus gone, what are my options to remove DRM from older downloads? I have a large enough number that burning to discs then ripping them again is not practical.
-
In macbook pro with lion os apple gives a full-screen-mode icon in the top right corner of the window, which will be used to open that view in different window. But firefox does not support this. Even chrome supports it. When will you bring this feat
-
VAT: RFUMSV00 bacth deleted
Hi, one of my user launched the VAT program RFUMSV00 (S_ALR_87012357) and deleted the batch because new postings were on-going that will change the VAT amounts. After that he tried to relaunch RFUMSV00 but he has only be able to generate a bacth for
-
Program to change pa0002 and pa0006 after production copy
Hello Pls can some one give me code to change the info type pa0002 and pa0006 after system copy. Regards Meghana