Input for shipment time stamp
hi experts,
in one of my reports i need to take the field ' shipement time stamp' value, kindly tell me in table name and field name.
i checked VTTK table, but i didn't find
thanks in advance
regards,
pavan
Hi Pavan kumar,
Get it from VBFA (document flow) table.
with Subsequent document category (VBTYP_N) = '8' and VBELN = shipment number ERDAT and ERZET will represent creation date and time of shipment.
Note : For IS you have to use different VBTYP_N. example : for IS-OIL, use VBTYP_N = 'r' which represent TD-Bulk shipment.
Regards,
Mohaiyuddin
Similar Messages
-
There is any way to speed up the shipment Dispatched?! I had placing in order in the first of Oct. and the planing for shipment time announce to be between 3 to 4 Weeks Delivers 24 Oct, 2012 - 30 Oct, 2012
No
-
FileMonitor issue for date time stamp change.
Hi I have an app that runs with a minor issue and I am looking for some insight for a workaround or code change.
I have a File Monitor that checks a specific directory every second.
Users send a batch run to this directory throughout the day. There are two types of files, .ZIPs and .DONEs.
So for each .ZIP a .DONE is sent to notify the app it can begin to process the file.
Here is what I receive
/elements/process/File1.ZIP Oct 15 08:19
/elements/process/File1.DONE Oct 15 08:19
The problem I am encountering is sometimes the .DONE and. ZIP are sent and the date time stamp of both files are the same so when the monitor reads the directory it looks like there is no change so both files sit in the directory and do not process. To make this work, I usually go in and touch a file to change the date time stamp.
This is a java app that runs on an AIX box.
Here is my code, is there anything any once can suggest to help me out. Thanks in advance.
* Subclass of FileMonitor, Handles the timer event
* @param none
private class FileMonitorNotifier extends TimerTask
public void run()
// Loop over the registered files and see which have changed.
// Uses the Modifed DateTimeStamp to determine if there was a change.
// Use a copy of the list in case listener wants to alter the
// list within its fileChanged method.
try
Collection files = new ArrayList (hmFiles.keySet());
for (Iterator i = files.iterator(); i.hasNext(); )
File file = (File) i.next();
long lastModifiedTime = ((Long) hmFiles.get (file)).longValue();
long newModifiedTime = file.exists() ? file.lastModified() : -1;
// Check if file has changed
if (newModifiedTime != lastModifiedTime)
// Register new modified time
hmFiles.put(file, new Long (newModifiedTime));
// Notify listeners
for (Iterator j = colListeners.iterator(); j.hasNext(); )
WeakReference reference = (WeakReference) j.next();
FileListener listener = (FileListener) reference.get();
// Remove from list if the back-end object has been GC'd
if (listener == null)
j.remove();
else
listener.fileChanged (file);
catch(Exception ex)
m_odLaunch.logError(OdIntegrationConstants.ERROR_LEVEL_MIDLEVEL, ex);
}Yes, I guess you are right, I don't care what time each file came, as long as I have both I can being to unzip and process and delete the .DONE.
The code itself was based on if a filechanged then do work.... I could just take this out. Thanks!
* This is the main entry point when there is a change to the modified date/time
* of the monitor directory
* @param file directory we are monitoring
public void fileChanged (File file)
StringBuffer sbMessage;
try
sbMessage = new StringBuffer();
//Make sure this is a Directory
if(file.isDirectory())
//Return list of files with extension we are looking for
File[] arFiles = file.listFiles((FilenameFilter)new FileSuffixMonitor(m_odLauncher));
for(int i=0;i < arFiles.length;i++)
sbMessage.append("Found file association to move-" );
sbMessage.append(arFiles.toString());
m_odLauncher.logInstance(sbMessage.toString());
processMoveFile(arFiles[i]);
catch(Exception ex)
sbMessage = null; -
Variable input for the time shift NEXT()
Hi Sap support,
Is there any way to make the parameter on the time shift 'TIME=NEXT(%var%)'
the idea is the user would input/send the value that will be place on the NEXT parameter..
I've tried using the get statement but it doesn't retrieve the values.,..
*REC(ACCOUNT="ACCT1",TIME=NEXT(GET(ACCOUNT="ACCT2")))
Thanks,
ReyHi Rey,
First you have to create a DM dtsx file then go to modify -> view package file -> advance
disable a standard prompt by using " ' " then replace it using script like this
PROMPT(TEXT,%Dimension%,"Select Dimension",,"") << this prompt could only work on one selection only
under the execute formula logic file place this
TASK(Execute formulas,FORMULASCRIPT,"*FUNCTION LOGICPARAM=%Dimension%|")
Done from here and then save the Dtsx
open your script, and make this additional script
*SELECT (%DimensionID%,"ID","Dimension","[CALC]='N' and [ID]=substring('LOGICPARAM',1,charindex('|' , 'LOGICPARAM')-1)")
and then place that %DimensionID% anywhere on the script. But remember while script run on input schedule can take CV as xdim will not work with this one, you have to make xdim to all dimension in application in your script each time after commit.
hope helps. -
Debugging Extractor for determining Time stamp values.
Hi,
Am in the process of debugging a FISL extractor that uses the Function module G_BIW_GET_TT_DATA to fetch records into BW.
Since the RSA3 extractor checker does not allow me to debug with Update mode Delta, I am not being able to ascertain exactly how this extractor determines the Timestamp for fetching records into BW...
If you could shed some light into this or could suggest a method through which I could debug a delta load it would be really helpful.
Thanks and Regards
VK!Hi,
Debug the same in BW while loading it to some Info provider from R/3 at the stage of transformation using delta.
I hope it will help.
Thanks,
S -
Attached is a code I am building to generate and acquire waveform signals and then write them to a text file with appropriate time stamps. As it stands, I have only linked up the writing portion to the acquired signals (I plan to write generated signals next); however, my time stamps are not being written alongside my voltages, as I was expecting them to. I have had some trouble with this (probably because I am an absolute novice at this), but would appreciate some expert knowledge in this area. Can anyone help me out? The code and a text file from a dummy test are attached. Thanks!
Solved!
Go to Solution.
Attachments:
Gen_Acq_Signals_BE_UARK.vi 119 KB
Test 1.txt 565 KBThank you. I used the Index Waveform Array function and that seemed to do the trick. Since I've got this thread going already, I have a few more questions.
My end goal is to write voltages in one column and corresponding time stamps in an adjacent column. What I get when I run a dummy test (writing 1000 samples of an 8000 Hz, 1V square wave signal, sampling at 16000 Hz) is attached as a text file. I see three columns - one for the time stamp, check, one for the supposed input voltage, check, (though not sure why all the values are the same here?) and one more for I have no idea what. It's just a column full of zeroes.
Any insight on what the third column might be and why my voltage readings are flat in the second column? I would hazard a guess and say it is a sampling rate issue, though I can't pinpont what it is.
On another unrelated note, in an earlier version of this program, I was using shift registers, though I don't know if I need to be doing that now that I have a different code architecture.
Attachments:
Test 2.txt 32 KB
Gen_Acq_Signals_BE_UARK_V2.vi 120 KB -
Converting EPOCH time stamp to time stamp in Oracle
Hi,
I need a help regarding how to convert the epoch Time stamp, to oracle date and time format.
for example,
for epoch time stamp:1204104116656
the time stamp should be :2008-02-13 12:43:00.351
Thanks in Advance
Basil AbrahamAre you sure you've got the right timestamp? Assuming this is a standard unix epoch time stamp with the epoch date starting at 1970-01-01 UTC the interval between 1970-01-01 UTC and 2008-02-13 is 13922 days, but your epoch timestamp divided by the number of miliseconds in a day 1204104116656/(1000*60*60*24) comes out to 13936.390... days a difference of 14 days 9 hours 21 minutes 56 seconds and 656 miliseconds.
Anyway to convert you need to convert your epoch date into an interval and add it to the starting epoch date (as a timestamp):
select to_timestamp_tz('1970-01-01 utc', 'yyyy-mm-dd tzr')+
numtodsinterval(1204104116656/1000,'second') dstamp
from dual;Message was edited by:
Sentinel -
Time stamp and total no of records in ALV
Hi everybody,
i need to display
Time:
Total No of Records:
in my excel report downloaded from ALV.
can any body help me out as how to keep the specified above in my ALV to get in the Exel output.Hi,
For the header - pls use top-of-page event.
For Number of records u can use - Describe table ITAB lines lv_lines. ( declare lv_lines as i). After this statement, your lv_lines will contain the number of records in your final internal table which you are using to display the output.
For the time stamp, just pass the sy-uzeit.
Thanks,
Guru -
How to convert epoch time stamp to timestamp.
Hi,
I need a help regarding how to convert the epoch Time stamp, to oracle date and time format.
for example,
for epoch time stamp:1204104116656
the time stamp should be :2008-02-13 12:43:00.351
Please help me on the sameSQL> select timestamp '1970-01-01 00:00:00' + numtodsinterval(1204104116656/1000,'second') from dual;
TIMESTAMP'1970-01-0100:00:00'+NUMTODSINTERVAL(1204104116656/1000,'SECOND')
27-FEB-08 09.21.56.656000000 AM
SQL> select (timestamp '1970-01-01 00:00:00' + numtodsinterval(1204104116656/1000,'second')) at time zone tz_offset('EST') from dual;
(TIMESTAMP'1970-01-0100:00:00'+NUMTODSINTERVAL(1204104116656/1000,'SECOND')
27-FEB-08 08.21.56.656000000 AM -05:00
SQL> select (timestamp '1970-01-01 00:00:00' + numtodsinterval(1204104116656/1000,'second')) at time zone tz_offset('PST') from dual;
(TIMESTAMP'1970-01-0100:00:00'+NUMTODSINTERVAL(1204104116656/1000,'SECOND')
27-FEB-08 06.21.56.656000000 AM -07:00
SQL> select (timestamp '1970-01-01 00:00:00' + numtodsinterval(1204104116656/1000,'second')) at time zone tz_offset('Europe/Berlin') from dual;
(TIMESTAMP'1970-01-0100:00:00'+NUMTODSINTERVAL(1204104116656/1000,'SECOND')
27-FEB-08 03.21.56.656000000 PM +02:00
SQL> select (timestamp '1970-01-01 00:00:00' + numtodsinterval(1204104116656/1000,'second')) at time zone tz_offset('Canada/Mountain') from dual;
(TIMESTAMP'1970-01-0100:00:00'+NUMTODSINTERVAL(1204104116656/1000,'SECOND')
27-FEB-08 07.21.56.656000000 AM -06:00SY. -
File name for append processing mode with time stamp
Hi Experts
we are doing file to file scenario using the processing mode as Append.
the requirement for us to append the files and we need to have new file name with time stamp added to the appended file.but in the processing mode of the file adapter either we can append or add time stamp. thatz the problem I am facing now.
we are doing file based processing not message based ,micheal blog regarding the dynamic file name is for message based not for file based.
Please provide your valuable comments.
Thanks
FaheemHi mohamed,
I suggest you to map the target source structure to the required filename u want, like for example ur filename is input26062008.txt means to the target structure u perform the following mapping
constant (input) concat with currentdate function --> concat with constant .txt --> map this concat to target. So u will get the filename u expected with the time.
Then in the communication channel u select the mode as append. Now ur requirement will get solve i think so. plz try.
Regards,
Murugavel -
Using Numbers, I need to time-stamp each line in a table for when it was entered
I need to time-stamp each line in a table for when it was entered.
I have a formula which is
"=IF(F18="","",NOW())"
it gives me the answer I want, but every time I edit any data in the formula is recalculates the date/time to reflect the most recent edit. I do not want to do this. I am open to any and all solutions including using a script. I do not really know anything about scripts except that they are really easy to use once it's written.
I have a formula i use in excel but it requires circular references in excel. I tried using this formula in numbers but I get the error that says I cannot reference a cell that references back to the cell i’m inputting the formula into (circular reference. It is easy to use in excel just by limiting the # of iterations in preferences. I can’t seem to find any such preference in numbers. Do you know of one? here is the formula:
"=IF(D4=”",”",IF(B4=”",NOW(),B4))"
I use it to time stamp each line in a spreadsheet. It is the only way to keep all the previous line from recalculating everytime I add a new line. If I can’t use this formula, do you know of a way to timestamp each line without having it update everytime I add a line or edit the form?
Thanks in advance- I know this isn’t exaclty an easy question but I have honestly looked everywhere
emelyHi Emely,
Check the Insert menu:
The highlighted item is slightly misnamed, requiring a bit more than a simple selection (or keypress combination*) to act as a time stamp.
Simply choosing the menu item willproduce the result shown in A2: A time and date value is entered, but only the Date part is displayed.
Setting the cell format to Date and Time, with both parts displayed (as I've done in column B) does show both parts of the Date and Time value, but as you can see, the time part is set to midnight, as it is in any cell where you have entered only the Date part of a Date and Time value. The date was entered here in the same manner as in A3.
To enter both the current Date and current Time, the process has a few more steps:
Select the cell
Go Insert > Date & Time
Before confirming the entry, double-click the cell (now showing the Date) to open this small dialogue:
Click the pop-up menu under Choose Date format:
Choose the last item in the list.
Results as shown in A4 and B4 of the table above.
Regards,
Barry
•Regarding the KB shortcut shown: The Mac OS lets you define a KB shortcut for any top-level menu item. The one in the menu is a user-defined keypress combination, made to be easily remembered, not to be physically convenient to use. If doing your own, you may want to try for something eassier to get your fingers on. -
Dv video time stamp with analog input
Hi,
I have a dv video which I want to time stamp with a analog input. For the video, which is dv brought into the computer with ieee1394, LabView calls up a C++ program which then stores the video. Simultaneously, in the program which calls up the C++, an analog signal is also stored (seperately). I know it sounds tricky as well as messy but this is the best we've been able to work out, given the uncorroperative nature of LabView with dv camera. Does anyone have suggections for time stamping these two signals so that I know exactly where in the video the analog signal occurs? The PCI board we use is the NI 6014, which I know is timestamp capable, but I dont know if it can stamp the video feed since it doesnt come in through the NI card.
All thanks in advance for any help!
DanielDaniel,
Does your DV camera have any sort of timing or triggering signals? Without these, it will be virtually impossible to correlate measurements. It is cetainly possible to accurately time an analog input with your DAQ card, but correlating these to the digital video would be extremely difficult. Is this video streaming in real time? Or are you reading it off of an already-recorded tape? If this video is streaming in real time, with an acquisition started in software, I would suggest attempting to start the software DV reading at the same time as your DAQ task. If you do have an external signal that can trigger the video acquisition, then I would suggest using that same signal to start your analog acquisition.
Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments -
Any ideas on which data element to be used for select-options for timestamp on the screen so that a user is able to f4 help too.
i am using data element 'tzntstmps' but i am not getting f4 help for it.Hello Trivenn
I do not think it makes sense to search for any other timestamp data element which might be part of a search help.
TZNTSTMPS = UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
How could such a search help look like? A calendar control combined with some kind of "time control"?
You may facilitate the entry of time stamps in such a way that if the user enters only a date in the LOW field (e.g. 20080422 without time) you change it AT SELECTION-SCREEN (PBO of your selection screen to 20080422000000).
Correspondingly, you change a date value (e.g. 20080422) at the HIGH field into 20080422235959).
If, however, the user enters already a complete timestamp you do not change anything.
Regards
Uwe -
Date and time stamp for the file
Hi Experts,
My Requirement is to create a csv file with the name testfile_date×tamp.
If i select add time stamp in the receiver file communication channel the file be as testfile_yyyymmdd_hhmmss_XXX.
The XXX is message id which comes by default by selecting add timestamp option.
but, i don't want the message id displayed in the file name.As i know from the blogs we can reach this requirement as per Michels blog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
I am not clear in the mapping. after writing the udf, to which filed i need to map with that udf.
can you please tell me stel by step how how to do mapping and how to achieve the requirement. request you to send the code forthe udf.
Thanks
RahulHi,
you can wirte udf and map it to root element of the target message type. u just need to execute the udf.
UDF:
// UDF havs one input parameter - timestamp
Code:
DynamicConfiguration conf = (DynamicConfiguration) container .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
String OldFileName = conf.get(key);
String newFileName = "";
if (OldFileName != null) {
newFileName = "testfile_" +timestamp ;
conf.put(key, newFileName);
return newFileName;
Mapping:
Date (standard function) [Formmat yyyyMMdd_hhmmss] -> UDF -> MesageType.
Thanks.
Ritu -
Time stamp is not getting updated for File Adapter in communication channel
Hi All,
Since yesterday, I am observing that the time stamp of communication channel for File adapter is not gettingupdated some times.
I had to stop and start the communication channel to update the time stamp.Please let me know if anyone has come across such issue or any useful notes on this.I could not find any related notes on Market place.
Regards,
DinakarHi,
This is happening only with one communication channel which is sender in derection.Any reason why it is happening like this?since the restart of the communication channel it is getting update now.I really do not know how to delete/create the communication channels as this was done our PI consultants.Pls guide me.
Regards,
Dinakar
Maybe you are looking for
-
How to Close PO relate Inbound Deliveries w/o posting goods issue?
Hello, Recently someone helped me in trying to find the status in the ABAP Dictionary of an Inbound Delivery. So thanks! I have another question, is there a way to close the Inbound Delivery without posting to goods issue or while its still open in t
-
I have erased everything buit that didn't work, I have tried to reinstall from the apple disk so...I am thinking it is time for a new hard drive( I think, but not sure) where do I get one and if I sdo will it help the problem? Thanks sssail3 at aol d
-
Windows 7 and Networks with High Latency
We are currently trying to rollout Windows 7 on our network to replace XP but have encountered an issue whereby we have remote clients that access the network over high-latency satallite links (BGAN and Vocality/Satellite). The latency of the links (
-
Re: Error During VBOF in rebate process
Hello Friends, I am running the program SDBONT06 through transaction VBOF. I am getting the following error after running the program: Document Number U001 (Billing Number) 2007 was already assigned.Pl. treat this as URGENT issue. Thanks in advance,
-
Does anyone know if I can use my old Apple Laser printer 16/1600 with my iMac 10.6.8. When I switched to 10.6.8 it won't print. Can't find any software upgrades on the Apple support site. The printer does not have USB connection. It's a great printer