Hi Vamshi,
Yes, OpenDocument URL can be used to open a Report using simple url's as below:
http://<servername>:<port>/OpenDocument/opendoc/openDoc
ument.jsp?iDocID=Aa6GrrM79cRAmaOSMGoadKI&sIDType=CUID
You just need to change the URL according to your enviorment. You can also give parameters to your report in the above url.
You can find the OpenDocument Guide from the below link:
http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf
I am not aware of WebDynpro programming so I can't help you in consuming the above url using the same.
However, below is the .jsp script that can be used to consume the OpenDocument URL(if this can give you some idea)
<%@page import="com.crystaldecisions.sdk.framework.*" %>
<%@page import="com.crystaldecisions.sdk.occa.infostore.*" %>
<%@page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr" %>
<%
//CMS logon information - customize....
String cms = "lmo-sca-xi31sp2"; //Enterprise CMS Server
String webServer = "lmo-sca-xi31sp2"; //Infoview Web Application Server
String webPort = "8080"; // Infoview Web Application Server's port
String userid = "Administrator";
String pwd = "";
String auth = "secEnterprise";
String reportName = "World Sales Report"; //Hard coded for this example
//Log onto the CMS
ISessionMgr entSessionMgr = CrystalEnterprise.getSessionMgr();
IEnterpriseSession entSession = entSessionMgr.logon(userid, pwd, cms, "secEnterprise");
//Get the report id to redirect to
String infoStoreQuery = "select si_id from ci_infoobjects where si_instance=0 and si_name='" + reportName + "'";
IInfoStore infoStore = (IInfoStore) entSession.getService("", "InfoStore");
IInfoObjects infoObjects = infoStore.query(infoStoreQuery);
if ( infoObjects.isEmpty() )
{
out.println("[" + reportName + "] not found.");
}
else
{
IInfoObject report = (IInfoObject) infoObjects.get(0);
String rptID = "" + report.getID();
//BOE XI 3.x URL
String urlRedirection = "http://" + webServer + ":" + webPort + "/OpenDocument/opendoc/openDocument.jsp?iDocID=" + rptID + "&sIDType=InfoObjectID";
response.sendRedirect(urlRedirection);
}
%>
Hope this helps.
Regards,
Rajarsh