you can get more information about openDocument via SAP at:
This is for XI R3.1 SP3. Earlier service packs have slightly different syntax, and R2 is completely different.
Anyways, an example of the URL using openDocument in the tomcat web tier would be:
http://servername:port/OpenDocument/opendoc/openDocument.jsp?sIDType=InfoObject&iDocID=Af3LhjKoyT1Pu4XAe3Mw2AQ
Replace servername:port with your server name and port. if you’re using port 80, then you dont need the colon and the port number.
The iDocID variable is the CUID, or unique identifier for the report. You can find this by going into infoview, right-clicking on the report you want to link to, then going to properties. The CUID will be listed on the second row, labeled ID, CUID:, and will be the second value.
Once you build your link and execute it, the first time a user clicks on it, they are prompted with a username and pass, just like infoview. The difference is that once they log in, it goes directly to the report.
Some items of note- if the user does not have “view” access to the object, they will receive an error indicating that the document cannot be found.
Also, if the user has access to view the object (meaning it appears in infoview), but does not have access to run the report, they will receive an error message indicating so.
The lesson here is to ensure that the target audience has the proper permissions to the document.
This will work with crystal, webi, and xcelsius. the latter of which is what we are using here. I havent done so with crystal in some time
If you want to completely do away with the logon screen, you will need to use single sign on (abbreviated SSO). Unfortunately this is more complicated. We actually have in-house jsp developers that I’m able to leverage. However, if it’s imperative that you go down this route, give McManus Consulting a call- www.mcmanusconsulting.com. They specialize in web tier customization. I’ve talked to Kevin McManus at the Texas ASUG, specifically about streamlining SSO with our authentication method (Encrypted smart cards, using secure http). They’re definitely the people to go to. If you want his email address, PM me and I’ll send it to you.
Ruune
(BOB member since 2007-08-13)