November 5, 2009

Indenting Trees

The snow has nearly all gone, just in time for the next batch! It was a douzy of a storm, fun driving conditions, amazing how much you forget over the hot dry 'roaded' summer. My newly licensed son was itching to get out there. Mom wouldn't let him, I had to agree, our insurance couldn't take it and we have way too many trees near our house. The trees looked very pretty thou and speaking of trees (what a segue) I have been asked numerous times if BIP can generate a tree structure, the more ambitious ask for an org chart. I plan to take a look at how to do the org chart another time, for now, how about a nice tree structure.

Between the two of us, Rob (colleague and data modeler extraordinaire) came up with a solution for a customer to generate this:

Tree1.jpg

Its a tree of sorts, nothing fancy, we just wanted to get the structure right, so there are no details under the headings. Its getting the indenting correct that was the trick. The customer had a pretty fixed data structure and did not want to use nested tables.

The template is pretty simple, just a funky trick to get the indenting working. I mentioned the customer had a pretty fixed data structure. It made life easier, they only had 3 levels to worry about so the code to handle the indenting could be pretty straightforward and somewhat 'hard coded' for the data set.

tree4.jpg

It also has the advantage that the tree is in the right order ie

Level1
-Level2
-Level2
-- Level3
-Level2
Level1
Level1
...

The template looks like this

Tree2.jpg

the fields contain

Tree3.jpg

Of course the most interesting field is the C

<?if:number(LEVELS)=1?>
<?ORG_LONG_NAME?>
<?end if?>
<?if:number(LEVELS)=2?>
<?attribute@inblock:start-indent;'20.0pt'? > <?ORG_LONG_NAME?>
<?end if?>
<?if:number(LEVELS)=3?>
<?attribute@inblock:start-indent;'30.0pt'?> <?ORG_LONG_NAME?>
<?end if?>

A chhose statement would have worked just as well. You can see the dependence on the data order and the structure or more specifically LEVELS element. We need to check that to know how big the indentation should be.
The @block is also important, we need that to get the indentation to show only on the current text and not affect anything else. If we had been using tables we could have gotten around that.
Now we could have been a little smarter and written something to handle any number of levels ... answers on the back on a new Mac Book Pro 15-inch: 2.8GHz 4Gb 500Gb HD :0)

,

October 30, 2009

Siebel Integration Information

Been too danged busy again, we got a nice 2-3ft of snow over the last two daze, digging out has been fun! Nearly lost the car ...

car.jpg

A quick Friday post on Siebel integration. Two pretty useful docs that John from the Siebel PM team recently shared with me.

8.1.1 TOI: Siebel BI Publisher Integration Functional Overview

http://oukc.oracle.com/static05/opn/login/?c=576002953&t=offering

Siebel Reporting Migration FAQ - Actuate and BI Publisher (external visible)

https://metalink3.oracle.com/od/faces/secure/km/DocumentDisplay.jspx?id=764097.1

Have a good weekend

October 23, 2009

Installing BI Publisher into Weblogic Server 11g

Thursday, October 22nd, 2009 by Mark Rittman

I was on-site yesterday helping an ISV integrate BI Publisher into their product, and hit a few issues getting the product installed and running on the Weblogic application server. BI Publisher comes integrated out-of-the-box with OC4J and Oracle Application Server, but you'll need to install and configure it manually to work with other application servers [...]

You can read the full article HERE.

Many Thanks to Mark for his posting.

October 16, 2009

Row Filler Followup

Since my post last week or was it the week before. The weeks are blurring by at the moment. Last week, I could swear it was warm and sunny here in Colorado, the fish were biting along with the mozzies and sitting on our deck you could here the 'crickets' chirping into the night. Back in July, we got nightly visits from a huge bear which I managed to capture on film. He was a sausage stealing, trash tipping pain in the butt but we were not going to argue :0)

bear.jpg

Now its 27F, sorry 'Rest of the Worlders', I have been assimilated. Its imperial measurements for me all the way. I even know what a 'quart' is, I think in inches and cups for measuring. America is sometimes staggering in its arrogance for the rest of the world! Maybe a bit strong but you know what I mean.
Yep, its freezing cold the wind is howling, the windshield (another Americanism along with tail pipe, thats a good one) blower on the car can not keep up with the freezing rain and I have to scrape it to see. Come back Summer, maybe not the bear thou!

Anyhoo, my last post on row filling and the added requirement that I did not cover got some folks into action. Most notably, Lakshmanan and the Ice Man aka Ike Wiggins. Both of them were way ahead of me. I guess from a need, born of necessity i.e. get it done for a customer. Rather than my approach of, 'when I can find time', they have independently come up with solutions to handle the row wrapping issue I mentioned at the end of the last post.

Shout outs are due and if you use their methods, please drop a quick mail of thanks.

Lakshmanan's solution is available here. Some other great posts on EBS related tidbits (another PC'ed American term) available on his blog.

Ike's solution is available here Ike has also posted sample template and data here. Like the blog's new look and feel Ike, very suave!

,

October 14, 2009

OOW 2009 Drawing to a Close

One more day to go at Open World 2009. It's been quite the busy week both with sessions and at the demopod.

Even though each of us were scheduled to be at the pod for a few hours each day, we found ourselves staying longer and longer because there were just so many folks to talk to. In fact, Glenn from Show Management came by the pod first thing this morning to tell us that the BI Publisher demopod had some pretty significant numbers the day before. We really stood out. This would explain why most of us are now losing our voices. But, that's what we get for being so excited to talk at length about our fabulous product!

Sadly, the demogrounds are now closed. But, we still have sessions tomorrow.

You won't want to miss Nick & Klaus at 12pm in Moscone West 3014. They'll be educating you on Best Practices for BI Publisher.

There are also sessions on E-Business Suite, Peoplesoft, Siebel and the last hands on JD Edwards lab. Stop by and check them out.

Neither Rain, Nor Sleet ...

... nor gloom of night stays these couriers from the swift completion of their appointed rounds." Don't know if it's still true for the US Mail but, the Publisher team was on the go despite the "epic" storm in San Francisco today.

Siva Ramanathan from MasterCard and Noelle
Siva-Noelle.png
gave a great session on Publisher in E-Business Suite, PeopleSoft, Siebel, JD Edwards EnterpriseOne, and JD Edwards World.

Siva gave a great demonstration of using the BI Publisher Template Builder. He also told the story of how it used to take a business analyst, an IT developer, and a consultant from the vendor of their 3rd party tool THREE MONTHS to create a new PO or modify an existing one (like changing the signature) - and this was happening across 50 operating units. Now, using BI Publisher, it takes a business analyst only THREE DAYS to create a new PO or implement changes and does not require the intervention of IT nor anyone else. Imagine ... 30 times faster implementation time with 1/3 the people to create or edit a Purchase Order ... Priceless.

Noelle, the superwoman of many hats, covered each Application's integration with Publisher and an update of what's new and planned for each. The audience was hanging on her every word when they weren't laughing at her jokes.

There was a little less traffic at the demo pod today ... possibly due the storm but, Fethiye, Leslie, Noelle, Alin, Klaus, Nikos and Pradeep kept the demos going all day long. And of course, Osama-bey, the inspiration behind the innovation, was there to pitch in as needed.

Also saw a presentation packed with lots of great details on using Publisher in PeopleSoft by Millie Babicz and Todd Kummer of SpearMC Consulting.

Coming up on Wednesday::



  • S308767 Innovations Using Oracle XML Publisher
    Manoj Chitre, Claremont Graduate University
    Moscone West L3 Room 3005
    1:45 pm - 2:15 pm

  • S310889 Creating Custom Siebel Reports, Using Oracle Business Intelligence Publisher
    John Bedford, Oracle; Pradeep Sharma, Oracle
    Moscone West L2 Room 2009
    1:45 pm - 2:15 pm

  • S311667: Modernize JD Edwards EnterpriseOne Reports with Embedded Oracle Business Intelligence Publisher
    Gurbinder Bali, Oracle; Jeff Erickson, Oracle; Michael Zheng, Oracle
    Marriott Hotel Golden Gate A1
    5:00 pm - 6:00 pm


, , , ,

October 12, 2009

Convert Today, Rain Tomorrow

There seemed to be a fair amount of questions today at the demo pod around converting from Actuate/Crystal/Oracle Reports to BI Publisher. Allow me to point out where you can find tools and/or information to make your conversion to BI Publisher a little smoother.

corey_n_ike.jpg
To convert Oracle Reports to BI Publisher, Ike Wiggins demo'd a cool little conversion utility at a session this afternoon. Check out his blog, where you'll find the download, a little tutorial and FAQs.

To convert Crystal Reports to BI Publisher, sorry, no utility here. But, check out the white paper on the OTN. We heard from Corey at Gallup today on how they were able to convert their Crystal reports to BI Publisher.

To convert Actuate Reports to BI Publisher, there's a conversion utility. Just do a search on My Oracle Support for patch # 8288024.

And now for what's coming tomorrow....

Well, if you believe the forecast, I suggest a raincoat, umbrella, galoshes...you know, those awful black rubber boats you had to wear as a kid. I hear we're in for a lot of the wet stuff. Hopefully, the anticipated precipitation doesn't stop people from making it to the session over at the Westin where we'll be talking about how E-Business Suite, JD Edwards, Peoplesoft and Siebel use BI Publisher to produce those pixel perfect reports.

If you're at the Marriott, you might want to check out Paul Rodwick's session on the Oracle BI Roadmap and Strategy. Check out where Oracle BI's headed.

And, yes, there's another one of the JD Edwards hands on labs too.
golf.jpg
If you just want to stay high and dry, come over to Moscone West and play a little golf at the Callaway Experience.

Did I mention, the BI Publisher demo pod is really, really close to the Callaway Golf Experience? No? Well, it is. We're in the back on the right, Pod W-083. Our knowledgeable BI Publisher team will be on hand to show you demos and answer your questions.
demopod_monday.jpg

October 11, 2009

Racing Boats & Egg Chairs

bmw_racing_boat.jpgleslie_eggchair.jpg

For all of you coming into town for Open World this year, fun and cool stuff awaits.

On display just outside of the Yerba Buena Gardens is the Oracle BMW Racing Boat. You can't miss it on your way over to Moscone West, which by the way is where the BI Publisher demopod resides this year. We're in the back, on the right, Pod W-083.

On your way to visit us at the demopod, you might want to partake in the awesome games at the Blackberry Digital Playground. There you'll find the old style arcade video games, like Donkey Kong and Ms. Pacman. In addition to the games, you'll also find some groovy furniture, a la Mork-n-Mindy. Remember the egg chair? Well, they have those! Leslie (THE BIP Documentation guru) and I tried a couple out and believe it or not, they are super comfy! We're trying to figure out how to snag a couple for the BI Publisher pod...

In addition to finding us at the demopod Monday, you'll find...

Product Manager Extraordinaire, Mike Donohue, giving his ever popular Introduction to BI Publisher at 1pm over at the Marriott.

For the BIP Road Map and Features, head on over to the Marriott at 4pm. On tap to be there is the father of BIP himself, Osama Elkady. He'll be joined by the very knowledgable Klaus Fabian and of course, PM Mike.

Want to learn how to convert your Oracle Reports, Crystal and Actuate Reports to BI Publisher? Well, you're in luck....BIP PM Pradeep Sharma along with Ike Wiggins and Cory Keogh (from Gallup) will tell you all about it at 5:30pm at the Marriott.

If you're looking to get your hands on BI Publisher with JD Edwards, there are 4, count em 4, hands on labs this week. I heard these were filling up fast, so you might want to pre-enroll quickly to ensure you get a spot.

Want to see a demo or talk to us about the product? We'd be happy to chat with you down at the demopod. Please stop by and see us!

October 6, 2009

Row Filler

Having a good discussion on the forum regarding fixed row enumeration. Maybe you have a fixed height for a table on some pre-printed stationary. I have documented a way to fix the number of rows on a page a few years back. the twist to the requirement is that if I have 'line' data that will not fit on a single row and needs to wrap then where I might have had room for 10 rows on the paper output, because of the string wrapping I only now have the physical room, on the paper for 6 rows. But my original logic did not allow for this.

I don't have the answer to that piece yet, looking into it. Development, well template meister Hok Min has a doozy of an enhancement for the 11g release. True fixed table height support, you need a 5inch high table filled with as many rows as will or will not fit? Hok Min has the command. But you'll have to wait for 11g. When is that coming? Sometime within the next calendar year is the official line, unofficially, sooner rather than later - see you are still in the dark, gotta cover my a$$.

Back on the fixed row, I got a requirement this week to fill out empty rows in a table if the amount of data was not enough. Its its still fixed rows, you just want to show them. Rather than the solution I showed a few years back I found a new and groovy way to do it. The good ol for...next loop. Where's that documented then? Its in there, just tucked a away with the shape support.

It showed itself recently in my 'date' post and I have used it again this week.

fornext.jpg

Normal table to render the 'line' data, the next two fields. The variable field, numRows Variable:

<?variable:numRows;number(12)?>

just stores a value for the number of rows you want to show. You can hard code this value too, if you would like. The next field:

<?for-each:xdoxslt:foreach_number($_XDOCTX, 1,numRows-count(.//G_TEC_ID1),1)?>

All this is doing is using a command to effectively give me a for...next loop, starting at 1 up to 12(variable value) - the number of rows in the G_TEC_ID1 group with a step of 1

Then I have an empty nested table with zero cell borders to get it to butt up to the edges of the parent table and some selective borders showing.

The next field closes out the filler - <?end for-each?>

Much faster to develop than the original, neater too. Will be looking into the wrapping rows issue over the next few daze as time permits.

September 28, 2009

New BIP World Record

guinness.jpgI have seen some big reports in my time. There was the monster German Asset Summary report that I narrowly escaped having to maintain not long after I joined Oracle UK more than 11 years ago now. I say 'was', it got canned because it was bending Oracle Reports to do things it just did not want to do.

Alok beats all known contenders into a cocked hat, with his 'Annual Cotton Report', it contains, ready for this? 200 data templates, not just queries, data templates! It tips the scales at a meaty 3 Mb!

He was understandably having problems getting the report to load into the report builder. Hide from the development team to the rescue with a little javascript goodness. If you have a monster report and its not loading here's the tip.

You need to update XDOReportModel.TIMEOUTMSEC value in the javascript library XDOReportModel.js

You'll find it J2EE_HOME/applications/xmlpserver/xmlpserver/js/XDOReportModel.js

I got Alok's report to load by setting it thus:

XDOReportModel.TIMEOUTMSEC = 10000;

You will need to clear your browser cache to get the change picked up.

Please note, you are customizing at this point and Oracle Support, as fantastic as they are, can not help you if you screw up. Please back up the js library before you make any changes. Yep, it ought to be exposed as a parameter for the report builder but its not right now. I dont think the team ever imagined a 200 data template report.

A value of 10000 gives a 10 second time out but the report loads in about 7 seconds on my laptop.

If you have anything to challenge Alok's colossal cotton report or even a mini monster. Would love to hear about them. Not just in terms of queries but also in terms of size.

Guinness are currently ratifying Alok's mondo record report. I think I would need a pint or three of the black stuff after putting that together!

,

About

home.jpg

An almost daily dose of Publisher. Covering all the flavors, from EBS to Enterprise. Tips, tricks, walkthroughs and 'how-tos' from building templates to using web services. Everything you need to know about Publisher, coming at you from 7000 ft, in the foothills of the Rockies, Colorado

Recent Comments

Publisher Blogs

Powered by
Movable Type and Oracle