In LabView 8.2, saving a standard report
I am new to versions above 6.1 and to reporting.
I am trying to find a way to save a report that is formatted, should not be editable once saved and that the filename and path are created programmatically.
In searching for ideas, I did find that I could print a Standard report to Virtual Printers like Microsoft XPS Document Writer. This would work except for the popup created to retrieve the filename and path which allows the user to select these.
I also found that previous versions of LabView could save a report as a Word document. When I tried to find this for 8.2, I couldn't. This would work except it wouldn't solve the problem of not being editable.
Does anyone have ideas for me? I don't have any code to show as so far I am still playing with the creation of the report itself.
KH @->---
The test of a first-rate intelligence is the ability to hold two opposed ideas in mind at the same time and still retain the ability to function. F. Scott Fitzgerald
I went and looked at the Report Generation Toolkit and it doesn't do what I am needing. It does allow the programmer to create a report for visualizing in Word but it doesn't save it FOR Word. It opens Word and allows the user to save from WITHIN Word.
What I am needing to do is the report generation and file saving from within LabView programmatically. I also need to be able to set the file as a READ ONLY file. Using the Report Generation Toolkit would allow the user of my program to change the data before saving. This cannot be allowed for this project. The HTML report generation is out the question for this project.
This is the reason I have looked into using a Virtual Printer like MS XPS Document Writer. This creates a file that cannot be opened for edit as it is a Print to File XML formatted file. However, the user of my project would have to supply the filename and path. This is a major problem as well.
Any other ideas?
KH @->---
The test of a first-rate intelligence is the ability to hold two opposed ideas in mind at the same time and still retain the ability to function. F. Scott Fitzgerald
Similar Messages
-
Standard report output to be saved in application server
Hi All,
My requirement is to create a program which can save the standard report otuput(The output of the tcode S_ALR_87012936) to the application server.Please help.
Thanks and Regards,
Kowsalya.copy it into a zprogram and do the coding for that .....use it.
-
Error while saving Ad-hoc report in Portal
Hi Experts,
I am getting flowing error while saving Ad-hoc report in Portal
Transport system is active - could not save/change queries
Please let me know how to resolve this issue.
Thanks in Advance
Regards,
RaviHi Ravi,
Try this ->
Go To RSA1---> Transport connection view
In the menu Edit -
>Transport----->Switch-off Standard.
Now open and try to save your report.
Hope this helps!
Regards,
Saurabh -
Standard report on promotion and pay changes
Hi All,
Is there any standard report which captures promotion data along with pay changes.
Regards
Aryanquery can be created to extract information from master records i.e Infotypes. For example, by creating a query , the data relating to an employee contained in various Infotypes can be extracted.
Proceedure :
Decide on the various Infotypes we want to make the query. Decide on the area where we want to query i.e Global area or Standard area. Standard area is client specific and globel area will include all clients.
Menu : HR u2013 PM u2013 Admn - Information System - Adhoc Query
Select area standard and select the user group already created
Creation of new query :
TC SQ03 - Select Environment u2013 Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necessary information and exit after saving
TC SQ02 - Enter name of the Infoset u2013 Create u2013 enter name of Infoset - Data source -- > Table join by basis table u2013 give name of table e.g pa0000 - Enter - Click on insert table if we want to include more tables u2013 give name of table one by one and after finishing, place cursor on the joining lines and right click to delete unwanted relationships - check - and go back - field groups - include all table fields - click on generate button - go out
TC SQ03 - Select user group - eg. Payroll
Infoset - Enter name of newly created Infoset
Assign users and Infosets - Assign infosets - put tick on payroll - save and go back
TC PAAH - Expand the nodes and put tick on relevant fields depending upon necessity
Save the query by giving the same name as infoset for easyness.. -
Hello Experts
We would like to have Some standard report to check whether Any standard schema or rule changed by Anyone (Consultants)
We want to target specifically for a country and standard schema and rules.
Any updates appreciated.
Regards
SK1. T52C0 table contains the standard SAP delivered schema. If a customer changes it, it is saved in T52C1 with the same name.
The transaction PE01 always brings the one from T52C1 (not from T52C0) when you next go to display / edit the changed standard schema.
However PE02 txn always stores a PCR in T52C5 irrespective of whether it is a standard SAP object or a custom object.
To see the standard schema, in txn SE16 or SE16N, you can display T52C0.
Or display it in client 000; usually this client access is not allowed for even SAP consultants normally.
In view of the above, it is not recommended in any case, even for changes from an OSS note, for a user to change the standard schema/PCR, in PE01/PE02 or other way except the processes used by Basis team - e.g., SPAD, SPAM.
To make such changes in a standard object, it should be copied to a customer name range; then the copy should be changed and used wherever required.
Such changes in SAP objects (e.g., schemas, PCR's, Dev objects) should be documented for future reference, so that when the standard object is changed by SAP, the customized object can be changed as required.
2. To see which transport has changed such objects you can search table E071 for dev objects including schema and PCR; and E071K for tables.
However I am not sure if this is dependent on transports containing such changed objects. Many times it has been observed that config consultants delete objects from a transport, before releasing it; this deletion may be because the change was saved in a wrong transport or whatever. In such cases, these tables E071 & E071K may not contain these changed object entries.
Following are the tables in this subject:
E070 Change & Transport System: Header of Requests/Tasks
E070A Change & Transport System: Attributes of a Request
E070C CTS: Source/Target Client of Requests/Tasks
E070CREATE Change & Transport System: Creation Date of Request
E070DEP Change & Transport System: Dependencies of Requests
E070L CTS: Index for Assigning Numbers to Requests/Tasks
E070M CTS: Target Development Class/Layer for Requests
E070N UNIX/SAP User Connection
E070P Path under which a C correction is created
E070TC Help Table for E070 for Client-Specific Imports
E070USE Use of Current Requests by Users
E071 Change & Transport System: Object Entries of Requests/Tasks
E071C Change & Transport System: Client-Specific Lock Flag
E071E Lang. Transport: Positive List for Generic Object Selection
E071K Change & Transport System: Key Entries of Requests/Tasks
E071KF Change & Transport System: Nametab Information on Key Fields
E071KFINI Change & Transport System: Nametab Information on Key Fields
E071L Language Transport: Transport Information
E07T Change & Transport System: Short Texts for Requests/Tasks
3. Provided the table is set for logging, you can use program RSTBHIST. to report change log for such SAP objects, However, such setting for log should be in development system/cliernt.
It is not recommended for production system/client. Otherwise for each schema transport, the log database will be updated and this is a burden on production resources.
See link
Here’s something you probably don’t already know: Learn how to quickly & easily track & analyze changes to cust… -
How to know the total page number of the standard report
How to know the total page number of the standard report?
If I insert a graph, a table, or text into the end of the standard report, how to know how much space is left for the current page?Hello Net,
Unfortunately, we do not have any VIs in LabVIEW that can figure out the number of pages of a standard report. However, with the use of ActiveX calls you can achieve this task. Here are a couple of discussion forums which discuss this:
Excel Page Numbering with ActiveX:
http://forums.ni.com/ni/board/message?board.id=170&message.id=194479&requireLogin=False
Number Pages in Word Report:
http://forums.ni.com/ni/board/message?board.id=170&message.id=162972&requireLogin=False
There is also great documentation on using ActiveX on msdn. You can search this document for page number objects. Here is a link to this:
http://msdn2.microsoft.com/en-us/library/aa223048(office.11).aspx
Please refer to these links. If you still have questions please feel free to let us know so we can assist you.
Thank you
Best Regards,
Dominic L. -
Standard report center text in table
Hello,
I am new to LabVIEW 2011 running Windows 7.
I am trying to run and print standard report in LabVIEW but I couldn't figure out how to make text or data to center in the table.
See pic below.
Please help.
Thank you so much in advance.
Marlin12Certainly,
Please see the attachments.
marlin12
Attachments:
front.GIF 37 KB
back.GIF 27 KB -
Image won't use full width of page in Standard Report
Using LabVIEW 2012 in both Windows XP and Win7
Specifically, I'm trying to use a cluster control with strings and numerics for a generic report page. I stuff the strings and numerics with the info that's needed to create the desired page content.
I am creating a standard report. The use of Word or Excel is not considered due to compatibility issues when either NI or Microsoft release version upgrades.
I have tried setting the report margins as well as leaving them at default; the results are the same.
I set the header text and footer text to indicate where the report generation function believes the margins to be. Both header and footer honor the margin settings and appear on the report page as they are expected.
When I "append control image to report" using the reference to the cluster control, the resulting image is 6.2" wide and hugs the left margin regardless of what size the control actually is. If the control is widened, it is rescaled to 6.2" wide. I tried using picture and array controls; results are the same. I tried using the "append front panel image to report"; same results. The "Alignment" input seems to have no effect. The issue seems to be with the way images are handled in the report generation.
Oddly enough, the height seems to behave quite normally. If the object is too large in height, it is simply truncated at the bottom margin.
I tried using landscape orientation which functionally exhibits the same issue; object hangs on left margin and will not fill the width of the page.
I tried HTML which centers the image on the page but doesn't honor margins and prints info at top and bottom that I can't get rid of.
I contacted NI support and generated an active support question reference# 7369484. So far, no solution.
Any help would be appreciated!Similar problem using LV2011. I have to print labels on a 100x70 mm paper without borders. No chance to scale the control image to fit.
Calculating the size of the initial picture (480x360 pixels) scaled at 96 DPI would result in a size of 127x95 mm.
Actually the height printed is exactly this, but the width shrinked to about 45-50 mm.
A part of the solution might be to create an image (use 'create/invoke node/get image') and send this to the printer (how to do this?). Actually the HTML report creates an 96 DPI image together with the html page.
In my case I should create an image of at least 150 DPI (300 or 600 DPI prefered). But there are no options in either the 'get image' or append control image to standard report to set the resolution.
Bad thing!
Attachments:
CT0181860494.jpg 26 KB -
Standard Report - Append Control Image Width Problem / Limitation or Bug?
I am trying to create a Standard Report and am having a hard time placing a XY Graph control on the report. My problem is I want to use the maximum page area to view the graph. For this reason, I am keeping the margins small and increasing the size of the control so that it occupies almost all of the page. What I find is that after a certain limit, the XY graph image output on the report does not increase in size even if you increase the control size. In fact the image will get worse with larger size once beyond the limit. No matter How I try, the Image will not occupy all the area between the Horizontal Margins.
Either this is a bug or undocumented limitation.
Ahh.. One other possibility exists, that I am not smart enough. But if some one can help me here, It will be greatly appreciated.
I am Using LV 8.2 on XP machine.
I am attaching the VI and two PDF files, In "MyReport w1000.pdf" The XY Graph is 1000 Pixels Wide. In "MyReport w2000.pdf" I made it 2000 Pixels wide, however the size of the image did not increase on the report. Also You can notice the difference in quality between the two reports.
To use my vi just size the graph to different sizes and run it, It will output to the default Printer. If you have a PDF writer set as default printer, It will save it to file.
If anyone can help, I thank you and wish you...
Good Luck!
MacheI do not like Vivek's workaround. "Use HTML report" is not acceptable when the question is about Standard report. People may want to use Standard report and there is a reason it is called standard.
Anyway one solution is to size the image to most optimum size - as large as possible but retaining the graphical quality. This will still leave you with large white spaces around your graph object.
Second solution that I am using is to Put the graph object and any other elements that I want on my report on a Front panel of a VI. Size the objects and front panel and objects appropriately and then use Print Panel to Printer method to Print the whole VI front panel. In my app. This VI which mimics the report is called from my app and is called Print Preview. There is even a Vi that allows you to choose the printer. http://zone.ni.com/devzone/cda/epd/p/id/1327
I am attaching a Sample Report and Code Snippet to look at.
Good Luck!
Mache
Attachments:
Labview Document.pdf 21 KB
Print Code.jpg 30 KB -
Standard report S_ALR_87013611 ( Report writer) Modification
Hi ,
My requirement is to modify the standard report S_ALR_87013611 which developed on Report writer. It is drildown report writer report. It is calling the KSB1 transaction with user interaction. I want to modify the report by replacing the custom transaction at the place of KSB1 Transaction.
Please guide me the steps .
Thanks in advance,
Best regards,
Jagadeshwar.GHi,
Reports are not saved on a server/disk, but within the system itself. You can export them, indeed, to the local disk just in order to re-import in some other system.
You can read about Report Writers in this link:
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/5b/d22db643c611d182b30000e829fbfe/frameset.htm
Regards,
Eli -
Alginment´s table Report Generation Standard Report
Does anyone knows how to align a table in a Standard Report with the Report Generation in LabVIEW 8.2
SimbaniIt looks like you have to add it. See this link: http://digital.ni.com/public.nsf/allkb/ebf69ce818a0b1b286256bd40080e78f
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison -
Standard report vis fail (error 1) after report toolkit loaded
Labview 6.1 report vis will not work (when dealing with standard report types) after loading the report generation toolkit 1.0.1. This is depite fixing the known issues found in the knowledge base. ie replace automation open with automation close in font style vi and recompiling the vis.
Running the text report example.vi included demonstrates the problem. Error 1 will be returned.
A sub vi in this called tables.vi appears to have 4 automation close vis two of which are inside for loops. I think these need to be outside of the loops? This then transfers the problem to the set font.vi which then returns error 1.I have the same problem. I am using LabVIEW 6.1 and Microsoft Office 97. I have installed and reinstalled the Toolkit. Whenever I try to run ANY sample VI's that come with the toolkit (by going to "FIND EXAMPLES"), none of them run. The ERROR LIST says that none of the subVI's are found. Why are these subVI's not being found? I see that they are there. Is there a directory error? Both LabVIEW and the Toolkit were installed in their default directories. The Toolkit is in C:\Program Files\National Instruments\LabVIEW 6.1\vi.lib\addons\_office
Advice Please?! I have a sample screenshot.
Attachments:
screenshot.jpg 72 KB -
how do I insert two tables of different dimensions side by side in standard report..........
I am using Labview 2011
please help.............
thank you in advance...............You don't say what you mean by a "Standard Report". If you want to use the Report Generator to make an Excel file with two tables, look up a post I made here in January called Revised "Generate Excel Report" Example. Note that the quotes actually are part of the title -- if you use the Search feature, you should see this pop up when you type the word Revised and then type a space.
If this is not what you are looking for, give us further details.
Bob Schor -
Dynamic value in TVARVC table for standard report
Hello,
I am trying to archive objects like FI_DOCUMNT. For this purpose I want to create dynamic variant for the date. ( Date not in complete format) yyyy/mm.
So, I created an entrie in TVARVC table, and I linked it with the attribute of my variant by choosing "T" option.
My question is, how Can I fill the dynamic value for TVARVC entry?, knowing that it a standard report that is responsible for archiving.
Cordialy,Hi Merou,
this might help:
Create Variant for dynamic population of current date
Check the reponses about saving dynamic variants with column "L" and follow the rest of the instructions.
Best,
Sander -
Hi all,
Can any one please clarify this issue.
I am trying to run some of the standard reports in SD, but I am getting NO DATA EXISTS FOR CHOOSEN SELECTION.
Is there any configuration to activate SIS.
Thanks & regards,
Praveen.Hi,
Kindly refer to Glynn Williams page no :-418,it says that should one create a new structure and require historical data to be updated into it,refer to OSS note number 0064636.This explains the methods of procedding with statistical update.
Summary
Symptom
This note describes the standard procedure for setting up the statistical data in the Logistics Information System (LIS). However, in addition to this standard procedure, you should also read the application-specific documentation which is stored for each application (Purchasing, Sales and Distribution, Production, Inventory Controlling) in Customizing. This documentation can be found as follows (starting from the top level of the Customizing tree):
+ Logistics - General + Logistics Information System (LIS) + Logistics Data Warehouse + Data Basis + Tools + Setup of Statistical Data + Application-specific Setup of Statistical Data
The programs which carry out the setup in the individual applications are also called at this point in Customizing.
Procedure for statistical data setup
The setup reads all original documents or only the original documents required by the user (such as purchase orders, production orders, material documents, billing documents and so on), and sets up statistical data from these documents. Here, every document is updated in the LIS information structures corresponding to the update rules defined in Customizing.
Does the statistical data setup work correctly?
Since a setup can take a number of hours, it is best to just set up one or two (incorrect) documents at first, to check the result before a complete setup is carried out. This is carried out with the following steps:
1. Call the setup program for a few test documents
Call the statistical data setup for the respective application via Customizing. (Path -> see above) Enter the information structure to be set up, and, for example, '&(T' as a version. Important: the version '&(T' must not yet exist, that is, '&(T' must be empty.
Explanation of the version: All data records of an information structure begin with a three-character version number. The current statistical data (actual data) has the version number 000. Data is selected from this version when a standard analysis is carried out. So that the actual data is not modified, the setup must be carried out into another version. The versions into which a setup is carried out must begin with '&(' - by convention.
Enter the document numbers for which the setup is to be carried out as a test on the setup selection screen. Start the setup after this. (If there are not many documents, this can take place online).
2. Check the result of the setup
To display the set up documents in the standard analysis, the standard analysis must access the version '&T'. Via the menu path "System -> User profile -> User parameters", enter and save the parameter ID 'MCR' with the value 'X'. As a result, an input field appears on the standard analysis selection screen, in which a version other than '000' can be entered.
Now call the standard analysis in question. On the selection screen (at the very bottom), overwrite the version '000' with '&(T' (if you have followed the above suggestions). The standard analysis then displays the data which was set up.
3. The user parameter 'MCR' can be reset again.
Standard procedure for the statistical data setup in the LIS
The data of the actual version (000) should be replaced with the set up data when setting up a complete information structure. Two procedures (A and B) are described below. These procedures have the following advantages and disadvantages:
Advantages of procedure A:
It is possible to compare the old actual data with the set up data.
Disadvantages of procedure A:
Data is stored 1 or 2 times (3 times if the actual data is saved)
R/3 operation must be shut down during the entire procedure
Longer runtime than procedure B
Advantages of procedure B:
Data is only stored 1 or 2 times (3 times if the actual data is saved)
R/3 operation must only be shut down during the actual setup.
The runtime is shorter than for procedure A
Disadvantages of procedure B:
It is not possible to compare the old actual data with the set up data.
Procedure A is the "normal" method", and is suitable for normal datasets. On the other hand, procedure B should be used for large datasets.
Although the correctness of the setup should already have been checked using a few documents - as described above, it can nevertheless be a good idea to compare the entire data with the old data (or at least taking random samples) after carrying out the setup. Only procedure A offers this possibility.
Important additional information on deleting and converting data
Note that when Report RMCVISCP is mentioned in the following section, it should only be used in Releases < 4.X . In all release levels as of 4.X, Report RMCVISCP has been replaced by Report RMCSISCP. So use the later report, since Report RMCVISCP in Release > 4.X is also no longer supported by Support.
Procedure A
R/3 operation must be shut down until the following steps 2 to 5 have all been carried out. In particular, no documents may be created or modified.
1. Delete the target version of the setup
If the setup is to take place in version '&(N', for example, this version must be deleted using the program RMCVISCP. Enter the affected information structures and the version to be deleted on the selection screen of RMCVISCP. (In addition, the checkbox "Delete a version?" must be marked).
The version '000' may not be chosen as a target version of the setup. This means that '000' may not be entered as the version to be deleted.
2. Carry out the setup.
In Customizing (see the path described under "Symptom"), call the setup corresponding to the required application. Since now, or at least a large proportion of the original documents are now to be set up, it is recommended that you schedule the setup in the background for a weekend.
3. Check the data which was set up
The set up data can be displayed via the standard analysis. To do this, set the MRC parameter to 'X' (see above), so that the version '&(N' can be entered on the standard analysis selection screen (if the setup was carried out in this version).
Furthermore, you can compare version '000' (old actual data) with the newly set up data (version '&(N') via the comparison of planned and actual data in the standard analysis. (The menu path for the comparison of planned and actual data in the standard analysis is as follows: Edit -> Comparisons -> Planned/actual... )
4. Delete version '000'
Delete version '000' using program RMCVISCP. If there is sufficient disk space, the version '000' can of course be saved as version '&(S', for example, before carrying out the deletion. (This version must be empty or have been deleted beforehand). However, this saving is not absolutely necessary, especially since the old actual data is presumably incorrect (otherwise there would be no need to make the setup).
5. Copy the set up data into version '000'
Using program RMCVISCP, copy the set up version '&(N' into the target version '000'. R/3 operation can start again after this.
6. Delete version '&(N'
Finally, delete the version '& (N' using the program RMCVISCP.
Procedure B:
Within procedure B, R/3 operation need only be shut down during the following steps 4 and 5.
1. Save the actual data
Copy version '000' into another version, for example, '&(S'. Call program RMCVISCP for this, and enter '000' as the source version and, for example, '&(S' as the target version. The target version must be empty or have been deleted beforehand (with the program RMCVISCP).
However, the actual data need not necessarily be saved. In particular, this is the case if the actual data contains a large number of errors. However, the saved data can be an advantage if the setup is canceled for any reason. The old actual data could then be copied back into version '000' again.
2. Deactivate updating
Deactivate the update in Customizing for the information structures to be set up. The Customizing path for this is as follows:
+ Logistics - General + Logistics Information System (LIS) + Logistics Data Warehouse + Updating + Updating Control + Activate update
Then choose the relevant application. The affected information structures can be selected by double-clicking on the subsequent screen. Then mark the radio button "No updating" under "Updating" on the following popup.
3. Delete version '000' (with program RMCVISCP)
For large dataset, deleting version '000' can take several hours. However, it is important that updating of the information structure is deactivated, and thus R/3 operation can be continued as normal.
4. Activate updating
After deleting version '000', reactivate updating of the affected information structures (as under point 3 above).
5. Carry out the setup
In Customizing, call the setup corresponding to the required application. The setup must be carried out into version '000'.
R/3 operation must be shut down during the setup. Before and after this step, R/3 operation can continue as normal.
6. Check the set up version '000' by taking random samples
A comparison with the old actual data is only possible if the old actual data was saved beforehand (for example, into the version '&(S'). However, the comparison is only useful if R/3 operation was stopped between saving the old actual data and the setup. Otherwise, there exists the danger that documents were created or changed in the meantime. These document changes would then only be taken into account in the set up data, not in the old actual data.
7. Delete version '&(S' with program RMCVISCP
The saved old actual data can than be deleted afterwards.
Reward points if useful.
Regards,
Amrish Purohit
Maybe you are looking for
-
SCORM 1.2 tracking Captivate 3 lesson_location
I have a client who is using Captivate 3 to author a SCORM 1.2 course. When deployed to the LMS we have experienced problems with bookmarking, in that it does not appear to work all of the time. On investigating this further using ADL Testsuite to tr
-
How to present content without showing the item in left nav bar?
Here's the scenario - I have a single role. A user logs in and gets their content accordingly. The default content in the main display area is whatever the first item in the role is (e.g. IView A). Under that are various folders, iviews, etc. How
-
Jndi communication between app servers?
Hi all, I'm quite familiar with J2EE and its communication architecture. In the past, I haven't had the need to communicate from one app server to another (just all web/applet clients to the central app server). But now I need to :) Is there a way to
-
I am trying to create a cluster with two Windows Server 2012 nodes on an existing domain where the domain controller is Windows 2003, and the wizard fails with the message: Set password on (ClusterName). There are currently no logon servers available
-
LCM - 11.1.2.3 - Not sure if bug or not
Hi, We perform all LCM exports of an entire application that is Classic not EPMA. On the target server we create a data source with same name as source. We perform all the imports and there are no errors in any step. We validate the various arti