Disable report creation programatically

I have a customized user interface in C# for Test Stand. From that I need to enable/disable the option for generating report after coompletion of Single Pass/ Test UUT. Is it possible to do so.

Hi,
Looking at changing the DisableReportGeneration boolean in the Report Options.
You could use the PropertyObject.ReadEx method to load the configuration data into memory, change the Disable ReportGeneration to True then call the PropertyObject.Write method to save the changed value. (see attached picture - this I have done in a Sequence by calling the ReadReportOptionsDefaultEx() in modelsupport2.dll and then calling WriteReportOptionsDefaultEx(). I copied the first step from Get Report Options sequence found in the ProcessModel sequence file "SequentialModel.seq")
I believe you want to do this in your UI. Therefore your would need to call the relavant API calls that are performed in the  DLL. Have a look at report.c. I'll let you convert to C#
Hope this helps
Regards
Ray Farmer
Message Edited by Ray Farmer on 08-06-2008 09:26 PM
Regards
Ray Farmer
Attachments:
set to disable.PNG ‏11 KB

Similar Messages

  • Issue in Pricing Report Creation - V/LA

    Dear All,
    I have created a new pricing report in V/LA.
    Details:
    3 condition tables in the pricing configuration.
    1-SO / DC / Customer / Sales district / Material
    2-SO / DC / Customer / Material
    3-SO / DC / Material
    During report creation I select only "Material" field from the field selection screen & proceed with "AND" option.
    From Table selection screen, I select all those 3 condition tables.
    Now at executing of this report (In V/LD), I enter only "Customer" field (say customer 1000) in the selection criteria. (because I want to see all condition records exists for that customer 1000?
    When I execute the report it shows below 3 sections.
    1-SO / DC / Customer / Sales district / Material - All condition records exists for that customer/Sales District combination
    2-SO / DC / Customer / Material - All All condition records exists for that customer
    3-SO / DC / Material - All condition records maintained for Material level.
    But as per my selection criteria, system should show only 1 & 2 sections.
    How can I omit appearing sections 3 in my pricing report. ( Because I want to see condition records relevant to that customer only)
    Highly appreciate all your suggestions !!
    Thanks in advance !
    Edited by: Anupa Wijesinghe on Sep 24, 2009 8:32 AM
    Edited by: Anupa Wijesinghe on Sep 24, 2009 8:33 AM

    Dear Matthew,
    As per suggestion, I have to create 2 reports for the above requirement.
    1- with only Customer tables to see customer level prices. (For this I have to add only below 2 tables)
                          - SO / DC / Customer / Sales district / Material
                          - SO / DC / Customer / Material
    2- Other report to see material level prices. For that I have add all 3 tables.
                          - SO / DC / Customer / Sales district / Material
                          - SO / DC / Customer / Material
                          - SO / DC / Material
    So with this when user want to see price by customer, he has to select FIRST report & when he want to select price by Material, he has to select SECOND Report.
    It's not very user friendly, But yes, I can suggest it as a solution.
    Thanks for your reply ! 
    Really helpful !

  • Report Creation with Qucik Viewer(SQVI)

    Hi
    My client requirement is to get the CSO  report on the  items which are invoiced and the items are not invoiced in the CSO.
    i though i could generate the intended report wiht Quick Viewer (SQVI)
    kindly advise me how do i proceed with this kind of report.
    Regards
    TharakJReddy

    Your application is referencing the file craxDDrt.dll. In order to use this dll, you needed to obtain extra licensing. Since CR 10 has been out of support for over 5(?) years, I am not sure if you can still obtain the licensing. Contact sales at 866-681-3435 to find out.
    Alternatively, reference the craxDrt.dll. This dll does not require any extra licensing. However, the error you are getting indicates that you are using Report Creation APIs (RCAPI) from craxDDrt.dll. In my experience, there often were other ways of coding to achieve the same thing with craxdrt.dll. Let me know what RCAPIs you are using and I may be able to help out there.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Manual Report Creation!

    Hi friends,
    I would like to learn about reports is there any place where i can get some videos about this. And i Especially for time being need to know about manual report creation i have little bit knowledge on creating reports.
    Any links to videos or tutors would help me a lot.
    Regards,
    Manoj Chakravarthy

    Hi friends any info on my above request it is of great importance for me please any help would be appreciated.

  • Report creation progress indicator

    Hello All,
    I am looking for a way to represent to the user the progress of the report creation.
    (Most users get upset when reports donu2019t appear immediately)
    A basic example would be to be able to display the current page being produced.
    Page N has been produced ....
    I am creating a Java Project, so would like to output the progress to the System Console,
    currently
    reportClientDocument.open (reportFilePath, OpenReportOptions._openAsReadOnly);
    is the part that is taking the most time, so is there a way I can follow the progress of this?
    I had a thought, and I use this very lightly as I have not looked into it at all, that I could maybe bring in
    something like a UFL within the Report to indicate the report creation progress.
    As I say I have only had a half think about this all but was hoping someone had an idea on how best
    to get this info.
    Any ideas or pointers would be great.
    Thanks
    Darren

    Thanks Ted,
    I thought it wouldnt be too easy. We already have a nice big whirly, but you know what users are like.
    Ill just have to put up some vague notifications about opening, populating and exporting the reports.
    Ill keep fiddling with a few things and see if I can come up with something a little more accurate,
    will leave this topic open incase some others have any ideas.
    Cheers
    Darren

  • Regarding Database performance for report creation

    Hi,
    Currently i have one database in that two schema one for table data and second for reports creation.But it is taking more time to display data because there is more load on first schema.
    I want to create second database for report schema .But i have to access table data from first database .
    1) There is one option to fetch data from first database is through DB Link . But i think it also takes more time to fetch data.
    Is there any way i can access data from first database and i get more performance with creating new database.
    Kindly give me suggestion . What should i do to improve reports performance?

    user647572 wrote:
    Hi,
    Currently i have one database in that two schema one for table data and second for reports creation.But it is taking more time to display data because there is more load on first schema.
    I want to create second database for report schema .But i have to access table data from first database .
    1) There is one option to fetch data from first database is through DB Link . But i think it also takes more time to fetch data.
    Is there any way i can access data from first database and i get more performance with creating new database.
    Kindly give me suggestion . What should i do to improve reports performance?You have more two options:
    1. Use Oracle Streams and replicate tables between databases. WHile using reporting, you'll refer to the second database
    2. Create Standby database, it's the clone of your database where you can update it by adding archived redo log files from primary database

  • InfoSet fields not listed in Crystal Report Creation Wizard

    Hello Experts,
    We successfully build few reports using in Crystal Reports 2008 using SAP Integration Kit and InfoSets from ECC 6. But we run in some problems with InfoSet MIRO_PO as InfoSet's fields which are not included into Field Groups are listed in Crystal Report Creation Wizard as available fields. It looks like it may be related to Field Groups/Data Fields definition in Change InfoSet transaction SQ02.
    Did somebody run into similar problems? Is it mandatory to include all required fields into InfoSets' query groups?
    I can't find related documentation.
    Thank you in advance,
    Sergey Vlasov

    Hi Sergey,
    I'm having the same problem, i don't understand your solution very well, can you explain a little bit more?
    Thanks

  • Enable/Disable Reporting in OSB using script.

    Hi,
    I have to enable/disable reporting in OSB proxy service using script like python,etc..
    Each and every time we create a session in console and activate the session.
    But as per our requirement, we need to do this activity using script in back end.
    Can anyone help on this.
    Thanks
    Rajesh

    Hi,
    I have to enable/disable reporting in OSB proxy service using script like python,etc..
    Each and every time we create a session in console and activate the session.
    But as per our requirement, we need to do this activity using script in back end.
    Can anyone help on this.
    Thanks
    Rajesh

  • Disable reporting currency results in 'ORA-00001: unique constraint (GL.GL_

    hi
    need your assistance .
    I disabled reporting currency and when attempted to post a journal following error occurs..
    'ORA-00001: unique constraint (GL.GL_SUMMARY_INT_1_U1) violated'
    any idea what I have missed..?
    regards
    Ahsan

    You can use the debug script $GL_TOP/patch/115/sql/glxacovl.sql, to isolate overlapping child ranges within summary account rollup groups.

  • Automate report creation from XML

    Hello,
    Is there a way to automate the report creation based on a specification based on a XML file ?
    Regards,
    Laurent.

    Thanks,
    I will have a look to the RAS SDK.
    If the API are available it will be sufficient to start building the solution.
    Thanks,
    Laurent

  • How to disable report's execution requests from the browser

    Hello gurus,
    We are implementing several security measures in our application, some of them are related to reports execution/visualization, we need to avoid users accessing reports that they don't have privilege to see. The reports were execute by Forms via RUN_REPORT_OBJECT, destination type CACHE and destination format PDF, then we displayed the output using the jobId provided to Forms by the Reports Server. Because these jobIds are sequential numbers any person was able to change the jobId in the URL and get the output of another report. This violated the Confidentiality of information.
    Now we generate all reports output to file, the file name is a random value, to avoid guessing. The problem is that even though the official way to execute a report is via the application, the report servlet is accepting request as URLs, and this violates the access controls we have implemented in the application.
    Is there a way to stop the reports servlet without affecting the valid requests (from RUN_REPORT_OBJET in Forms) or is there another possible way to disable URL requests?
    TIA
    Victor.

    If you are using Portal and SSO, you can assign privileges on Reports and Reports Servers to groups and/or users. For more info, see Chapter 10 of the "Publishing Reports to the Web" documentation: http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_sec_arch.htm#i1006221

  • Issue in COPA Report Creation

    Dear All,
    I ave an issue in creation of COPA repor in KE30
    We have created all P&L item as cost element except
    1.Change in WIP for WIP calculation in Product Costing
    2. Price Difference (OBYC- PRD) Variance will be calculated from settlement profile
    Values in COPA are
    1.     VV001  - Quantity (KWBRUM) Quantity field
    2.     VV002 u2013 Price  (PR00) Revenue account of sales (Cost Category 11)
    3.     VV002 -  Material Cost-COGS (VPRS)
    4.     VV003 -  Discount Given (SD Condition)  (Cost Category 12)
    5.     VV005 u2013 Fright (SD Condition)  (Cost Category 12)
    6.     VV005 u2013 Misc Exp (SD  Condition) (Cost Category 12)
    7.     VV006 -  Consumption and Cost of Production, Revaluation, inv diff account
    8.     VV007 u2013 admin expenses
    9.     VV008  - Employees cost
    10.     VV009 u2013 financial cost (interest paid etc deprecation cost, audit exp)
    11.     VV010 u2013 Settlement of Variances of Production order (from settlement profile)
    12.     VV011 - Other income GL accounts (including Exch Rate Diff, profit on sale of asset etc)
    From VV005 to VV009 all the GL account included are created as primary cost element (C category 01)
    and assigned in OKB9 as transfer to PA structure and assigned in PA transfer FI (direct posting form FI)
    VV011 u2013 all the GL account created as Revenue (Cost Category 11)
    Issue we are facing
    1. In Consumption and Cost of Production GL account (Movement type 101 and 261 from production order ) we are not
    able to generate Profit analysis document.
    2. Price difference also come in picture at the time of Stock transfer and Price diff GL account is not created as cost element and how to flow that in copa, price difference from settlement will come from settlement profile.
    Format we have created for COPA report is like
    1.Quantity Field
    2.Selling Price  (PR00)
    3 Material Cost (VPRS)
    4 Discount Given
    5. Fright
    6. Misc Exp
    7. Consumption and Cost of Production, Revaluation, inv diff account
    8 admin expenses
    9. Employees cost
    10. financial cost
    11 Settlement of Variances of Production order
    12. Other income
    13 Net Profit (Calculated Values ) ( 2- 3-4-5-6-7-8-9-10-11+12)
    Is this a correct logic I applied kindly suggest.
    Regards
    Bittu

    Dear All,
    Any suggestion..
    Bittu

  • How to enable or disable report parameter based on certain conditions

    Hello ALl,
    I have 3 parameters in my report. Fst parameter is having a LOV which is having all status value like 'Received,Refunded, Exempted etc).
    second parameter is From date and third parameter is To Date which is having value set as "FND_STANDARD_DATE'
    Now my requirement is If Status is selected as "Exempted" then From and To Date should be disabled.
    if other than that then both should be enabled.....
    Please help me out.
    How it cna be done.
    Thanks in advance
    sheetal

    Hi,
    You can use a condition
    <?xdoxslt:ifelse(Condition,'Paragraph','')?>
    Condition is the condition that needs to be satisfied
    Paragraph is the paragraph that needs to be displayed if the condition is satisfied
    '' is what needs to get displayed if the condition is not satisfied.
    Thanks,
    Swarna

  • [Forum FAQ] How do I disable all subscriptions without disabling Reporting Services and SQL Server Agent?

    Introduction
    There is the scenario that users configured hundreds of subscriptions for reports. Now they want to disable all the subscriptions, but Reporting Services and SQL Server Agent service should be enable, so the subscriptions will not delivery reports to users
    and users could run the reports and create jobs on the server.
    Solution
    To achieve this requirement, we need to list all subscriptions and their schedules by running query, then use loop statement to disable all the subscription schedules by Job name.
    On the Start menu, point to All Programs, point to Microsoft SQL Server instance, and then click SQL Server Management Studio.
    Type Server name and select Authentication, click Connect.
    Click New Query in menu to open a new Query Editor window.
    List all subscriptions and their schedules by running the following query:
    Use ReportServer
    go
    SELECT   c.[Name] ReportName,           
    s.ScheduleID JobName,           
    ss.[Description] SubscriptionDescription,           
    ss.DeliveryExtension SubscriptionType,           
    c.[Path] ReportFolderPath,           
    row_number() over(order by s.ScheduleID) as rn             
    into
    #Temp  
    FROM     
    ReportSchedule rs           
    INNER JOIN Schedule s ON rs.ScheduleID = s.ScheduleID           
    INNER JOIN Subscriptions ss ON rs.SubscriptionID = ss.SubscriptionID           
    INNER JOIN [Catalog] c ON rs.ReportID = c.ItemID AND ss.Report_OID = c.ItemID   
    select * from #temp
    Use the loop statement to disable all the subscription schedules by Job name:
    DECLARE
    @count INT,
    @maxCount INT  
    SET @COUNT=1  
    SELECT @maxCount=MAX(RN)
    FROM
    #temp         
    DECLARE
    @job_name VARCHAR(MAX)                  
    WHILE @COUNT <=@maxCount        
    BEGIN      
    SELECT @job_name=jobname FROM #temp WHERE RN=@COUNT  
    exec msdb..sp_update_job @job_name = @job_name,@enabled = 0     
    SET @COUNT=@COUNT+1   P
    RINT @job_name   
    END   
    PRINT @COUNT 
    Reference
    SQL Agent – Disable All Jobs
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • Java to PDF Report Creation

    Hello
    Anyone has java to pdf creation knowledge than please give us the feedback, if you know some readymade package please inform us
    Regards

    You can use JFreeReport to format data from a TableModel (as in JTable) into a report that can be previewed on-screen, printed, or exported to PDF:
    http://www.object-refinery.com/jfreereport/index.html
    JFreeReport is free software, under the terms of the GNU LGPL.
    Regards,
    Dave Gilbert
    www.object-refinery.com

Maybe you are looking for