Scheduled report is not triggered by another report on which it depends
Hi folks,
I intend to trigger a group of reports by running a dummy-report (it does not more than executing the function currentDate() and displaying the result in a text field) manually (using InfoView) and use the success of this report as the trigger event for each report of the mentioned report group.
I tried to start off with only one report to be triggered. This report is scheduled to write an Excel-Sheet to the Default Enterprise Location with a scheduling interval of 5 minutes. The report runs fine within the specified intervals without having specified the dummy-report as a prerequisite event for the actual data report.
As soon as I define the dummy-report as a triggering event for the data report, the data report is not executed regularly any more, i.e., the first instance appears and remains as "Recurring" in the history list and nothing more happens.
I first schedule the data report as indicated and then fire up the dummy-report using "Now" from the drop-down list. Interestingly, I have to press the "Refresh Workspace Panel"-Button, before the status of the dummy-report changes from "Running" to "Success", although the report does not a lot. But, as mentioned, the data report is not triggered.
What am I might doing wrong?
Cheers
Bobbyy
Hi
When the first time you are placing the excels sheet, the dependent report runs successfully.
For it to trigger next time the excel sheet should be deleted from that location. Only the occurence of the excel sheet will trigger the second report, so this should be deleted.
Gangadhar
Similar Messages
-
End of Page event not triggering in ALV report
Hello,
I am developing an ALV report using REUSE_ALV_LIST_DISPLAY. Whatever I write in top_of_page, it will be displayed in the header portion of the output.
But I want to display some footer text at the end of the page. The problem I am facing is, the WRITE statements within end_of_page are not displayed when the report is run.
I have populated the i_events as follows :
FORM f_events CHANGING p_i_events TYPE slis_t_event.
CONSTANTS : l_c_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE',
l_c_end_of_page TYPE slis_formname VALUE 'END_OF_PAGE'.
DATA : l_wa_event TYPE slis_alv_event.
Returns table of possible events
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = p_i_events.
To append internal table holding event names with event 'TOP OF PAGE'
READ TABLE p_i_events INTO l_wa_event
WITH KEY name = slis_ev_top_of_page.
IF sy-subrc = 0.
MOVE l_c_top_of_page TO l_wa_event-form.
APPEND l_wa_event TO p_i_events.
ENDIF.
To append internal table holding event names with event 'END OF PAGE'
READ TABLE p_i_events INTO l_wa_event
WITH KEY name = slis_ev_end_of_page.
IF sy-subrc = 0.
MOVE l_c_end_of_page TO l_wa_event-form.
APPEND l_wa_event TO p_i_events.
ENDIF.
ENDFORM. "f_events
Regds
RajeshHi have a look at the following code, and change ur code for end of page accordingly. this will resolve ur problem.
This is a basic ALV with the followings:-
- Page Heading
- Page No
- Sub-Total
- Grand Total
REPORT ZALV.
TYPE-POOLS: SLIS.
DATA: G_REPID LIKE SY-REPID,
GS_PRINT TYPE SLIS_PRINT_ALV,
GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
GT_EVENTS TYPE SLIS_T_EVENT,
GT_SORT TYPE SLIS_T_SORTINFO_ALV,
GS_LAYOUT TYPE SLIS_LAYOUT_ALV,
GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
FIELDCAT_LN LIKE LINE OF GT_FIELDCAT,
COL_POS TYPE I.
DATA: BEGIN OF ITAB,
FIELD1(5) TYPE C,
FIELD2(5) TYPE C,
FIELD3(5) TYPE P DECIMALS 2,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: BEGIN OF ITAB_FIELDCAT OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB_FIELDCAT.
Print Parameters
PARAMETERS:
P_PRINT AS CHECKBOX DEFAULT ' ', "PRINT IMMEDIATE
P_NOSINF AS CHECKBOX DEFAULT 'X', "NO SELECTION INFO
P_NOCOVE AS CHECKBOX DEFAULT ' ', "NO COVER PAGE
P_NONEWP AS CHECKBOX DEFAULT ' ', "NO NEW PAGE
P_NOLINF AS CHECKBOX DEFAULT 'X', "NO PRINT LIST INFO
P_RESERV TYPE I. "NO OF FOOTER LINE
INITIALIZATION.
G_REPID = SY-REPID.
PERFORM PRINT_BUILD USING GS_PRINT. "Print PARAMETERS
START-OF-SELECTION.
TEST DATA
MOVE 'TEST1' TO ITAB1-FIELD1.
MOVE 'TEST1' TO ITAB1-FIELD2.
MOVE '10.00' TO ITAB1-FIELD3.
APPEND ITAB1.
MOVE 'TEST2' TO ITAB1-FIELD1.
MOVE 'TEST2' TO ITAB1-FIELD2.
MOVE '20.00' TO ITAB1-FIELD3.
APPEND ITAB1.
DO 50 TIMES.
APPEND ITAB1.
ENDDO.
END-OF-SELECTION.
PERFORM BUILD.
PERFORM EVENTTAB_BUILD CHANGING GT_EVENTS.
PERFORM COMMENT_BUILD CHANGING GT_LIST_TOP_OF_PAGE.
PERFORM CALL_ALV.
FORM BUILD.
DATA FIELD CATALOG
Explain Field Description to ALV
DATA: FIELDCAT_IN TYPE SLIS_FIELDCAT_ALV.
CLEAR FIELDCAT_IN.
FIELDCAT_LN-FIELDNAME = 'FIELD1'.
FIELDCAT_LN-TABNAME = 'ITAB1'.
*FIELDCAT_LN-NO_OUT = 'X'. "FIELD NOT DISPLAY, CHOOSE FROM LAYOUT
FIELDCAT_LN-KEY = ' '. "SUBTOTAL KEY
FIELDCAT_LN-NO_OUT = ' '.
FIELDCAT_LN-SELTEXT_L = 'HEAD1'.
APPEND FIELDCAT_LN TO GT_FIELDCAT.
CLEAR FIELDCAT_IN.
FIELDCAT_LN-FIELDNAME = 'FIELD2'.
FIELDCAT_LN-TABNAME = 'ITAB1'.
FIELDCAT_LN-NO_OUT = 'X'.
FIELDCAT_LN-SELTEXT_L = 'HEAD2'.
APPEND FIELDCAT_LN TO GT_FIELDCAT.
CLEAR FIELDCAT_IN.
FIELDCAT_LN-FIELDNAME = 'FIELD3'.
FIELDCAT_LN-TABNAME = 'ITAB1'.
FIELDCAT_LN-REF_FIELDNAME = 'MENGE'. "<- REF FIELD IN THE DICTIONNARY
FIELDCAT_LN-REF_TABNAME = 'MSEG'. "<- REF TABLE IN THE DICTIONNARY
FIELDCAT_LN-NO_OUT = ' '.
FIELDCAT_LN-DO_SUM = 'X'. "SUM UPON DISPLAY
APPEND FIELDCAT_LN TO GT_FIELDCAT.
DATA SORTING AND SUBTOTAL
DATA: GS_SORT TYPE SLIS_SORTINFO_ALV.
CLEAR GS_SORT.
GS_SORT-FIELDNAME = 'FIELD1'.
GS_SORT-SPOS = 1.
GS_SORT-UP = 'X'.
GS_SORT-SUBTOT = 'X'.
APPEND GS_SORT TO GT_SORT.
CLEAR GS_SORT.
GS_SORT-FIELDNAME = 'FIELD2'.
GS_SORT-SPOS = 2.
GS_SORT-UP = 'X'.
*GS_SORT-SUBTOT = 'X'.
APPEND GS_SORT TO GT_SORT.
ENDFORM.
FORM CALL_ALV.
ABAP List Viewer
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = G_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME = 'ITAB1'
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = GT_SORT[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = GT_EVENTS[]
IT_EVENT_EXIT =
IS_PRINT = GS_PRINT
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = ITAB1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
ENDFORM.
HEADER FORM
FORM EVENTTAB_BUILD CHANGING LT_EVENTS TYPE SLIS_T_EVENT.
CONSTANTS:
GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
*GC_FORMNAME_END_OF_PAGE TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE'.
DATA: LS_EVENT TYPE SLIS_ALV_EVENT.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = LT_EVENTS.
READ TABLE LT_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO LT_EVENTS.
ENDIF.
define END_OF_PAGE event
READ TABLE LT_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
INTO LS_EVENT.
IF SY-SUBRC = 0.
MOVE GC_FORMNAME_END_OF_PAGE TO LS_EVENT-FORM.
APPEND LS_EVENT TO LT_EVENTS.
ENDIF.
ENDFORM.
FORM COMMENT_BUILD CHANGING GT_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
DATA: GS_LINE TYPE SLIS_LISTHEADER.
CLEAR GS_LINE.
GS_LINE-TYP = 'H'.
GS_LINE-INFO = 'HEADER 1'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
CLEAR GS_LINE.
GS_LINE-TYP = 'S'.
GS_LINE-KEY = 'STATUS 1'.
GS_LINE-INFO = 'INFO 1'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
GS_LINE-KEY = 'STATUS 2'.
GS_LINE-INFO = 'INFO 2'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
CLEAR GS_LINE.
GS_LINE-TYP = 'A'.
GS_LINE-INFO = 'ACTION'.
APPEND GS_LINE TO GT_TOP_OF_PAGE.
ENDFORM.
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
WRITE: SY-DATUM, 'Page No', SY-PAGNO LEFT-JUSTIFIED.
ENDFORM.
FORM END_OF_PAGE.
WRITE at (sy-linsz) sy-pagno CENTERED.
ENDFORM.
PRINT SETTINGS
FORM PRINT_BUILD USING LS_PRINT TYPE SLIS_PRINT_ALV.
LS_PRINT-PRINT = P_PRINT. "PRINT IMMEDIATE
LS_PRINT-NO_PRINT_SELINFOS = P_NOSINF. "NO SELECTION INFO
LS_PRINT-NO_COVERPAGE = P_NOCOVE. "NO COVER PAGE
LS_PRINT-NO_NEW_PAGE = P_NONEWP.
LS_PRINT-NO_PRINT_LISTINFOS = P_NOLINF. "NO PRINT LIST INFO
LS_PRINT-RESERVE_LINES = P_RESERV.
ENDFORM.
*END OF ZALV PROGRAM
Satish -
File Screening Audit Report does not contain any data : report statistics is empty
Hi ,
I have enabled File screen audit and Record file screening activity in auditing database options in file server 2008.
I am getting details of file screen audit in Event log , But incident report file screen audit report does not contain any value.
Getting report for each incident of file screen audit , But it does not contain any data in report statistics.
Data available in scheduled report of file screen audit.. not available in incident report only..
Please assist...
Thanks,
Vasanth.M
Thanks, Vasanth.M.Please note that, If the Record file screening activity in the auditing database check box is cleared, the File Screening Audit Reports will not contain any information. To configure file screen audit, I would refer you on this informative
technet library :
https://technet.microsoft.com/en-us/library/cc754540.aspx
Carlo -
Drill-down Report, Form not completely showed in Report
Hiya!!
I'm working with Drill-down Report. Im creating a kind of P&L report but it has a lot of lines because I need to create one P&L report for every Region (Profit Center Group), and I need it in a fixed form.
The problem I have is that my Form has approximately 1080 lines but when I execute the Report (Tx FXI0), the Report just show 1020 lines and I don't have any error message. The output type I have choosen is graphical Report output "106 Navigation control, detail list" by now, but I already tried with all the possiblilities there are (Tx FXI2).
Does anybody knows If there is any limit for the output? If not, does anybody know where do I have the problem?
Thanks in advance.
Regards.
Adela CambiassoYou can use the drill down strategy, well described by my friend Kan:
http://bipconsulting.blogspot.com/2010/02/drill-down-to-detail-or-another-report.html
regards
Jorge
p.s If this answers your question then please grant the points and close the thread -
SSRS reports are not fitting properly in Report Viewer Control
Hi All,
We are using Report Viewer Control to render SSRS reports & show it on SharePoint web page. In .aspx page we are putting Report Viewer Control as follows:
The zoom percent of Report we are getting from Report Server is 100%. We are making it as 50% to show it on our page. On one page, we are showing 2 reports.
<rsweb:ReportViewer ID="rpv2Chart1" runat="server" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" Height="211px" Width="813px" ZoomPercent="50"></rsweb:ReportViewer >
The reports are coming. But the reports which we are getting inside the control are not readable & 25% of Report Viewer Control on our right hand side is blank.
As you can see it's not readable. For readability we want to use that white space also & want to utilize full controls's space. But if we try to increase percentage from our report viewer tag, then the graph is zooming in with both, height & width
so it's going out of control.
Client don't want scroll bars on Report Viewer control. We just want to utilize the entire Report Viewer Control space.
Can anyone suggest us how to do that?
Thanks,
SanjayHi Sanjay,
I'm afraid that it is not the correct forum for this issue.
If it is the SSRS issue, you could post this issue here:
http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
If it is the VS report control issue, maybe you would get better response here:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Report Definition not found - calling a report from JDev.
Hello,
I have the following on my local machine:
BI Publisher
Jdeveloper
I created a report in BI publisher called Test1, and now I am creating a web service in jdeveloper to call it.
I am having issues with calling it from my jdeveloper.
here is the code I am using to call my report (below).
Since BI publisher is installed on my local machine I tried both paths but neither are working
1- final String reportAbsolutePath = "C:\\Test1.xdo";
2 - "http://aramamni-us.us.oracle.com:9704/xmlpserver/~administrator/Learn/Test1/Test1.xdo"
I am sure 2 will not work since System.out.println("calling " + myPort.getEndpoint()); returns
"calling http://localhost:9704/xmlpserver/services/PublicReportService"
I know the problem is with this line of code but I can't figure it out.
repResponse = myPort.runReport(repRequest,username,password);
public static void main(String[] args) {
try {
bip_webservice.proxy.PublicReportServiceClient myPort = new bip_webservice.proxy.PublicReportServiceClient();
System.out.println("calling " + myPort.getEndpoint());
// Add your own code here
final String username = "Administrator";
final String password = "Oracle123";
//final String reportAbsolutePath = "/Web Service Test/HR Manager/Employee Salary Report.xdo";
final String reportAbsolutePath = "C:\\Test1.xdo";
// Testing runReport
System.out.println("Testing runReport Service");
ReportRequest repRequest = new ReportRequest();
repRequest.setReportAbsolutePath(reportAbsolutePath);
repRequest.setAttributeTemplate("default");
repRequest.setAttributeFormat("pdf");
repRequest.setAttributeLocale("en-US");
repRequest.setSizeOfDataChunkDownload(-1);
System.out.println("1111111111111");
ParamNameValue[] paramNameValue = new ParamNameValue[1];
paramNameValue[0] = new ParamNameValue();
paramNameValue[0].setName("EMP");
System.out.println("2222222222");
paramNameValue[0].setValues(new String[] {"20"});
//paramNameValue[1] = new ParamNameValue();
//paramNameValue[1].setName("p_job");
//paramNameValue[1].setValues(new String[] {"CLERK"});
repRequest.setParameterNameValues(paramNameValue);
System.out.println("3333333333333");
ReportResponse repResponse = new ReportResponse();
System.out.println("4444444444");
System.out.println(username);
System.out.println(password);
System.out.println(repRequest);
repResponse = myPort.runReport(repRequest,username,password);
System.out.println("55555555");
String contentType = repResponse.getReportContentType();
System.out.println(contentType);
byte[] baReport = repResponse.getReportBytes();
FileOutputStream fio = new FileOutputStream("C:\\temp\\test.pdf");
fio.write(baReport);
fio.close();
} catch (Exception ex) {
ex.printStackTrace();
}Output -> Report Definition not found
calling http://localhost:9704/xmlpserver/services/PublicReportService
Testing runReport Service
1111111111111
2222222222
3333333333333
4444444444
Administrator
Oracle123
bip_webservice.proxy.ReportRequest@8238f4
WARNING: The received SOAP fault contains non standard fault element: "{http://xml.apache.org/axis/}hostname". This element will be ignored.
javax.xml.rpc.soap.SOAPFaultException: oracle.apps.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport Failure: Due to oracle.apps.xdo.servlet.CreateException: Report definition not found:C:\Test1.xdo
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:565)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:400)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at bip_webservice.proxy.runtime.PublicReportServiceSoapBinding_Stub.runReport(PublicReportServiceSoapBinding_Stub.java:3733)
at bip_webservice.proxy.PublicReportServiceClient.runReport(PublicReportServiceClient.java:173)
at bip_webservice.proxy.PublicReportServiceClient.main(PublicReportServiceClient.java:84)
Process exited with exit code 0.Thanks for the help - what can i do to solve this.
Edited by: Rooney on May 25, 2010 2:57 PMI tried to follow the suggestions provided in the earlier post and called the BI report from SOAP UI
but i am getting an error
oracle.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport for reportAbsolutePath [/users/weblogic/Sample/Training.xdo] failed: due to oracle.xdo.servlet.CreateException: Report definition not found:/users/weblogic/Sample/Training.xdo [username=weblogic]
I am not sure what is the issue.
Can you please guide me on the same?
Regards
AR -
Scheduler some times not triggering
Hi,
In my project scheduler has to trigger for every 1 minute and JCD start processing details like calling jar file methods.
But suddenly scheduler not triggering any thing. When I check in emanager its shoing not available. I undeployed the project and deployed again. Then also its not workng.
Please guide me on this.
Thanks,
BollaHmm something strange.
Did you make any changes onto the BP or Schedule configs values after?
Once it start working fine, did you only build the project and not deployed? -
Snapshot Reports randomly (not) triggering Subscription
Hi.
I currently have set up 5 reports that generates a snapshot once a month, additionally I have set on a subscription on each of these.
The problem I am facing is that it seems that the subscription are triggered randomly, one month the subscriber can get 1 report, other months it can get 5 reports (and all in between).
The subscriptions are set up with: "When the report content is refreshed. This option is available only for report snapshots."
And when I view the subscription and snapshot-history of a report that was not send this month (at the time I am writing this), it says:
Snapshot History: 3/1/2015 12:00:10 AM (lastrun)
Subscriber: 2/1/2015 12:00 AM (last run)
IE: Last month this report had no problem, but this month is has... (This have been going on for a year now)
Does anybody have an idea what could be causing this? (This month 4 of 5 reports got sent)Hi Gaute Odin,
Per my understanding that you have configured the Report-special Schedule in the
Snapshot Options to add snapshots to report history and also schedule the subscription set up with: "When the report content is refreshed. This option is available only for report snapshots.", now the issue is that subscription didn't
run as the schedule in the snapshot history, right?
Generally, when you configure the schedule in the "Snapshot Options", it will generate snapshot due to this schedule and you can find the new snapshot information in the "Report History", this setting
have no relationship with the shedule of the subscription.
When you configured the schedule under the "Render this report from a report snapshot" session of the "Processing Options" you will get the subscription to run due to this schedule:
So, please check in the above sceenshot to make sure the schedule is set correcttly.
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
Report Navigation Using Hyperlinks to Another Report (not drill down)
I would like 2 sample reports. The first report would have a hyperlink to the second report. I want to publish these in BusinessObjects Enterprise and see this functionality using the Dhtml viewer preferably using the "my infoview".
Anyone have or know of samples for this?Hi,
Go to report painter, in the report display you can see the output types.
choose output area as Info control, Navagation control, dril down control, detail control.
Choose HTML Templet - SAP Template
choose Classic drilldown, choose basic list drilldown
change all this parameters in the report then you will be getting drilldown fuctionality.
Regards,
Padma -
Drop down boxes ok in Crystal Reports but not ok in Crystal Reports Server
I have the following problem with "dynamic dropdowns"
Initially, I have a Crystal Report (.rpt). It has two dynamic drop downs. They work
in both Crystal Reports Designer (preview) and Crystal Reports Server (right-click-View).
The first drop down is the result of a rather complex sql query. The second drop down
is a child of the first.
I make a small change to the sql "WHERE" clause using the Crystal Reports Designer. It works fine in preview.
I save (Enterprise mode) to Crystal Server. I use Business View Manager to configure
the _DC_n object. (I did notice that the .._DC_n gets incremented by one.)
The _DF object seems to know about the updated sql so I do not have change it.
However, when I go to back to Crystal Reports Server, and right-click-View, the
"dynamic dropdown" is not working properly. I can not make sense
of what has been retrieved.
Please tell me what is most likely to have gone wrong here? The Business View Manager
seemed to knew about the sql change. But Crystal Reports Server has
not responded to the change in the same way as Crystal Reports Designer.
...thank you, StanWhen you publish a report to Crystal Server, the dynamic prompts are no longer handled in the report itself. Instead depending on how they're published, they either go away or they're published to the "repository" and managed through the "Business View Manager" (BVM), which is available as part of the Client Tools install.
To get the dynamic prompt into the repository, you have to check the "Enable Repository Refresh" checkbox at the bottom of the "Save As" screen after you log in to CRS. However, doing it this way is NOT best practice, especially if you're using the query from the report to provide the data for the prompt. If you do this for all of your reports, you get a LOT of bloat in the repository objects and it makes the job of migrating from one version of CRS to another MUCH more difficult!
What I've done in the past to get a simple "sample" prompt published is create a report that just contains the data that I want to have in the dynamic parameter using a single table - this is usually what I call a "lookup" table that has a "code" field and a "description" or "name" field. I then create a dynamic parameter in that report that just pulls the data from the single table. I'll publish the report to my favorites with the Repository Refresh enabled.
I then run the BVM and look for the following objects (default location is under "Cascading Dynamic Prompts":
<prompt name>_DC - This is the Data Connection for the prompt. Edit this, enter the password, and set it to "Never Prompt" for the password. NOTE: This DC can be reused by multiple prompts. If you continue to add prompts through publishing Crystal Reports with prompts, you will get MANY of these that all point to the same database!
<prompt name>_DF - This is the Data Foundation for the prompts. When you create a new one, you need to select an existing DC and then either one or more tables or write a command to provide the data for your prompt. It works much like the Database Explorer in Crystal. The one that was just saved has all of the information required for the prompt.
<prompt name>_BE - This is the Business Element. When you create one, you have to select and existing DF and one or more fields. You can also create a filter on the data. This is used to generate the SQL that will be run to provide the data for the prompt.
<prompt name>_ BV - This is the Business View. When you create one, you have to select the Business Element. I'm not sure of the exact purpose of this, but you have to have one in order to set up the "List of Values".
<prompt name> - This is the List of Values (LOV). This defines what fields are available for the prompt itself.
You can create folders to organize these objects so that its easier to maintain.
To use a LOV that you've defined in BVM to feed data to new dynamic prompts, do the following:
1. Connect to CRS from Crystal.
2. Create/Edit your prompt.
3. Set the prompt to be dynamic.
4. Under "Choose a Data Source", select "Existing" and select the LOV from the drop-down list.
5. Update the properties in the parameter.
When viewing or scheduling a report, the dynamic prompts will run through the Crystal Reports 2013 Report Application Server in CRS (it will be named differently if you're not on CRS 2013, but will have "Report Application Server" in the name.)
-Dell -
Report using narrative to filter another report
I am trying to build a report that will be embedded in the campaign object. I want the report to display the campaign recipients for the campaign record, using detailed inforamtion from the contact record.
I have built a report that contains the relevant contact data that needs to be displayed.
I have built a second report that will be embedded in the campaign record that has a column displaying the contact id of the campaign recipients. The report will have a filter for campaign id 'is prompted' but for testing I have hard coded a campaign id with a total of 469 campaign recipients.
I have included a narrative in the layout. The report correctly displays, however the prompt does not seem to work. All contacts are included in the report, rather than the 469 contacts limited by the campaign ID filter.
The narrative I have used is
<iframe src=https://secure-ausomxxxx.crmondemand.com/OnDemand/user/analytics/saw.dll?Go&Path=%2fusers%2fanqa-djlqt%2fCampaign+Recipient+-ContactInfo&Options=&Action=Navigate&p0=1&p1=eq&p2=Contact.%22Contact+ID%22&p3=@1 frameborder =0 width="100%"></iframe>
Rows to display is set to 1
Earlier attempts I included a contact id is prompted filter on the report included in the narrative, however that brings back one value only. I can change the rows to display to 5 for example, however it gives me 5 contacts in separate reports rather than a list report.
Any help would be great.Hello Mel,
My understanding is that you are trying to display the contact and their details for the particular campaign. Since these details are not available in the Campaign Subject Area you are using the narrative view.
I would suggest you can use the Contact Subject area to populate the campaign id and campaign name along with the Contact details and embed this report in the Campaign page by prompting the Campaign Id.
Let me know if this works else please explain the requirement once again and I would be able to help you.
Regards,
Paul Swarnapandian -
Report Document not show on Crystal Report Viewer in C#
My program is modified from VB.NET. Now I struck with Crystal Report that Crystal Report Viewer didn't show Report Document.
Printing code is composed of two forms. One assign parameters and objects need. Other is Crystal Report Viewer form, CrystalReportForm. Last one run report by parameter from the first.
When run this code that it didn't found any error but the problem is no report show on Crystal Report Viewer on second form. It just blank Crystal Report Viewer. There arm't any message response.
Here is my code.
// report caller form.
private void Print()
CrystalReportForm rptForm = new CrystalReportForm();
string[] strtbl;
strtbl = new string[1];
string[] strqry;
strqry = new string[1];
// prepare var
string myqry;
string myrpt;
// Pass The Table That you used in the crystal Report
strtbl[0] = "r_receipts";
// Pass the Query
myqry = "SELECT * FROM r_receipts";
myrpt = "rptReceipts.rpt";
strqry[0] = myqry;
//Pass For Mdi True
rptForm.MdiParent = this.ParentForm;
rptForm.ViewReport(myrpt, strtbl, strqry, "");
//Parameter Value It is Optional
rptForm.Show();
// Crytal Report Viewer form.
public void ViewReport(string ReportName , string[] TableName, string[] QueryString , string Parameter = "")
//Me.MdiParent = mainpage;
if (TableName.Length != QueryString.Length )
MessageBox.Show("Passed Variable Are Not Correct", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
return;
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
CrystalDecisions.Windows.Forms.CrystalReportViewer crv = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
crv.ActiveViewIndex = 0;
crv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
crv.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
crv.Dock = System.Windows.Forms.DockStyle.Fill;
crv.Location = new System.Drawing.Point(0, 0);
crv.Name = "CrystalReportViewer";
MySqlDataAdapter at =new MySqlDataAdapter();
DataSet ds = new DataSet();
for (int i = 0; i < TableName.Length; i++)
at = GetDataAdeptor(QueryString[i]);
at.Fill(ds, TableName[i]);
string rptPath = "";
rptPath = Application.StartupPath + "\\" + ReportName;
rpt.Load(rptPath);
rpt.SetDataSource(ds);
if (Parameter != "")
rpt.SetParameterValue(0, Parameter);
crv.ReportSource = rpt;
crv.Refresh();
//CrystalReportViewer.DataBind();
//Me.Panel1.Controls.Add(CrystalReportViewer);
Panel panel1 = new Panel();
panel1.Controls.Add(crv);Hi Bhushan,
It's not yet fixed. My dataset (ds) can't bine to DataGridView as
DataGridView1.DataSource = ds
But it could do like this
DataGridView1.DataSource = ds.Tables[0];
When I bine to Crystal Report Viewer setdatasource
CrystalReportViewer1.setdatasource = ds.Tables[0];
It still not work, anyway you suggest let me in the right way. I very confuse the thing I fix to bine to DataGridView
Thank,
Chaiwat -
How to Use a report as a filter in another report
Hi
We are presently migrating from microstategy to OBIEE. There is a report with 3 attributes and a single metric(the metric is the count of remedy ticket). The 2nd report has just the 3 attributes(the person who doesn't have a ticket for the given time period should be displayed) . There is no way to do this unless i can use the report as a filter. How can i do this?
ThanksI method from the blogspot doesn't seem to work for me......As for the navigate function it just gives the normal values. I'll try to be a little more clear about what i want to achieve. Let's say report one displays all the owners in the system( number name, class), and report 2 displays all the owners with remedy tickets ( number name, class, number of remedy tickets( this will be the fact column)) and the third report should display the owners without any remedy tickets (number name, class) . due to a database quirk there is no column on which to base my third report. so i should substract the values of second report from first... so that i'll get the third report. ( By the way i've tried set function too....but it wodn't allow it since the number of columns should be equal and same)
Thanks for your suggestions guys -
Sub: nbv in dep report is not tally with financial report
Hi Experts,
I am facing a problem that is when I see the balance in S_ALR_87012026 the end book balance is showing 100,642.60 but where as if I run s_alr_87012277 the balance is showing 100,681.23 which means the difference of 38.63 the difference which i found is in april after run the depreciation.
so if anybody face the same problem give me your inputs.
thanks in advance,
kk.Hi,
execute the asset history sheet (RAGITT_ALV01) with the option "posted depreciation". Compare the result of this report with the G/L report.
Regards,
Markus -
Running reports on Oracle 10.1.2 report server
I am running a report from the application and this particular report gets stuck randomly at formatting a certain page.
On the report server I see the job status as...
"Job status: Running the report Formatting page 42. Please wait. "
eventually the report server times out.
Environment is...
Report builder 10.1.2.0.2 (Report is build with this version)
Report application server is 10.1.2.0.2
Databse - Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
We have same problem with couple of reports, but not all.
Another report runs fine (1 page report) sometimes and hangs with the above job status some times.
Has anyone encountered this issue and what is the resolution?
Any help would be greatly appreciated.
KishoreHello,
A right report takes time some seconds. I don´t want a timeout, I just want it to be executed.
The report server show the message:
"Job status: running the report Formatting page N. Please wait"
where N can be 1,2,50,.... any page.
Thanks.
Maybe you are looking for
-
Hi. My ipod touch (3rd gen) will not turn off or resond to anything and will not connect to a computer. the screen will not go into sleep mode and i dont know what to do. help?
-
Aggregate on basis of multiple characteristics
Hi , There is a Key Figure Quantity. I need to aggregate it in Universe on the basis of characteristic A and B, and restrict the rows if the aggregated quantity is less than 15. Is this possible in Universe ? We tried this in Bex with conditions , bu
-
Everything about the IPOD Classic 160 GB Battery
Dear All, Just want to know how the battery is connected and placed inside the ipod classic 160GB model, can it be replaced by a user without using a soldering iron.Is it attached with a adhesive ? Kindly discuss. Thanks
-
Toocan---I have a question for you
Can you please tell me in simple terms what I need to do to add songs from ITUNES to IPOD without losing all the songs on my IPOD. My Itunes library I am slowly building back up, but dont wish to lose my 17,000 songs on my POD. thanks in advance for
-
Hi All, How do i merge or use union on two different table with 2 columns less in the 2nd table like select col1, col2, col3, col4 from table a union select col1, col2 from table b thanks n regards