Scheduling BO deski reports with prompts
Hi All,
I am pretty new to this site and Business Objects also... can anyone help me plzzz...
Below is my requirement..
Environment: Business Objects XI 3.1, Oracle Database, Deski reports.
In my deski report I have column called Product ID..This column has many list of values (for example 500 lov's) and this varies every month, may increase or decrease.
I have to schedule this report(like for a period of one year and should run every month-end) and it should generate all separate .xls reports for all the ID lov's , i,e it should generate like all 500 reports at a time and send it to a file system(Destination).
And these IDu2019s are not users in BO and there are no Profiles created in BO.
Can anyone tell me how can we do this.
Hello,
This is a very common requirement but unfortunately it's not an "out of the box" functionality.
If you know Java script you should investigate "Publication Extensions", this will allow you to add post publication rules.
Have a look at Page 33 in the publishing guide:
[http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_publisher_en.pdf]
Publication Extensions:
A publication extension is a dynamically loaded library of code that applies
business logic to publications. Publication extensions are useful for situations
where you require additional automated customization of publications after
processing or delivery.
For example, use publication extensions to perform the following tasks after
processing:
u2022 Merge documents of the same type (for example, merging multiple Excel
spreadsheets into a single Excel workbook).
u2022 Add password protection to or encrypt a document.
u2022 Convert a document to a different format.
u2022 Create custom log files for the publication job.
Regards
Rim
Edited by: Rim Geurts on Aug 13, 2010 11:20 AM
Edited by: Rim Geurts on Aug 13, 2010 11:22 AM
Similar Messages
-
Issue in Infoview while refreshing DeskI report with prompts
Hi all,
When I tried to refresh a WebI report whose Data Source is Universe, which is having some prompts, the prompt window was displaying the prompt values that were used to run the report earlier. Similarly when I tried to refresh a few DeskI reports whose Data Sources are free hand sql/ Universe -> Customized SQL which were also having prompts, the prompt window is not showing me prompt values (especially prompts with texts) that were used to run the report earlier.
Now my issue is how to display the prompt values that were used in the prompts earlier while refreshing for DeskI (Data Source: Free hand SQl/Universe -> Customized SQL) Reports
Any help is highly aprreciated.
Thanks & Regards,
Suresh.Hi Suresh,
Noticed you still have no answer.
For Deski prompts, only the last value selected is 'remembered', same for freehand as for a universe query.
It does get 'erased' however when you purge the data or when you select a 'wrong' value resulting in no data.
This is the basic difference, webi will remember even though you purged
(you can specifically purge those to if you want to), so not the freehand sql.
It is possible however to use the @prompt() syntax and pre-build the possible list of values if the list is not too big.
Hope this helps,
Marianne -
Scheduling Deski rep with prompts issue
Hi, I'm trying to schedule Desktop Intelligence report with VB.NET. Although scheduling works fine I am not able to see resultset .
if i click referesh data then it is working fine
But Webi report I am able to schedule sucessfully and data is getting refereshed automatically.
Deski report is not getting refereshed.
Following is the code for webi report
sQuery = "Select * From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.Webi' AND SI_Name='" & ReportName & "' AND SI_ID=" & CInt(Rid) & " AND SI_INSTANCE=0"
myWebiObjs = boInfoStore.Query(sQuery)
myWebiObj = myWebiObjs.Item(1)
WebiPlugin = New BusinessObjects.Enterprise.Desktop.Webi(myWebiObj.PluginInterface)
Dim webi_ps1 As BusinessObjects.Enterprise.Desktop.WebiPrompts
Dim webi_p1 As BusinessObjects.Enterprise.Desktop.WebiPrompt
Dim p As Boolean
p = WebiPlugin.HasPrompts
If p = True Then
Dim iMinuteNumber
iMinuteNumber = 1
Dim iLogonNumber
iLogonNumber = -1
Dim strToken As String
strToken = boEnterpriseSession.LogonTokenMgr.CreateWCAToken("", iMinuteNumber, iLogonNumber)
' Create the report engine object
Dim webiReportEngines As ReportEngines
webiReportEngines = New ReportEngines(strToken)
Dim webiReportEngine As IReportEngine
Dim webiDoc As IDocumentInstance
webiReportEngine = webiReportEngines.getService(ReportEngineType.WI_ReportEngine)
' Open the webi report using the report engine
webiDoc = webiReportEngine.OpenDocument(myWebiObj.ID)
webiDoc.Refresh()
' Create the SI_WEBI_PROMPTS property bag
ReportParameterUtility.PopulateWebiPrompts(webiDoc.GetPrompts(), WebiPlugin)
' Get the prompts object
webi_ps1 = WebiPlugin.Prompts
For promptcount As Integer = 1 To webi_ps1.Count
webi_p1 = WebiPlugin.Prompts.Item(promptcount)
webi_p1.Values.Clear()
webi_p1.Values.Add(PromptValue(promptcount - 1))
Next
'Schedule to pdf
WebiPlugin.WebiFormatOptions.Format = BusinessObjects.Enterprise.Desktop.CeWebiFormat.ceWebiFormatWebi
'Set up scheduling information
webiSchedulingInfo = WebiPlugin.SchedulingInfo
webiSchedulingInfo.RightNow = True
webiSchedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce
'schedule(report)
boInfoStore.Schedule(myWebiObjs)
End If
Following is the code for Deski report
sQuery = "Select * From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.FullClient' AND SI_Name='" & ReportName & "' AND SI_ID=" & CInt(Rid) & " AND SI_INSTANCE=0"
myDeskiObjs = boInfoStore.Query(sQuery)
'Turn the infoobject into a webi document object
myDeskiObj = myDeskiObjs.Item(1)
DeskiPlugin = New BusinessObjects.Enterprise.Desktop.FullClient(myDeskiObj.PluginInterface)
DeskiPlugin.RefreshOnOpen = False
'Set up prompting
Dim Deski_ps As BusinessObjects.Enterprise.Desktop.FullClientPrompts
Dim Deski_p As BusinessObjects.Enterprise.Desktop.FullClientPrompt
'Check that there are indeed prompts to fill
Dim p As Boolean
p = DeskiPlugin.HasPrompts
'Set the prompt
If p = True Then
'Get the webi prompt object from the webi report engine so that we can update the prompts.
'Create a token to use to create the report engine
Dim iMinuteNumber
iMinuteNumber = 1
Dim iLogonNumber
iLogonNumber = -1
Dim strToken As String
strToken = boEnterpriseSession.LogonTokenMgr.CreateWCAToken("", iMinuteNumber, iLogonNumber)
' Create the report engine object
Dim DeskiReportEngines As ReportEngines
DeskiReportEngines = New ReportEngines(strToken)
Dim DeskiReportEngine As IReportEngine
Dim DeskiDoc As IDocumentInstance
DeskiReportEngine = DeskiReportEngines.getService(ReportEngineType.FC_ReportEngine)
'Open the webi report using the report engine
DeskiDoc = DeskiReportEngine.OpenDocument(myDeskiObj.ID)
DeskiDoc.Refresh()
Deski_ps = DeskiPlugin.FullClientPrompts
For promptcount As Integer = 1 To Deski_ps.Count
Deski_p = DeskiPlugin.FullClientPrompts.Item(promptcount)
Deski_p.Values.Clear()
Deski_p.Values.Add(PromptValue(promptcount - 1))
Next
DeskiPlugin.FullClientFormatOptions.Format = BusinessObjects.Enterprise.Desktop.CeFullClientFormat.ceFullClientFormatFullClient
DeskiSchedulingInfo = DeskiPlugin.SchedulingInfo
DeskiSchedulingInfo.RightNow = True
DeskiSchedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce
boInfoStore.Schedule(myDeskiObjs)
End If
For Webi report I am using one command "populatewebiprompts" to populate webi prompts.
the same way I need to find the way for populatedeskiprompts.I am not able find out.
if any one knows please help me.This was deprecated a long, long time ago. Like in BI Platform 4.0
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter -
Publication for Deski report with multiple data providers
Hi,
Has anyone been able to get a publication working that uses a Deski report with multiple data providers as the source? I'm trying to get a publication working that uses dynamic recipients and personalization. When I try to schedule the publication, I get the error "Object not found".
Thanks,
DebbieDebbie,
That's standard.
It's useful for emulating outer joins in reports.
Say you've got a sales report where you want to display all 12 months of the year in a crosstab whatever month you run in.
We're only in May at the moment though. With one data provider (SALES), you'll get a crosstab with just up to May for your months.
If you create a separate data provider called MONTHS to return the months in the current year, you will then have a merged dimension of YearMonth in both.
In your crosstab if you just use YearMonth you'll get just the five months. If you qualify it with its data provider name (in our case MONTHS), you'll see the full twelve months shown.
I hope that clears it up for your.
Regards,
Mark -
ReportViewerBean refreshReport behavior running report with prompt
I've been blocked trying to test this behavior: whether or not the automatic refresh (on a timer) of a report with prompt will bring up the Refresh Report Data" window, asking about current or new prompt values, requiring manual intervention on each refresh. So, I take it to the community! When a report with prompt running from the server or within the client is manually refreshed, the Refresh Report Data window comes up and must be "answered" before the actual refresh occurs. We need to have 15 second automatic refresh of the report with prompts.
Does the ReportViewerBean::refreshReport() behave in the same way (bringing up the Refresh Report Data window and blocking data refresh), or does it simply result in refreshing the query data in the report?
Thanks!Hi,
What you have to do is to purge the data for your deski reports then refresh them and republish them and then proceed.
The other thing which may cause this is your variables.
Are you using some variables, like date, year etc?
If yes then recheck them. Sometimes these variable gets corrupted.
Regards,
Bashir Awan -
Crystal report with prompts takes very long time to open in infoview BOXI3.
Crystal report with prompts takes very long time to open in infoview BOXI3.1?
Is there any way to increase the performance.Ramsudhakar,
There are several items that could cause these slow down problems. Without knowing more about the way your environment is setup, I could cause more problems, by giving out performance tips. You would need to be more specific in your post.
What we know. BOXI3.1
What we don't know.
O/S
App. Server
Hardware Spec's
ETC.
I see that this post has been out here for some time. So if this is still a problem for you I'll try and help, if you provide more information.
Thanks
Bill -
Reports with prompting stop working when moved from Crystal10 to crystal 11
Issue:
We are having trouble with Crystal Reports XI. It appears that the Crystal 10 runtime included the ability to process reports that used prompting. If we run the same report with the Crystal XI runtime, it fails.
I can send a sample of the report.
Error Dialog:
Title: Internet Explorer Script Error
Error Details:
An error has occurred in the script on this page
Line: 1
Char: 1
Error: invalid character
Code: 0
URL: file: /// C:/Program%20Files/Business%20Objects/3.0/crystalreportsviewers11/prompting/js/promptengine_strings_en.js
Do you want to continue running scripts on this page?
Yes/No
Our Configuration:
We use Merge Modules that install Crystal Reports through the browser via a CAB file that we created. It runs a setup executable
The setup executable project that installs CR XI uses the following Merge Modules:
CrystalReports11_RDC_Reportengine.msm
CrystalReports11_RDC_Runtime.msm
CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of your hot fixes)
Observation:
When the install is finished, the folder structure under u2026. Crystalviewers11/prompting do not have any files like they do if we install the development environment.
Question:
What do we need to do to correct this situation?
*why the reports with*
*prompting stops working when it is moved from a Crystal 10 to Crystal 11*
*environment. I believe that it has something to do with Merge Modules*
*because the files under the prompting folder do not populate with the*
*merge module like they do with the full install of Crystal Reports.*
Please help.
Best Regards,
Peter Freeman
Edited by: Vivek Kumar Sharma on May 19, 2009 3:43 PMWe have JDK 1.6 installed. The License Merge Module is not related to
this issue.
The files under \Program Files\Common Files\Business
Objects\3.0\crystalreportviewers11\prompting are not being installed.
If we copy files, into this folder structure the reports work.
One of the Business Object's Merge Modules should install the files
there rather than just an empty folder structure.
I got was able to figure out how to enter a customer support message.
They said that they could not support us because we were not on CRXIR2
(Crystal Reports 11 Release 2).
I found a download for CRXIR2SP4 (same thing service pack 4).
I installed it the Merge Module names changed to include a "_5"
Was:
CrystalReports11_RDC_Reportengine.msm
CrystalReports11_RDC_Runtime.msm
CrystalReports11_HotFix_Merge.msm (This is contrived by us from one of
your hot fixes)
Now:
CrystalReports11_5_RDC_Reportengine.msm
CrystalReports11_5_RDC_Runtime.msm
CrystalReports11_5_RDC_License.msm (should have been included)
*CrystalReports11_HotFix_Merge.msm (not needed anymore)
I will try to put a installer together with these. If this work there
will be some complexity around uninstalling the old one and installing
the new one. -
Conditional Scheduling of report with Prompt values
Hi All,
My requirement is that I select some values in the dashboard prompt and get the report. Is there any methodlogy to schedule that report with having data in report according to
set prompt values on the fly that is dynamically.
We can a link below the report to schedule it but how can we pass the condition parameters? Please help.Hi Kishore,
Thanks very much for the reply. It answers one part of the question.
I am thinking to put a text property or button below the report and is it possible to attach the report values with current prompt selection and the request is attached to the in delivery content section which means user need not pick up the delivery content only he has to schedule current report only by clicking the link or button? Can I have script for that.
To make it simple If I am the user I would like to see following:
1. I go to dashboard page and select the prompt and get the report result.
2. I have link or button below to schedule.
3. I press the button I go to delivers section.
4. I have current report attached to the delivery content with default selection or current selection.
5. I modify other parameters and schedule.
Please help me. -
Scheduling in Webi Reports with Changing Prompts.
Hi Experts,
I have a Webi report which is on top of 2 BEx queries connected through BICS. The Webi report has more than 4 crore records which makes it difficult to load each time when I refresh. I need to schedule this report so that the user can view the report based on the last instance.
The report has 3 prompts namely Plant, Material and As of Date.
The user uses only Plant and As Of Date. There are only two plants for example A and B. The user needs to run the report for each plant separately for all the days.
Suppose today is 03/07/2013.
The user will run the report with Plant A and As of Date: 03/07/2013 and second time with Plant B and As of Date: 03/07/2013.
Next today is 04/07/2013.
The user will run the report with Plant A and As of Date: 4/07/2013 and second time with Plant B and As of Date: 4/07/2013.
I need your expert opinion in achieving this while scheduling. Hope you understood the scenario and will be helping me out in this.
Thanks in Advance,
AbdulHello experts,
I am very interested in this topic, as I have the exact same requirement as Abdul:
Daily scheduling of Webi reports, based on BEx queries and connected through BICS. Done on BO4.
I followed Aashutosh's link above, and i read something very interesting on page 3:
Current Options Using Standard Functionality
Until BusinessObjects 4.0 is released, it is not possible to use BEx variables (which will be made available by
the BICS connector) or the last load date variable. This makes it impossible to automate the scheduling of
Web Intelligence queries filtered by dynamic dates or time-slices (for example, yesterday, last week) using
standard functionality. "
Is this already functioning on BO4/Bex? Do you have an idea of how to implement it?
Thank you!
Best regards,
Francisco -
Multiple scheduling for same reports (with different prompt)
Hi,
I have to plan the scheduling of 10 reports (refresh and then .pdf generating). But i have to refresh these reports for 15 countries each time (prompt different between each instance).
So it will be 10*15=150 refresh done on the database !! Is it possible to make a 'massive' refresh (for all countries) and only filter by country when generated the input format (.pdf) ?
What is the best practice ?
RegardsHi
then you should definitely take a look at the publications.
[http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bip_publishing_en.pdf]
Regards,
Stratos -
Script to schedule webi report with prompts
Dear experts,
I need to schedule about 300 reports to run on a monthly basis. Those reports have to prompts to be filled: year and month.
How can I schedule it and fill the prompts automatically? I thought of scheduling a script that would run those reports but I'm not able to find a script that fills the prompts.
Can you help me?
Thanks!
InêWhat version of BOE are you on? In any case, you'd need to use the ReportEngine SDK. You might be better off posting this to the appropriate Business Intelligence SDK forum.
-
Ho can I schedule a WEBI report with dynamic parameters???
Hello again!!
Here i am with another detail about scheduling, the thing this time is that ia need to schedule a report with one parameter every week but with a different value for the parameter every week.
This is i need this week to run the report SALES BY STORE filtered by week with this value 2011 - 45 (yyyy - num ofweek) but the next week the value for the same parameter must be 2011 - 46
is it possible??? i mean is possible to schedule a report with different value for the parameter each time that it runs???
I know that i can schedule a report with different values for a parameter to send it to severals users whith different data but the values for the parameter are the same every time that it runs and i dont need that.
Any help or clue will be very appreciatedHi Elio,
Do you have access to modify your universe?
Then you should try Dave Rathbun's idea. Here is the link:
http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
Note that you'll have to adapt it to what you need, in this case to the week number.
For example if you are using Sybase syntax you'd get 2011 - 46 with:
convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate()))
So you'll new object in Universe would look like :
your_table.week = case when @prompt('Enter week','C',,mono,free) = 'This week' then convert(varchar, year(getdate()))+' - '+convert(varchar, datepart(wk,getdate())) else @prompt('Enter week','C',,mono,free) end
Adapt it to the syntax of the database you use. Then after creating this object in your universe you'll have to go back to your report and Edit the query and use this object in the filter area instead of a normal prompt.
When you have to schedule the report leave the prompt with the parameter 'This week'
Hope this helps
Regards
Erika
Edited by: PadawanGirl on Nov 8, 2011 3:35 PM -
Scheduling a webi report with no access to univ. connection
Hi,
I have a user in BO enterprise, who has access to a report, but no access to the universe & universe connection.
So ideally, the expected behavior is that, when the user schedules the report, the schedule should fail.
When I do a schedule, by clicking on the prompts, and modify, it throws me an error that the Universe and universe connection are not accessible.
But when I schedule the report, with all default settings (without modifying the prompt values), it schedules, and shows a Success status. (Though the report shows blank data)
Has anyone observed this before? Any info on this would be helpful.
Thanks.Hi,
The use-case is:
- An administrator creates a new user (by default belongs to Everyone group) and provides access to a particular report including the scheduling privileges
- The Everyone group does not have access for the Universe or the Connection
- When this user runs the report (View on Demand) and refreshes the data (via the Refresh Data button), the error is thrown stating that the universe is not found/not accessible.
- When scheduling the same report, we see different behaviors (one of the prompt option happens to be a List of Values:
- Changing the prompt values - Clicking the modify button on the parameters page and trying to select a value for the LoV prompt throws me the Universe not found/accessible error (which is correct as the concerned user does not have access to the universe or the connection)
- With default prompt values (i.e. not changing any of the prompt values in the parameters page) - This shows that the schedule was successful and when i open the instance, it shows me blank report - The question here is, why would the schedule succeed when the user does not have the access to the universe/connection?
Thanks -
Chandra -
Link to a crystal report with prompt from xcelsius dashboard
Hi
How can we make a link to a crystal reports with a country promt?
If I named the prompt ContryParam in Crystal.
And I want to open this crystal report by sending f.eks UK as countryname to this report.
What will the link be seeing as in xcelsius?
How will the connection be made from xcelsius to this spesific crystal report`?
BR
SadafHey Sadaf,
This example uses prompt# to pass "CA" as a value to the first parameter:
http://<servername>:<port>/CrystalRe
ports/viewrpt.cwr?id=1152&prompt0=CA
search for follwing document title for further reading
Viewing Reports and Documents using URLs -
Report with Prompt on Home Page
I have created a report with column prompt. I have also included this report in 'My Home Page custom report'. But when i access 'My Home Page' i dont see the Prompt, i only see the report with all columns & data. Have i skipped some step to include prompt on home page ? Thx for help
Hi,
When we display a report on the homepage, the Prompt is not shown instead a link will shown in place of the report stating 'Click here to Generated Analysis'.
Even though you have the prompt on the report it will not show on the homepage, as homepage reports are usually detailed report.
You can add filter instead of using a prompt on the report.
Hope this helps.
Thanks
Maybe you are looking for
-
What's the best client isql tool on windows?
Not sure what's the best UI tool for isql on windows XP? I have ASE 12.5.4 on Linux. Sybase Central v6.0 and Interactive SQL on Windows XP Sybase Central has many errors when I try it connect to Server. Interactive SQL is not convenience to use and
-
How to open a Trade Promotion from an ABAP report/program?
Hello SDN Community, i try to open a spezific Trade Promotion to read an addional customized time_period field in a a badi. I have the promotion guid and i played around with mkt_element_read but the additional time fields are not included/transfered
-
Hi! All JDeveloper's Support Group. Normally I used Javascript and HTML to create my webpage. But recently, I found that XML is very much better. Can the code in my present Javascript and HTML be enhanced but with the mixture of XML? Will the output
-
My 20" ACD has problems with remembering settings
I just got an Apple Cinema Display for Christmas and everything was working fine until about the third week. When ever I set my settings in the System Preferences they change as soon as I close the window. I can go to the "Options" tab in the Display
-
How to import bubble captions for FCE?
I see there are plug-ins available for FCP, but I don't see anything for FCX. Any suggestions?