cancel
Showing results for 
Search instead for 
Did you mean: 

Opendocument Url

sapiens_704948
Discoverer

Dear All,

Instead of using custom.jsp, can i use another file(test.jsp) with different name to create logontoken and call opendocument url by adding that logontoken to see the report in sap web i. Custom.jsp file internally generates logontoken based on credentials and other info. and calls opendoc url.

Can anyone suggest on this.

Regards

Rahul

Accepted Solutions (0)

Answers (3)

Answers (3)

daniel_paulsen
Advisor
Advisor
0 Kudos

what version of Business Objects Enterprise are you using?

There have been some issues with sViewer=fiori in older versions. Try removing that from the URL and see if the document displays using the HTML viewer.

Also, try right-clicking on the report in BILaunchpad and copy the Opendocument link from there and ensure it works and is the same as what you are building in the my_custom.jsp file.

If you are logging on in your jsp file and creating a token you can pass it on the url "....?token=<thelogontoken>
If you are creating a serialized session, then it could be too long to pass on the URL: https://launchpad.support.sap.com/#/notes/1842106

sapiens_704948
Discoverer
0 Kudos

Dear Daniel,

Thank you!

I have created below url with my_custom.jsp file. In my_custom.jsp file, calling openDocument.jsp file with all log on information.

http://ip address:8080/BOE/OpenDocument/opendoc/my_custom.jsp?sIDType=CUID&iDocID=AU5yr9tNcbNLgyonlNThkks&sViewer=fiori&noDetailsPanel=true

it is redirecting me to log on page, but after entered my credentials it gives below error

A error occured. Could not find the document.

Can you help me on this.

But below link is working:

http://ip address:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AU5yr9tNcbNLgyonlNThkks&sViewer=fiori&noDetailsPanel=true

Thanks

daniel_paulsen
Advisor
Advisor
0 Kudos

Hi, yes you can write your own page that logs on, creates a token and redirects to opendocument.

the below link is old, but gives a good example:
https://wiki.scn.sap.com/wiki/display/BOBJ/Getting+Started+with+OpenDocument+and+URL+Reporting+in+Bu...