Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parameterhandling/export via Java not multiuser capable??

Status
Not open for further replies.

ulliM

Programmer
Apr 4, 2006
10
DE
Hi all,

I have a problem:

Some rpt file is deployed on a BO XI Server.
Using the Java RAS SDK i fill the parameters of this rpt.
When this is done, i call IInfoStore.commit(..) so that the changes on the parameters take effect on the server.
Then I call the ReportApplicationFactory.openDocument(...) for the very same rpt, to which I have set the paramaters before. On the ReportClientDocument I recieve, I call getPrintOutputController().export(...) to get the InputStream.

My problem is, that i HAVE to commit the parameters, and then re-retreive the commited ReportClientDocument:
[1]Retrieving the ReportClientDocument, setting the parameters and commiting them.
[2]Re-retrieving the ReportClientDocument by ReportApplicationFactory.openDocument(...) and calling getPrintOutputController().export(...)

If there is another access to the parameters of the rpt file between step [1] and [2], there will be a conflict.
In my eyes this is a viloation of the template thought.

I hope i do not understand the complete functionality of the JAVA RAS API, so that there actually exists a solution for my problem: to handle all the parameter setting and exporting without commiting any paramters to the server...and I hope someone of you know this solution.

hopeful regards
Ulli
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top