Ağu
24
2010
sabrieker
After a long delay, because of my laziness, i will be continuing to writing about Business Objects SDK and also I will try to share my Business Objects Web Intelligence lecture notes on R2 and XI 3.1 . It is new and good news for me to combine my SDK knowledge with WI reporting.
I will try to mention key points of reporting with my experiences during lectures and projects that I achieved.
I hope these notes, which will be written , will gives you hints about reporting .
PS: Also I will try to add new SDK feeds.
Keep connected
Powered by Adsense Deluxe Revived
no comments
Mar
24
2010
sabrieker
Hello everyone,
This Friday and Saturday I will give a lecture about Business Objects SDK for XI 3.1 . I prepared something but I have some concerns about talking about technical and teorical information. Code part is easy for me at least I think so. But teorical part , that is talking about IInfoObject , what it is and why we need it. Or what the inheritence is used and why. This part is a bit complicated to talk about. Because when you are coding, you are understanding the map from IInfoObject to IUser or IUserGroup object and you use it. But talking about it like lecturer in a class is a bit hard staff. Because everyone does not think like you so I need a simple way to explaing this objects.
I will see.
I will try to share documents with you.
Thanks.
sabri
6 comments
Şub
15
2010
sabrieker
In here for different view mode we have made some work . But in that case we had a simple problem when we try to get print-out.
Everything is awesome on the screen , we have all pages with page breaks. But when we want to print it out we saw that some piece of the report is missed. And it is not good .
But we have find a solution for it and it is very simple; setting media dpi for DocumentInstance. Really simple
For A4 we added
documentInstance.setMediaDPI(72);
this piece of code to the project and got the solution.
But I didn’t understand why this method is deprecated, it is interesting. If somebody knows anything let me know too.
Have a nice days fellows.
Powered by Adsense Deluxe Revived
no comments
Şub
8
2010
sabrieker
One of our customers wants to view reports same as they view in BO 6.5 version. In that version you can view all pages of one report in one page with page breaks. In BO 3.1 version you can not able to see that kind of view. You able to see in Draft mode, which do not put page breaks, Page mode , which you are not able to see whole report in one page, etc.
At starting we didn’t want to give a solution for this kind of problem because InfoView application is not producing any solution for this problem but when money talks we have to produce a solution.
In this entry I try to explain what we are doing and you can able to get code sample here
Continue reading
1 comment | tags: View Mode | posted in Business Objects 3.1, Business Objects 3.1 SDK, InfoViewApp
Oca
7
2010
sabrieker
Hello everybody,
Nowadays I was facing resource problem of ReportEngines objects during the openDocument method of the ReportEngine object. It hangs tomcat.
In my project I was opening report in my context (In tomcat ) and getting prompt values from user after that I was submitting the report to AnalyticalReporting context to view report with Business Objects InfoView application.
During the context to context submitting I was not closing the ReportEngines object in my context. And after a while it consumes BO resources and it kept waiting during the openDocument method . For this problem I added
reportEngine.close()
method before submitting report to another context . It makes very big difference for Web Intelligence reports.
At the second context side you should get ReportEngines object from EnterpriseSession object not from session ,for AnalyticalReporting context. Because if you get ReportEngines object from session it may be show you wrong report startup view.
Keep in your mind ;
Allways close your ReportEngine object when your job finished
And always use your EnterpriseSession services , don’t take from session , if you are not sure.
Thanks.
Powered by Adsense Deluxe Revived
no comments
Ara
31
2009
sabrieker
I wish you Health…
So you may enjoy each day in comfort.
I wish you the Love of friends and family…
And Peace within your heart.
I wish you the Beauty of nature…
That you may enjoy the work of Allah.
I wish you Wisdom to choose priorities…
For those things that really matter in life.
I wish you Generousity so you may share…
All good things that come to you.
I wish you Happiness and Joy…
And Blessings for the New Year.
I wish you the best of everything…
That you so well deserve.
Finally ,I wish you less coding, getting more works
HAPPY NEW YEAR FELLOWS! (:
no comments
Ara
18
2009
sabrieker
SAP Business Objects 3.1 does not log in you to InfoViewApp or CmcApp with Windows AD authentication based on NTLM not Kerberos when you call Tomcat based server not IIS based. It is interesting because you can log in with these applications from IIS based server.
So what can we do for this kind of problem. I have a tricky simple solution for this problem.
1. Create a login page in .net environment, I wrote on c#. I think it does not matter c# or vb.
2. In login process log user with secWinAD , which is configured in Cmc or what it is. (I don’t know the configuration details off WinAD authentication)
3. When you logged user with secWinAD and created EnterpriseSession , create logon token with CreateLogonTokenEx(“”, 120, 100) in c#.
4. Send this token to an adapter jsp in Tomcat under InfoViewApp context.
5. Take token in jsp and re-login user with token parameter to BO.
6. Redirect jsp page to http://ServerName:Port/InfoViewApp/logon/start.do?&ivsEntSessionVar=enterpriseSession
7. In url enterpriseSession is the your IEnterpriseSession object session name .
8. That’s all. Have a nice day and take a cup of coffee.
Powered by Adsense Deluxe Revived
3 comments
Ara
8
2009
sabrieker
Before this site I have been using my google web blog . As you know blogspot is free . It was easy to use , manage and control. But for a while a lot of people from web or around me noticing me to publish my knowledge, services which I offer people at work or out of work in a better structured site not only blog. It was snap decision but now I can say it is a good starting for me for the future.
At this point I can say I will update this site. I will work on design and blogs place in the site. Keep following me
2 comments
Kas
17
2009
sabrieker
This blog is not being written to get millions of readers everyday. It aims to share Business Objects SDK information with everybody over the world. And it is nice to see that lots of people are reading or entering to the site over the world at the end of the third month.
After a while, I checked out the visitors country I saw different countries like Vietnam, New Caledonia,Sweeden,Israel and lots of in the country list and it makes me smile because it means that I achieve my first goal which is sharing knowledge over the world at the end of third month of this blog.It is still kind of starting. Because for a blog I don’t believe third month is not enough time to get results that blogger wants. But for starting it is nice because this blog has been written over 3 months and it is nice to reach lots of people all around the world. (At this point I want to say sorry because of English but I hope this blog helps you to find something usefull for your problems).
I am not writer or blogger , I just want to share my information and experiences with you. And blogging started to get a place in my life beside reading
. At the end of the third month I think make a list for this blog’s goals. I may work on it tonight.
Again I am saying that if you want help related Business Objects SDK, I gladly help you. Because I believe that sharing information makes me more experienced. ( Again sorry for my english )
no comments
Kas
17
2009
sabrieker
Yes ValueFromLov object has a different approach to values you insert to it. But to figure out the problem reason is more complicated than it is being. And here is the solution with a small tip. I hope it helps you.
In my last project I have faced a problem because of ValueFromLov object and its values which involves “_” character. It is interesting. Because if you use this object like this;
ValueFromLov tmpValueFromLovObj = new ValueFromLov(“BO_USER”);
You get a tmpValueFromLovObj object which has a value “USER” not “BO_USER”. Because in the constructor of the ValueFromLov class “_” character is tokenizer character to tokenize your values. If you look at objects methods for above tmpValueFromLovObj you can see that
tmpValueFromLovObj.getValue() method returns “USER” String and
tmpValueFromLovObj.getRowIndex() method returns “BO” String
It can give you headaches to resolve, because with eclipse you can not get any tips about object constructor or in api you can not see anything related this.
Here is the certain solution for this kind of problem is ;
ValueFromLov tmpValueFromLovObj = new ValueFromLov(“”, “BO_USER”);
tmpValueFromLov.getValue() returns “BO_USER”
and happy ending at least for me.
And why Business Objects make ValueFromLov this kind of use. I think this is because of using this object when getting data from warehouse. Value structure is bit more complicated than relational database value structure. Keep it mind.
1 comment | posted in Business Objects 3.1 SDK, ValueFromLov