Content Server HTTP interface
We need to implement HTTP interface for Archivelink. Is it possible to use BSP for this purpose? The interface uses standard GET and POST request with modified HTTP header (for detail see [documentation|http://help.sap.com/saphelp_nwpi71/helpdata/en/9b/e8c186eaf811d195580000e82deb58/frameset.htm]). Other thing is multipart/form-data handler necessary for manipulation with multi-file documents. The basic functionality is easy to implement for example in PHP (ASP, ...), but we prefer SAP-only solution. Otherwise, an additional interface between SAP and PHP application has to be written.
Thanks.
m.
yes it is very much possible both from BSP as well as from plain ABAP (using cl_http_client class)
Similar Messages
-
SAP Content Server HTTP Interface ignores secKey
Hello.
I try to implement an own Content Server with the help of this url: http://help.sap.com/saphelp_nw04/helpdata/DE/f5/9561f5f3b111d1955b0000e82deb58/frameset.htm
The problem is, if try to test these functions on the SAP CS, secKey will always be ignored. The parameters 'docProt', 'security' and 'Protection' are set to on.
The function 'putCert ' also does not work and always show the error 'security.cpp(615): SsfVerfiyError 12'.
Thanks for the help.
Best Regards
RenéHi Alexander,
SAP KM always has to access on the architecture level where the document object model is defined. There is no generic repository manager (the connectory from KM to xy) for ArchiveLink or SAP Content Server.
Repository managers access e.g. on the level of mySAp PLM DMS for which one of these connectors is available.
Regards,
Karsten -
How can we put file in Content Server (HTTP)
Hi
I have PDF file or Text file which i had to place a in Content Server( HTTP ).
please tell me is there any program to place fiel.
Thanks
SontoshYou cannot do this through the database. The database server knows nothing about your client PC and cares even less. What you want to do can be done via a straight OS command like FTP. If you want to automate this you'll have to do it through the client.
There are many ways to do it, it depends on your client environment. For insatnce, I'm currently on a project that uses Java to turn client PC files into bitstreams and then inserts them as CLOBs into a database table. Doing something similar in Forms should be a piece of cake with the D2KWUTIL library. Alternatively you could use HOST to initiate a FTP session.
Rgds, APC -
Hi
We've installed Content Server 6.40 according to installation guide SAP Content Server for windows (SAP Netweaver 2004s)
We've created a repository via tcode CSADMIN.
We see server status running when we use url
http://192.168.100.121:1090/ContentServer/ContentServer.dll?serverInfo
When we try to test content repository via report RSCMST and after report RSCMSTH0 we get error
x-errordescription: "ContRep ZMYREPOSITORY or Storage entry not defined"
And also we see the error
HTTP error: 500 (Internal Server Error) "ContRep ZMYREPOSITORY or Storage entry not defined"
at tcode SCMSMO
How can we correct this error?
Best Regards...Hi Hande,
It seems your installation is completed but not configuration. Have you defined content repository ZMYREPOSITORY with tcode SCMSMO
Regards,
Hari. -
Hide links on Content Server User Interface.
Hi all,
I need to hide certain entries from the content Server UI. For eg: The Web Form Editor link under Content
Management tab. Can anybody help me on how to go about it ?I don't want to delete the nodes ..just hide them.
Also is it possible to hide entries based on the user logged in ? Kindly help.
Thanks in advance,
NithyaYes - I think it could be the definition of "hiding" and "deleting" ... :)
You want to remove the node from the structure in order to hide it. You can write an include to do this, and even use logic to determine whether to remove it or not, at the time the include is rendered.
For instance, I was asked to hide "Web Sites" from the UCM menu for any user without the 'admin' role on a server instance. This was accomplished by locating the proper 'include' to hook in to. Then, my code runs and for users without 'admin' privileges, removes the "Web Sites" menu item - keeping most users from being able to browse web sites from the UCM interface.
If you really wanted to make it 'configurable', you could add a preference variable that you can change "on the fly", without restarting the content server service. Then, you could hide/show that node in the menu by changing the pref prompt. In your include, you simply look for your preference variable value and remove the node if the variable is enabled/true, etc.
Something like this maybe ... from memory - so be warned:
<@dynamichtml custom_finish_layout_init@>
<$include super.custom_finish_layout_init$>
if (navBuilder)
if(!userIsAdmin)
navBuilder.deleteItem("YOUR_NODE_ITEM_HERE");
<@end@>
Edited by: gheitman on Aug 13, 2009 2:18 PM -
Content Server - HTTP Error 400
Good morning. I've just installed Apache and Content Server. I've created my Content Repositories in SAP and everything checks out Online in CSADMIN and via SE38 - Report RSCMST.
However, from the Browser when I enter: http://<hostname>:1090/ContentServer/ContentServer.dll?serverinfo
I'm getting an HTTP 400 page not found error.
This is installed on Unix - AIX 5.3 - Content Server Version 6.30
Apache is working as I get a web page and I get the "Parent" directory when I enter only: http://<hostname>:1090
Any ideas ?Our Content Server is installed on a Standalone system. It's not on the same host as the SAP systems we're connecting to.
Yes, I'm able to create Content repositories and that's how I have them defined in CSADMIN. I created the CR's in OAC0 and then specified them in CSADMIN and done further configuration to them there. Our users have been able to use the CR defined in CSADMIN to archive data into the Content Server.
My CDADMIN definition is online, active and working,,, All green lights and being used. So I'm getting my error when I attempt
to access via http://<ContenServer_Hostname>:1090/ContentServer/ContentServer.dll?serverinfo.
Here's my CDADMIN definistion for My CR:
Content Repository: CS
HTTP Server: sap01dad.<client>.com This is my Content Server Hostname,,, Not the SAP system where it's defined in CSADMIN
Port: 1090
HTTP Script: ContentServer/ContentServer.dll
Version: 0046 -
Content Server HTTP error: 405 Method Not Allowed in CSADMIN transaction
Hello,
After installing the content server, when configuring in CSadmin
transaction, when we try to save the new settings, I get the errror
HTTP error: 405 Method Not Allowed.
The operating system is W2008 R2 SP1. The storage type is filesystem, we do not use the MAXDB database. However, I have made so many tries, that, finally Ihave installed the system with database, although we are not going to use it (we have more content servers installed with database and they are working fine). Despite of this, it doesn't work either. The error message is the same.
The Content Server release is 6.40
Thanks and best regards,
AnaI have seen this issue on Windows 2008 R2 with IIS 7.5. This was the solution of mine
The error 405 appears because you have installed WebDav IIS Role in IIS 7.5. Please uninstall that particular role.
Regards,
Subhash -
HTTP Content Server - custom parameters
Hello!
Is there any possibility (even by using ABAP) to send parameters other than those 10 standard ones (stated in sap-help) in HTTP-GET request of the Content Server HTTP interface?
For example, I would like to send username of the current user who starts the HTTP-GET request. Is it possible? If yes, please show me how. On the other hand, if you are SURE that it is NOT possible, please reply as well, so that I can stop trying.
Are there alternative ideas on how to get the current username, even by calling a BAPI or RFC back from the target application?
Thanks in advance!
Kind regards,
IgorHello!
Is there any possibility (even by using ABAP) to send parameters other than those 10 standard ones (stated in sap-help) in HTTP-GET request of the Content Server HTTP interface?
For example, I would like to send username of the current user who starts the HTTP-GET request. Is it possible? If yes, please show me how. On the other hand, if you are SURE that it is NOT possible, please reply as well, so that I can stop trying.
Are there alternative ideas on how to get the current username, even by calling a BAPI or RFC back from the target application?
Thanks in advance!
Kind regards,
Igor -
Decompress files in HTTP Content Server
Hello,
I have a problem with the consistency of files stored in HTTP content server. That is to say I have an inconsistency between the object and content of the linked file.
I have a controller program for consistency but I do not know how to decompress.
The files in the content server are compressed with CSCompress (I think). Is there a possibility to decompress this files ?
Tank you.
MichelHi Michel,
Conerning your questions regarding the possibility to decompress the
files outside the SAP system, I'm afraid this is not possible. The
document files are stored in a compressed format. Even if you managed
to extrace the files from the tables, their content still remains
compressed. In other words, you still have to rely on SAP Content
Server's decompression logic to generate the original content. The only
way to retrieve the files, therefore, is by using the SAP Content
Server HTTP Interface.
Regards,
David -
Using MS-Sharepoint as a content server from ECC 6.0
Hi, gurus.
From the
[SAP Content Server Installation Guide|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/cfa73246-0a01-0010-71b4-bc21ccb45c99&overridelayout=true]
...you will find this information:
You can find a description of the SAP Content Server Interface in the SAP Library (on the documentation CD or under www.//help.sap.com) under SAP Web Application Server u2192 Basis Services u2192 Knowledge Provider u2192 Content Management Service u2192 SAP Content Server HTTP Interface. If you want to integrate another content server into your network, the new content server must fulfil the requirements of the interface.
My simple question is:
Is it possible to use MS Sharepoint as a content server from ECC 6.0 ?
Please advice.Hi Athol,
Thanks very much, your answers are very helpful.
To use SharePoint as SAP DMS for document management. We have depend on the 3rd party products like iNet.DM from ERP.Link or Duet Enterprise and separate licenses required for products?
Without this 3rd party products, it is not possible to use SharePoint as SAP DMS?
What is best and cost effective way of achieving this requirement?
Thanks and Regards,
Venky. -
Migration of SAP DMS documents from RFC Archive to SAP HTTP Content Server
Can anyone verify the correct OSS for the migration of documents from an RFC Archive repository (non SAP) in SAP DMS to a SAP Content Server HTTP Repository. Most of the OSS notes seem to indicate HTTP to HTTP migrations or based storage category migrations.
Which is the most suitable for this?
Edited by: Athol Hill on Oct 30, 2009 2:35 PMDear Athol,
If you want to move the originals from an archive or vault to a Content
Server, please use the DMS_KPRO_CONVERT and DMS_KPRO_CONVERT2 report I
would kindly ask you to see teh documentation on DMS_KPRO_CONVERT report
in transaction SE38, which explains the whole process and gives
necessary information.
This conversion program offers two possibilites:
- Complete migration:
The meta data of the document info record and the checked-in original
application files are migrated together. The checked-in original
application files are transported into the storage catgories.
- Step-by-step migration:
In the first step meta data is migrated. The original application files
remain in the old storage data. The migration of original application
files starts after you have processed the files with the integrated
viewer and checked them into a secure storage area.
Best regards,
Christoph -
Hi All,
I am trying to write a Java utility that will create a document using Content Server HTTP API in a repository with security turned on. I use SAP SSF classes to calculate the secKey value for my request, but everytime I get HTTP 401 error and the Content server log contains following error:
Security SsfVerify failed rc=12, lasterror=18, decoding error for, PSE=
?\C:\Program Files\SAP\Content Server\Security\ZT1.pse,"
My algorithm is following: first I calculate the MD5 hash of the parameters:
byte[] digest = null;
MessageDigest md = MessageDigest.getInstance("MD5");
md.update(param.getBytes());
digest = md.digest();
Then I sign it using SAP SSF classes:
ByteArrayInputStream bais = new ByteArrayInputStream(digest);
// create object of ssf data
ISsfData data = null;
try {
data = new SsfDataPKCS7(bais);
KeyStore keystore = KeyStore.getInstance("PKCS12");
keystore.load(new FileInputStream("c:\\work\\PKI\\CS_NW1.p12"), "pwd".toCharArray());
SsfProfileKeyStore profile = new SsfProfileKeyStore(keystore, "cs_nw1", "pwd");
boolean res = data.sign(profile);
if (!res) {
System.out.println("Creation of signature failed");
} else {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
data.writeTo(baos);
result = Base64.encodeBase64URLSafeString(baos.toByteArray());
} catch (Exception e) {
e.printStackTrace();
Is anyone here who has experience with the Content Server HTTP API in combination with digital signatures and could help me with my problem?
Many thanks in advance!
Best regards,
TomasHi Tomas,
I tried to implement the interface with C# and got same error as you mentioned above (Security SsfVerify failed rc=12, lasterror=18, decoding error for).
I'm not sure if my problem comes from the certificate which I created using makecert.exe or if I did somethime wrong signing the URL. How did you create your certificate?
Maybe you can see a major fault in my code. I tried it that way:
byte
[] byteArray = File.ReadAllBytes(@"C:\_xbound_ocf\Development\Dev\Binaries\Release\ENUtxt.pdf");
string docId = Guid.NewGuid().ToString().Replace("-", "").ToUpper();
string expiration = DateTime.Now.Add(new TimeSpan(2, 0, 0)).ToString("yyyyMMddHHmmss");
string accessMode = "c";
string parameterToBeSigned = ReplaceCharacter(_ContRep.Text) + ReplaceCharacter(_CompID.Text) + ReplaceCharacter(docId) + ReplaceCharacter(_DocProt.Text) +
ReplaceCharacter(accessMode) + ReplaceCharacter(_AuthId.Text) + ReplaceCharacter(expiration);
string path = @"C:\_xbound_ocf\Development\Dev\ProcessDirector\ArchiveLinkTest\ArchiveLinkTest\certs\DSAWithSHA1\MyUserCert.pfx";
X509Certificate2 certificate = new X509Certificate2(path, "alba&1");
DSACryptoServiceProvider provider = ( DSACryptoServiceProvider)certificate.PrivateKey;
System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
ASCIIEncoding encoding2 = new System.Text.ASCIIEncoding();
byte[] data = encoding2.GetBytes(parameterToBeSigned);
SHA1Managed sha1 = new SHA1Managed();
byte[] hash = sha1.ComputeHash(data);
byte[] signed = provider.CreateSignature(hash);
string secKey = Convert.ToBase64String(signed);
string url = _URL.Text + "?create" +
"&contRep=" + ReplaceCharacter(_ContRep.Text) +
"&compId=" + ReplaceCharacter(_CompID.Text) +
"&docId=" + ReplaceCharacter(docId) +
"&pVersion=" + ReplaceCharacter(_Version.Text) +
"&Content-Length=" + byteArray.Length.ToString() +
"&docProt=" + ReplaceCharacter(_DocProt.Text) +
"&accessMode=" + ReplaceCharacter(accessMode) +
"&authId=" + ReplaceCharacter(_AuthId.Text) +
"&expiration=" + ReplaceCharacter(expiration) +
"&secKey=" + ReplaceCharacter(secKey);
ReplaceCharacter is a function which replaces the invalid characters for url.
Best regards
Anja -
TREX/Content Server: Full text searches not working
I've setup TREX and Content Server in a sandbox environment and have been trying to get my head around DMS. I've completed what I've believed are the required steps (outlined below) and I have submitted 12 documents of various types into the respository. I'm able to perform meta data searches but not full text searched. Any ideas what I might have missed?
Much thanks!!!!
/Greg
0. Defined connection to TREX Server: TREX_42 (SM59); Using TREXADMIN all services are green.
1. "Define Document Area" - DMS is present; assumed I would use this one.
2. "Defined Indexing Readiness" - selected "Index Release" & "Classify" for DMS; set "Search Srv" to DMS_TEST
3. "Define Content Respository" - Created Z_CR_001 and maintained it as follows:
- Documentation Area: Document Management System
- Storage Type: HTTP content server
- HTTP Server: srv-sptxd2-dal.intervoice.int (content server)
- Port: 1090
- HTTP Script: ContentServer/ContentServer.dll
- Physical Path: /usr/sap/IRD/SYS/global/
4. "Define Content Categories" - Created ZCSSTRUCT; maintained as follows:
- Document Area: DMS
- Content Rep: Z_CR_001
5. Checked CSADMIN for Z_CR_001 - All Green
6. Went into SKPR07 (monitoring tab); entered DMS_PCD1 and "Indexing possible", "Auto indexing" and "DocArea activated" is all green.
7. Went into SMRO
- created SSR: "Search Server ID" = DMS_TEST, "Search engine" = DRFUZZY
- Verified "RFC Destinations"; passed tests; all green.
8. Went into SKPR07; using DMS_PCD1 as document class.
- executed "Clean up table entries"
- deselected "Limited to selected language"
- executed reindex. "Copied successfully from search engine"
- Selected the created index category
- Set the "Document area" indicator
- execute "Trigger process"; 12 documents referenced
9. Going into TREXADMIN I can see the created index; however the document count = 0. Also there is no queue created -- should there be?
Edited by: Greg Preston on Aug 5, 2009 9:11 PMDear
this link will help you,
TREX Architecture
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/71/b26b2bfdc4eb47ab5432e8444290ce/content.htm
File Formats Supported by TREX
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/55/cb634114b78047e10000000a1550b0/content.htm
Detail about TREX Configuration (Basic to advance)
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/46/bab1d48b0a1514e10000000a114a6b/content.htm
Regards
Tushar Dave
Edited by: Tushar Dave on Aug 6, 2009 9:59 AM -
Content Server not working correctly
Hello,
I am having problems with my Tandberg Content Server. For several years, we have used the Tandberg Content Server (TCS) in combination with our Tandberg Management Server (TMS) to schedule and record video conferences. I schedule 60 video conferences a week to roughly 20 rooms, using the TMS. Of these, about 14 video conferences per week are recorded.
Originally, I only had one recording alias on the TCS set up, and it worked fine. But I recently added a second recording alias, due to the growing number of requests for recordings of the video conferences. It seemed to go okay.
Now, however, the Content Server isn't working quite right. It will record two different video conferences at the same time, but once it's finished encoding them, the link that you get to send to people is messed up: often (but not always) the link merges two seperate video conferences together in one video. Two one-hour video conferences will be merged together in one two-hour recorded conference.
The problem only occurs with video conferences that occur at the same time. Strangely, if I search the Content Server's F drive, under Data/Media, the recordings are all there, and they are seperate. They are only joined together on the Content Server link.
I have made sure that we are indeed recording on seperate recording aliases.
Because the videos in the Data/Media bin are always labled something like O1110292903-0593923929.wmv, I can use guesswork to reconstruct a valid URL to get a working link, but it's a lot of extra work: I want to be able to log in to the Content Server admin interface and be able to send someone a link in a few minutes.
Any ideas on what's going wrong? I created a trouble ticket with Cisco earlier in the week, but have not heard back from Cisco tech support, so I thought I'd open it to the Cisco community.HI Ron. Good morning. Since our webex the last time, I do believe we can use participant templates in the mean time until we find out whats going on when using TMS this way. When using the recording drop down and all the systems aren't registered to Gatekeeper seems to be the trigger here, but to get you running, this is what I propose we try and do here.
You may have to purge the Content Server out of TMS so TMS doesn't "know" about the IP address of the Content Server.
You will have to examine your routing and preferred MCU in routing here, and make the two changes:
Administrative Tools>Configuration>Conference Settings. All the way at the bottom you will see:
I had to change this to Always and Preferred MCU type in routing to MPS. This is logical since this is the only MCU you have and you need the MCU in each booking (from my understanding of what you said during the webex).
So:
1) Jot down all the conferences that have the Content Server involved, and remove the recording from each conference.
2) Purge the Content Server from TMS.
3) Add participant template with just the IP address of the content server: Booking>Participant Templates and build one like shown below. The number field should be the address of the content server and IP zone should be IP zone for your system.
Go ahead and save the template.
Make booking with this template and another endpoint (don't add the MPS since it should automatically). Check the connection settings and the MPS should be call the IP of the TCS and the other endpoint.
Click Save conference.
If the conference saves ok, build another with a different room and same template again, and click save conference.
The caveat is that when calling the IP of the TCS, the TCS will use what you have configured as the default recording template under Configuration>Site Settings
Just choose which one you want to use all the time if you can.
The way it shows on the TCS is: -
SAP content server file access
Hi
I stored the word document file using DMS attachment in SAP content server.
and i fetched http url Path from content server.
http://xx.xxx.xx.16:1111/ContentServer/ContentServer.dll?docGet&pVersion=0046&contRep=ZDMS_CT_CT&docId=E033F8EA0FEF7BF1B53D0024E83A1B0D&accessMode=r&authId=CN%3DMJE,OU%3DI0020304274,OU%3DSAPWebAS,O%3DSAPTrustCommunity,C%3DDE&expiration=20110209090450&secK
But i cannot open the file in browser. why?
how to see the file?
Regards
ChandraHi chandarakumar,
share with solution it will helpful to all....
Regards,
chandu.
Maybe you are looking for
-
Problem in using socket streams with encryption and decryption
Hi, I am developing a client/server program with encryption and decryption at both end. While sending a message from client it should be encrypted and at the receiving end(server) it should be decrypted and vice versa. But while doing so i got a prob
-
XDO Help...Error while generating PDF output
Hi All, I am currently facing an issue generating the PDF through the concurrent program. We have developed the RTF template using Oracle XML Publisher Builder Template for Word Version 10.1.3.2.0 Build 87. When we run ,the program errors out some ti
-
IPod Shuffle Working only in Disk Mode
I was gifted an iPod Shuffle. When I connect to my Mac, it is visible on Desktop. I am able to put music files into it and play the same. But in no way I am able to see it in iTunes. Even the iPod Reset Utility is not recognizing. It simply says, con
-
How to Restrict Users Rights to Change Select List
Good morning everyone, I've got a select list that is populated using a basic query on a table. Lets say the items in the list are A,B,C and D. At the moment the users are able to choose any of those options and they are written to the database as ex
-
hi, in third party sales my client want to make a bilingl for bill to party after recieving the incoming invoice from vendor, before of that he want to restrict the billing process that order related billing. here he dont want to do the billing befor