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,
Igor
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,
Igor
Similar Messages
-
ArchiveLink with SAP HTTP Content Server configuration using SAPdb MaxDB
We have configured SAP 4.7 to use ArchiveLink to store outgoing POs. The POs are in PDF format and are to be stored on an SAP HTTP content server using MaxDB. We believe everything is setup but when we go to retrieve a stored file, using and HTTP link we do not see the document. Here is a sample HTTP link:
http://company-sap20.company200-sap.com:1090//ContentServer/ContentServer.dll?get&pVersion=0046&contRep=ZT&docId=47E9C60A28145211E10000000A0126F3
Can anybody give me a few pointers?
What table in the MaxDB shall I look at? Where is the docID being passed to?I'm sorry to say that I don't know.
AFAIK, the report gets documents from the document store. The Contentserver itself runs embedded in the Web-Server.
Besides the trial to write a trace file with the Contentserver (see Contentserver.ini somewhere on your Web-Server) I strongly recommend to open a customer message.
Regards Thomas -
TREX not working for e-recruiting with HTTP content server
We have a separate e-recruiting instance where we have only e-recruiting functionality installed. In this system we are using Storate type as "http content server instead of standard setting "SAP system database" for HR_KW content repository via transaction code "OAC0"
Following are the details
Document Area: HR_KW
Storage type : HTTP Content Server
Version no. 0046 Content Server version 4.6
HTTP server vd24cs02.sce.com
Port Number 8080 SSL Port Number
HTTP Script archive
Phys. path /usr/sap/N09/SYS/global/
Points to be noted:
1) TREX Search functionality for Job postings etc is not
working with this setting, however if we use HR_KW_CONT (storage type=03 SAP System database) , above mentioned functionalities work. We observed that xml files required for TREX search are also not getting created when we change the settings.
2) We observed that when we change the storage type the indexing job is successful but application log shows some failures in reading/modifying xml files
Please let me know what are the settings/ procedure to use a different storage type instead of standard setting delivered with the product. Anything related to the setting for above requirementHi All,
I may have a similary problem but I'm not entirely sure.
I have been tasked with setting up a simple java servlet to authenticate against a BOXI (Business Objects) server, from my tomcat server (tomcat 5.5) on my windows XP desk top machine. I will add more info on this shortly.
I have been supplied with a krb5.ini file and the bscLogin.conf file as follows:
bscLogin.conf :
com.businessobjects.security.jgss.initiate {
com.sun.security.auth.module.Krb5LoginModule required debug=true;
krb5.ini[libdefaults]
default_realm = ADF.SOMEWHERE.CO.UK
dns_lookup_kdc = true
dns_lookup_realm = true
default_tgs_enctypes = rc4-hmac
default_tkt_enctypes = rc4-hmac
[realms]
ADF.SOMEWHERE.CO.UK = {
kdc = DC90.ADF.SOMEWHERE.CO.UK
default_domain = ADF.SOMEWHERE.CO.UK -
hello,
I want to create manually the KPro-metadata for documents. do you knwo which tables (like SDOKSTCA) I have to consider and make entries?
the next step is to migrate still existing documents on a sap http content server into the sap kpro and sap dvs.
which steps I have to made? which fm´s tables do I need?
is there any documentation in the web for this topic?Check out this online help.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/58/2c0795e3914868ad716a524c158cb5/frameset.htm">Defining Content Repositories on the SAP Web Application Server</a>
Regards
Raja -
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 -
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. -
Http content Server - putCert specification
Hello,
I am trying to develop a HTTP Content server for connection with SAP but I encounter difficulties while implementing security.
The methode putCert stores the certificate from SAP but it seems like it is a X509 v1 certificate and not a V3. like mentionned in the spec doc
Moreover SHA1 seem to be used and not MDS.
Is there any particular reason?
Thank youOk finally managed to implement security on the SAP Content Server.
this code snippet works:
Provider bc = new BouncyCastleProvider();
int i = Security.addProvider(bc);
byte[] message2Sign = "E25B5CECB6846E1F4F92C9E9058BC415FDrCN%3DC1120071026161701".getBytes();
String good = "MIIBlAYJKoZIhvcNAQcCoIIBhTCCAYECAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAWAwggFcAgEBMBMwDjEMMAoGA1UEAxMDQzExAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNzEwMjYxNDE3MDFaMCMGCSqGSIb3DQEJBDEWBBT/ObaVw5qhQRX5MTMnyVqptXhwnTCBpgYFKw4DAhswgZwCQQEi9Vy1IpGpgBwpby66sV16jIHOJkoJI/blRDbeogY2IS69a9JmlAfQEnttGqA3jv/QAf98zFtmFpsDwniO1AhUBQNzq3BaLZ3Vj2dGBB5HPZh5eBa0CQHsZv4pNumfHRNhmlbKK9TDgPQrDDnG7F51g1FhTAFvceltg20WjHE/dFaH8jkigzaJDkFIuV50yGPytGPYmekELzAtAhUBBudqwTj+JNfkpr6BausHDZpqMmUCFC9rWauPQhjYNp4tiHWPmpgw9NXl";
String bad = "MIIBlAYJKoZIhvcNAQcCoIIBhTCCAYECAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAWAwggFcAgEBMBMwDjEMMAoGA1UEAxMDQzExAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNzEwMTgxMTQxNTVaMCMGCSqGSIb3DQEJBDEWBBS2xHiqu4ZssgcURXnsqxhf5kTCBpgYFKw4DAhswgZwCQQEi9Vy1IpGpgBwpby66sV16jIHOJkoJI/blRDbeogY2IS69a9JmlAfQEnttGqA3jv/QAf98zFtmFpsDwniO1AhUBQNzq3BaLZ3Vj2dGBB5HPZh5eBa0CQHsZv4pNumfHRNhmlbKK9TDgPQrDDnG7F51g1FhTAFvceltg20WjHE/dFaH8jkigzaJDkFIuV50yGPytGPYmekELzAtAhUBOKbZGs22bNiMQ8UkPL4vaPewDwCFFof2Pv04DXMDPj2SnZ7wMcCKTfH";
BASE64Decoder b64 = new BASE64Decoder();
byte[] signature = b64.decodeBuffer(good);
// get public key from cert
File toto = new File("/tmp/toto.txt");
FileInputStream fis = new FileInputStream(toto);
PKCS7 test = new sun.security.pkcs.PKCS7(fis);
java.security.cert.X509Certificate[] certs = test.getCertificates();
//PublicKey pk = certs[0].getPublicKey();
// construct PKCS7 data object
CMSProcessable processable = new CMSProcessableByteArray(message2Sign);
CMSSignedData s = new CMSSignedData(processable, signature);
// get 1st signer infos
SignerInformationStore signers = s.getSignerInfos();
Collection c = signers.getSigners();
Iterator it = c.iterator();
SignerInformation signer = (SignerInformation) it.next();
// verification
boolean test2 = signer.verify(certs[0], "BC");
System.out.println("Ok = " + test2); -
SAP HTTP Content Server and ECC 6 to be installed on same Windows system?
Hi Gurus:
I have ECC 6 (IDES) running on a Windows 2003 server already. I plan to install the SAP HTTP Content server on the same machine/same operating system. I will be the only user, just testing it out and learning things myself.
Is this advisable?
Also does anyone know the latest set of Content Server DVDs/CDs to download ?Deepak:
Thanks a lot.
My Content Server is running OK now.
Two repositories are created: one is DMS, one is on ArchLink (ArchiveLink).
But when I am trying to attach a PDF document to a PO, I got this:
HTTP error: 401 Unauthorized
Message no. CMS025
Diagnosis
Error in accessing via HTTP
401 Unauthorized
Any clue??? -
Migration of documents from a http content server into sap kpro und sap dvs
hello,
I want to migrate documents from an http 4.5 content server into the sap knowledge provider (kpro) and in sap dvs with an abap program.
I know I have to create a PHIO and a LOIO and write it in the tables DMS_PH_CD1 and (only the LOIO) in DMS_DOC2LOIO.
Where I have to write my url for accessing the document on the content server?In which table?
What fm´s do I need to create the PHIO´s and LOIO´s?
Has anyone an idea and hints (like weblinks) to integrate documents from an content server into kpro and sap dvs?Hello,
the private key, where the hash is signed with is stored
in your AppServer directory $DIR_INSTANCE/sec and is
called SAPSYS.PSE. Where the PSE is a secude (www.secude.de) specific format which contains the private and the publik key.
But I guess you won't get the private key, because its private, unless you are the Administror
Then signig is done via the normal industry standards. (http://www.rsasecurity.com/)
regards,
mumba. -
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 -
External Content server customizing
Hello,
I am trying to configure an external content server for attachment storage on a SRM 4.0 system.
I had a look on both sap Help, SDN forum and config guides, but I didn't find the customizing steps description.
Can anyone help me.
Regards.
VadimHi Vadim
I'm facing the same problem right now.
Do you happen to have some documentation on this that could help me solve the issue ?
Configuration of the archive seems to work, but i'm still missing something in SRM setup because attachments are still in stored in BBPCONT.
Thanks in advance for any information that could help... -
Error when trying to store content in the HTTP content server.
I call the FM SDOK_PHIO_STORE_CONTENT to store a document into the pre-configured content server(the server was configured with transaction OAC0 and the connection is tested ok). But the sy-subrc returns 2 (not_allowed). I debugged into this FM and found the specific error is TRANSFER_ERROR in the subroutine STORE_CONTENT.
I have no idea in which situation this error will occur. Anyone can help?
Thank you.Hi Tang,
Though long back, you faced this error.. Any chance you remember the solution for it? Even am facing the same issue. Not able to find a solution for it anywhere. Its getting tough. Your help would be of great helppp...
Many thanks in advance.
Awaiting for your reply, kindly do help me out in this. -
HTTP Content serve - Archive link
Dear Friends,
I know archive link custimization, we need to do the following steps:
1.Define the content repository
2.Confirm that the appropriate document class
3.Assign the document class to a document type
4. Assign the document type to the content repository
Yesterday I was going thru document " document management for utilities 692 building block configuration guide"
http://help.sap.com/bp_utilities603/BBLibrary/Content_Library_UTL_EN_CN.htm
In this Document they created DMS doc. types, status, data carrier, work station application like DMS . Then when defining Content repositories , they doneHi,
By mistake it has posted. I am drafting the message.
Regards -
HTTP Content Server Interface Behaviour
I developed my own http servlet which is a link to the external DMS. This http servlet is receiving requests from SAP to get, create documents etc.. (info, get, create,.. functions encoded in URL query). I carefully log every request coming from SAP. I can not figure out why exactly every 5 minutes SAP sends a request with info function for a document (docId) which does not exist, either in link tables (TOA01,..) nor in DMS itself? How is this info request generated? Why exactly every 5 minutes? There is no job related to Archiving, which has period of 5 min. Any Ideas?
Regards,
SimonI developed my own http servlet which is a link to the external DMS. This http servlet is receiving requests from SAP to get, create documents etc.. (info, get, create,.. functions encoded in URL query). I carefully log every request coming from SAP. I can not figure out why exactly every 5 minutes SAP sends a request with info function for a document (docId) which does not exist, either in link tables (TOA01,..) nor in DMS itself? How is this info request generated? Why exactly every 5 minutes? There is no job related to Archiving, which has period of 5 min. Any Ideas?
Regards,
Simon -
Accessing Content Server custom metadata in search results
Hello,
Is there way to access custom metadata from the Webcenter Spaces search results page? I'm trying to customize the searchResultsFragment.jsff page to have certain results' url be created differently depending on their custom metadata.
I've noticed that each result is stored in a variable called "row" and attributes of that variable are accessed with row.title, row.authors, row.comments, etc. Is there a list somewhere of attributes that can be called from row?
Thanks in advance for any help/advice.I think this depends on how you're calling the webservice. if you're using the 11g-method of using the Generic service, it should work ootb. If you're using the 10g-method, then you need to update the soap service's response params to include your custom metadata. OOTB it has a complex type that only includes some standard metadata, but no custom.
-ryan
Maybe you are looking for
-
I have an iMac desktop from 2009 and a brand new one, I have them connected directly, migration assistant freezes every time at the one minute mark, any idea how to fix this? it seems it has something to do with one of the profiles set up on the old
-
Need help setting up DSL modem
I just spent 45 min. with a techie from my server trying to get an ethernet DSL modem set up. He was a Windows man and not familiar with Mac OS. We got everything in the control panels set up but activation failed. When I got to the final stage where
-
Hi I have a requirement to produce some output which lists the OSB services currently deployed and their state (enabled or disabled). Using the CommonServiceConfigurationMBean described here: http://docs.oracle.com/cd/E28280_01/apirefs.1111/e15033/co
-
ODI : how to publish data in an excel sheet
hello every one! need your suggestions. On executing a procedure or a package in ODI ,i want to publish the output on an excel sheet . how do i do that? kindly suggest.
-
Publishing a GROUP of calendars with different colors.
When I publish a group of calendars on the internet for my (sorry) PC friends to look at on a browser, all the calendars merge and appear blue, which makes scanning the calendar much more difficult. Is there any way to retain each calendars unique co