Transport Import History save to spread sheet
Hi,
I have successfully saved the Transport import history as a spreadsheet.
i.e. System > List > save > local file > Spreadsheet
However, the Return code column is blank? Probably becuase the image did not convert to text?
Does anyone maybe know what I can try to get the return code populated next to the transport in the spreadsheet?
Kind Regards,
Chris
Juan, Thanks for the info.
I have also found this table to be very useful - TPALOG.
From this table I was able to extract the import history of the system I was looking for as well as the return code.
Kind Regards,
Chris
Similar Messages
-
Lost Transport Import History after the system refresh
Hi,
We forgot to take the backup of the TPALOG table before the system refresh. We refreshed our testing system from production system. Right now we donu2019t have the old import history for the testing system. We played with TPALOG table and TPALOGHDR to synchronize TPALOG table with ALOG* files. But we are not able to do that. I remember we had synchronized the TPALOG table with ALOG* files in the past. Please advise for any function/program to achieve this. Thanks.
Thanks.
Raj.Hello Raj,
The mechanism behind the import history is that STMS will look in table TPALOGHDR to check if the time frame for which the import history is called, is between STARTTIME and ENDTIME.
If it is, it will use the entries in table TPALOG.
If not, it will read the ALOGxxxx files on /usr/sap/trans/log and update table TPALOG.
Modifying the ENDTIME in TPALOGHDR will force reading the ALOG files again and will update the internal table TPALOG. In most cases,using the first date you find in the ALOG file that covers the missing transport.
To reduce the possibility of competing accesses to the action log you can select a system-specific name. For this purpose, set the tp parameter ALLLOG in the STMS transport tool as global and with value:
ALLLOG = ALOG$(syear)$(yweek).$(system)
This will create system dependant ALOG files like, ALOG0318.D01
It should be noted that : The import history in TMS is only available for periods after the last copy of a system. The reason for this is, that TMS needs some information about the ALOG files which are stored
in the database. During a database copy, this information is destroyed and there is no possibility to restore this data.
Best Regards
Niraj -
Auto Save to Spread Sheet file every N samples
I am in the need for a way to automatically save data to a file for every N-samples that are acquired. I've written the attatched reentrant subVI, but there are some problems. Whenever I have it in my program loop it hogs the process (stalling data acquisition) and just writes the initial values a bunch of times (the file quickly goes into the 10's of megs). I don't know where I'm going wrong in my algorithm.
Here is the algorithm I'm trying to realize with this subvi.
Inputs:
1. 1 x M array
2. number of samples to record at a time (N)
3. path to folder to automatically save files
Algorithm:
Initial run:
1. Create file name based on current date/time and folder path input.
2. Initialize an array that is N x M (so the number of rows is the number of samples to record, by the number of columns coming from the input).
3. Place the first row of input data into the first column of the array.
Subsequent runs:
1. Place the input data into the next position of the N x M array
2. If and only if current_input_count % N == (N - 1) then save the data to the autosave file. (note: %=modulus operator)
My typical sample rate is around 2-5 samples per second. I need this because some of our tests are really long (like hours long), and if the DAQ computer fails to save the final data set then we pretty much lost the entire test.
Sorry my G code is so sloppy. Thank you for any input. I'm targetting LabVIEW 8.
-Nickerbocker
Attachments:
Auto Save N Points.vi 22 KBFor "automatically saving the data to a file for every N-samples that are acquired", you might have to use LabVIEW measurement file for storing your samples. Also, I have slightly modified your code. Double click on the LabVIEW Measurement file and then check different options available to store your samples. Hope this helps.
PS: Assuming that this is the only probelm you have, I didn't go through your algorithm.
Attachments:
Auto Save N Points.zip 51 KB -
After importing spread sheet,unable to select cells for linking components
I am not sure what causes this. Some times the spreadsheet gets locked after i import it to excelcius. I am not sure what i am missing.
Also when a new version of the spread sheet with minor changes is imported for carrying out the changes in XLF, the new spreadsheet in the excelcius gets locked and i can select any cells.
There should be a simple trick to over come this and please help!Thanks for the prompt response Amit>
I have checked the spread sheet and it not protected. It used to happen once in while earlier but now i am stuck with this.
Also, on the similar lines, can we import a new excel spread sheet of an XLF and modify the XLF to re link some of the cells? It is not allowig me to select the cells in the spread sheet in this situation also and every thing gets locked up and i can not do any thing! -
Could u plz help me to find simple example for how to save data file in a spread sheet or any other way in the real time controller for Sbrio 9642 using memory or usb flash memory
Here are a few Links to a helpful Knowledge Base article and a White Paper that should help you out: http://digital.ni.com/public.nsf/allkb/BBCAD1AB08F1B6BB8625741F0082C2AF and http://www.ni.com/white-paper/10435/en/ . The methods for File IO in Real Time are the same for all of the Real Time Targets. The White Paper has best practices for the File IO and goes over how to do it.
Alex D
Applications Engineer
National Instruments -
ALV truncation while download using List--Save/send--File--Spread sheet
Experts,
In ALV output, I am trying to download using menu item
"List --> Save/send --> File --> Spread sheet" then in the popup appears
here if i GIVE the FILE NAME THEN,material number is getting truncated.
If I don't give any file name it is storing as ".xls" and not getting truncated.
How to correct this or avoid this truncation.
OR
If we can't do correction about truncation ...my function consultant is asking to
to disable "List --> Save/send --> File".
Thanks in advance.
SamSolved by my own....
We need to pass
i_fieldcat-no_zero = 'X'.
so that the zeros at the end won't get truncated. -
Status in Import history of Transport Management System
Hello Experts,
I tried to import a TR from a DEV to a QA. After the first attempt I got an error RC=8. I retried the operation and as I can see in the overview of the transport logs, it worked (succesfully completed). Now I am only wondering why the status light of the mentioned TA is still red (RC=8) in the import history.
Does this light not shows the actual status?
Regards,
TobiasHi Tobias,
Juan mean to say here that in the 1st run the transport failsed for some reason and in the 2nd run the same transport request imported successfully with warning (Yellow light).
Any way import is over.
Regards
Ashok Dalai -
Error message using SQL import and Export Wizard with Excel spread sheet
I am trying to import an Excel spreadsheet using the Import export wizard that is provided with SQL 2014.
Everything seems to set up OK but then when I go to do the transfer "error message" comes up saying:
External Table is not in the expected format.(Microsoft Jet Database Engine).
This is a spreadsheet and there is no database, that is why I want to import it into a database!! So the reference to JET is a tad disappointing.
So why the error and how do I fix the problem?
As there are over 100 variables in the spread sheet rows, it would be great to have this automatically create the database and populate the fields.
I am using SQL 2014 Express and Office Excel 2013.
Thank you in advance for taking the time to read this, and hopefully sheading some light on the issue.Hi AWlcurrent,
When import a .xlsx file to SQL Server using SQL Server Import and Export Wizard, you see a “External Table is not in the expected format.(Microsoft Jet Database Engine).” error message. This error message seems that the Microsoft JET Database Engine is
unable to handle something that is contained in the file.
So please make sure there is no unsupported content in the Excel file. Alternatively, we can use ‘Microsoft Excel’ as the Data Source, then Select ‘Microsoft Excel 2007’ as the Excel version to import the excel file.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
My AppleWorks spread sheet has started crashing. I just upgraded AppleWorks from 6 to 6.2.9, but it still crashes when I try to save changes or print. I run 10.6.8 Snow Leopard. This same spread sheet does not crash on my other two Macs. Please help, I use this spread sheet daily in my business. Jeanie
Did you apply the security update to this Mac & not the others? If you did, check Software Update again. Apple has released an updated security update. This has fixed the problems caused by the first version.
-
ALV output when transporting to spread sheet
Hi all ,
I am finding problem when I am transporting my ALV grid output to spread sheet. Irrespective of order all integer fields are moving to right most of the spread sheet.
Actually i need to export that as it is in the output. Hope this is a common problem. If any one faced this previously or know solution for this please let me know.
regards
raghavRaghav,
You will need to create some custom functionality for your needs.
I would suggest passing your internal table in this Func Module - MS_EXCEL_OLE_STANDARD_DAT.
You can also pass a listing of field headers will be placed above each column in the Excel output as well (if needed).
Example:
TYPES: BEGIN OF t_output,
text80(80),
kgoal(20),
ytd(20),
p1(20),
p2(20),
p3(20),
p4(20),
p5(20),
p6(20),
p7(20),
p8(20),
p9(20),
p10(20),
p11(20),
p12(20),
rowcolor(4),
END OF t_output.
DATA: single_output_tbl TYPE TABLE OF t_output WITH HEADER LINE.
DATA: sname LIKE rlgrap-filename.
data: outname LIKE rlgrap-filename.
DATA: BEGIN OF fnames OCCURS 0,
cname(80),
END OF fnames.
sname = 'Output'.
outname = 'c:\outfile'.
PERFORM insert_headings.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
file_name = outname
CREATE_PIVOT = 0
data_sheet_name = sname
PIVOT_SHEET_NAME = ' '
PASSWORD = ' '
PASSWORD_OPTION = 0
TABLES
PIVOT_FIELD_TAB =
data_tab = single_output_tbl
fieldnames = fnames
EXCEPTIONS
file_not_exist = 1
filename_expected = 2
communication_error = 3
ole_object_method_error = 4
ole_object_property_error = 5
invalid_pivot_fields = 6
download_problem = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE s000(zz) WITH 'Export to Excel failed.'.
ENDIF.
FORM insert_headings.
CLEAR fnames. REFRESH fnames.
MOVE ' ' TO fnames-cname.
APPEND fnames.
MOVE 'Company Goals' TO fnames-cname.
APPEND fnames.
MOVE 'YTD' TO fnames-cname.
APPEND fnames.
MOVE 'P1' TO fnames-cname.
APPEND fnames.
MOVE 'P2' TO fnames-cname.
APPEND fnames.
MOVE 'P3' TO fnames-cname.
APPEND fnames.
MOVE 'P4' TO fnames-cname.
APPEND fnames.
MOVE 'P5' TO fnames-cname.
APPEND fnames.
MOVE 'P6' TO fnames-cname.
APPEND fnames.
MOVE 'P7' TO fnames-cname.
APPEND fnames.
MOVE 'P8' TO fnames-cname.
APPEND fnames.
MOVE 'P9' TO fnames-cname.
APPEND fnames.
MOVE 'P10' TO fnames-cname.
APPEND fnames.
MOVE 'P11' TO fnames-cname.
APPEND fnames.
MOVE 'P12' TO fnames-cname.
APPEND fnames.
ENDFORM. " Insert_Headings
Please points for helpful answers. -
Can I use AW6 to open up a spread sheet, labled .txt ??
I received an important document from the county elections office today. I need to access the data for my campaign (local city elections).
It came with this note:
***Attached is the xxxxxx City voter file with voter history. It is a .txt format which can be opened with Access or Excel. There are 5,744 records.****
When I open, it opens by default with TEXT EDIT and I can see all the data (addresses, voting records, etc.). But not very useful format to me.
I am mostly an APPLE WORKS person...I like and am use to u sing AW. Is there a way I can put this into a an AW DB (prefer) or Spread Sheet so I can sort, and use the data? (Make address lists, labels, etc.)
This is new to me..
JON
PS: When I do the GET INFO on this doc, it says it is a Plain TEx Doc. Wish to make it a AW DB if I can.By default, a new AppleWorks spreadsheet only has 500 rows. You can increase this to as much as 256 Columns by 16,384 Rows in Format > Document. Rather than pasting into an AppleWorks spreadsheet, use the Open dialog which will automatically create the correct number of rows. The same with a database. If you create the database this way, you will have to go back & use define fields to rename them.
-
How to transfer a set of data from Excel spread sheet to an Access database
hi,
Can any one please tell me how to transfer a set of data from Excel spread sheet to an Access database using SQL query.I'm using java API currently. I have done all sorts of ODBC connection in administrative tools.The file is in correct location. I have done certain coding but with errors.Help me to get rid of these errors,
Coding:*
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection datacon=DriverManager.getConnection("jdbc:odbc:exdata","",""); *//For Excel driver*
Connection datacon1=DriverManager.getConnection("jdbc:odbc:stock1","",""); *// For mdb driver*
Statement datast=datacon.createStatement();
Statement datast1=datacon1.createStatement();
ResultSet excelrs=datast.executeQuery("select item_code,sdata,closing_stock from phy "); *//phy is the excel file*
while(excelrs.next())
String ic=excelrs.getString("item_code");
System.out.println(ic);
String d=excelrs.getString("sdate");
double cs=excelrs.getDouble("closing_stock");
int dbrs=datast1.executeUpdate("insert into second values('"+ic+"','"+d+"',"+cs+")"); *//second is the mdb*
excelrs.close();
}catch(Exception e)
System.out.println(e);
Error:*
java.sql.SQLException: [Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object 'C:\JavaGreen\phy.xls'. Make sure the object exists and that you spell its name and the path name correctly.
thanks,
kumar.JAVA_GREEN wrote:
No i haven't mixed up.But the file from where i have to retrieve the data is in csv format.Even though i created another csv driver.and tried but i cud not find a solution to load/transfer a set of records from one file(in Excel/csv format) to another file(in mdb format).plz help me.Is there any other methods for this data transfer.A csv file is NOT an excel file.
The fact that Excel can import a csv file doesn't make it an excel file.
If you have a csv file then you must use a csv driver or just use other code (not jdbc) to access it. There is, normally, a ODBC (nothing to do with java) text driver that can do that. -
Blank column in spread sheet when i am downloading?
hai fnds...any one help for the below issue
i have developed ALV report used ( layout also in that ).displaying 19 fields in the output. but when i am downloading spread sheet iam getting one blank column in spread sheet.(but all 19 fields are comming ). i dont know why i am getting second column is blank? but otherthan spreadsheet format is not getting any blank column.
here for the purpose of change layout and save layout i am using
DATA: gv_boxnam TYPE slis_fieldname value 'VENUM'.
VENUM field which is in internal table but not displaying the output. is this any problem?
Suppose if i take DATA: gv_boxnam TYPE slis_fieldname value 'VBELN'. which is in internal table and displaying the output..in this case i m not getting the VBELN in the output..i am getting only 18 fields in the output.
Thanks,
Raghu.the download is a copy of the table behind the ALV display. It sounds like the table for the ALV display contains a column that is flagged as no output?
-
Problem in opening spread sheet from iview
Hi Experts,
I have a ecc report integrated as an iview in enterprise portal. I am trying to preview the iview and
run the report. Iu2019m successfully executing the report, but while saving the report as a spread sheet (exce file to local drive)though 'menu' item the following problems occurred:
1) Excel sheet is not opening on clicking on the 'generate' tab on the report
2) File is created but not found in local drive.
3) We are seeing this " "The application's digital signature has an error,Do you want to run the application".After then it showing a pop up box (small applet window) unable to execute the program."?
Pls help me in this regards as it is urgently required for me
Thanks,
Jyotihi
You have problems with conversion OTF to PDF.
u can use this FM SX_OBJECT_CONVERT_OTF_PDF for do it.
part of code:
data: i_objbin like solisti1 occurs 0 with header line,
i_otf type solisti1 occurs 0 with header line.
call function 'SX_OBJECT_CONVERT_OTF_PDF'
exporting
format_src = 'OTF'
format_dst = 'PDF'
devtype = 'PRINTER'
FUNCPARA =
len_in = '1234'
IMPORTING
LEN_OUT =
tables
content_in = i_otf ""your table OTF Format
content_out = i_objbin
exceptions
err_conv_failed = 1
others = 2
Look this Forums : problem opening pdf file
Regards
Gregory -
Numbers spread sheets. 'The document could not be saved. Permission denied'
Since updating to OS X Lion 10.7.2 I'm unable to save my Numbers spread sheets. I keep getting a message that says 'The document “Autumn Menu 2011.numbers” could not be saved. Permission denied'.
i,
It's always a good idea to Repair Permissions after an upgrade. You can use Disk Utility.app, which you already have on your OSX system, or you can download a utility like ONYX.
Always wise to run your backup utility before doing the repair.
Regards,
Jerry
Maybe you are looking for
-
Prob;ems with the hold on the ipod mini
I bought my sister a mini ipod. she is having problems with it now. whenever she turns off the mini ipod, puts it on hold, after a minute or less than a minute sometimes, the ipod just turns own even if it was already shut off and put on hod. Wheneve
-
Tricky question re 2 macbook pros sharing/importing to NASand sharing libra
Ok here's the difficulty I'm having. Data management.... Bought a Drobo FS to help solve image storage needs. Have imported 3 years worth of images in folders by dat (ex 2010-10-01). Is there a way for Aperture to "Add/Import" ALL of these folders AN
-
Help!!! Changing contentType in Servlet Filter
Hi, I am trying to change resrponse.ContentType() to text/xml in a Filter but output is still text/html. please tell me where i am going wrong.. it is really urgent!!! anything wrong with this my doFilter method goes like this public void doFilter(Se
-
Is it possible to have different font sizes for different apps in ios 8?
I would like to have a large font for text messages, but when I change the font size, it changes pretty much across all of the standard ios apps. There are some of these apps that the large font just doesn't really work well for, and I would prefer a
-
Hi, I connect my iphone 4s to my computer, open itunes and phone icon does not appear. I have the latest version of every (system-driver-etc..) used to work fine...I'm hopeless. Device appears nowhere. Please help Thanks in advance Etienne