Problem with time stamp conversion
Hi All,
I am using the below code to convert timestamp to date and time , its working fine when i print it with write statement .
But i want to convert and pass the time and date with format to excel sheet , but its it taking again as string not in date time format .
please see the below code .
time_stamp = 20030309043000.
CONVERT TIME STAMP time_stamp TIME ZONE tz
INTO DATE dat TIME tim.
*WRITE: /(10) dat, (8) tim .
please suggest .
Now that you've converted your time stamp to date (type d) and time (type t), convert them into alphnumeric fields like you want or tell excel what is in that column, since Excel isn't telepathic...and doesn't always know what we sent it....
data: date10(10) type c.
time8(8) type c.
write dat to date10 mm/dd/yyyy. "converts type d to user's specific date setting (not necessarily mm/dd/yyyy).
concatenate tim(2)
tim+2(2)
tim+4(2)
into time8 separated by ':'.
I do wish that I understood the fascination with Excel....when we have such marvelous tools to work with inside SAP or BW.
Similar Messages
-
Hello,
I got mistake in ODS manage like this:
The time stamp in the source system is 24.09.2007
The time stamp in the BW is 23.05.2009.
I have problem to load data in ODS.
What should I do ?? Replicate the data source ? But then it's possible to get double data. What to do ??
THXI replicated data source, source system and loaded data one more time and I have got the same mistake.
this:
Error message from the source system
Diagnosis
An error occurred in the source system.
System response
An error occurred in Service API .
Check the error message.
Procedure
The procedure for removing errors takes place depending on
the error message:
Note
If the source system is a Client Workstation, then it is possible that the file that was to be loaded was being edited at the time of the data request. Make sure that the file is in the specified directory and is not being edited, and restart the request.
AND ALSO mistake WITH TIME STAMP -
Problem with Time stamp function module for converting US to Japan
Hi All,
I need standard function module for converting US Timestamp to Japan, Can any one let me know is there any standard function modules.
thanks in advance!
Regards,
Kalidas.T
Edited by: Kalidas Thirumoorthy on May 5, 2009 5:29 PM
Edited by: Kalidas Thirumoorthy on May 5, 2009 5:30 PM
Edited by: Kalidas Thirumoorthy on May 5, 2009 5:30 PMTry this way:
CONVERT TIME STAMP <tst> TIME ZONE <tz> INTO DATE <d> TIME <t>.
CONVERT DATE <d> TIME <t> INTO TIME STAMP <tst> TIME ZONE <tz>.
<tst> is of type P(8) or P(11) with 7 decimal places
<tz> of type C(6)
Refer to help.sap.com for more details. -
Facing problem with Time stamp
Hello,
I need a help. I have a requirement, where I have to change the image of a label from "Tradeable" to "Non tradeable" after 15 seconds.
Can anyone please tell me how can I implement it. I am using JSF in my screen.
Thanks & Regards,
RDCheck out the JavaScript pages for a solution. you should be able to load both images into div tags where one is visible and the other hidden. Using a JavaScript time you should then be able to swith the visibilities after a set time has passed. The only problem I for see is some time the page space can be thrown off when you hide and show div tags.
-
Is there anyone having problem with Clone Stamp in CS4?
Good Morning, I am using Photoshop CS4 Extended with Windows Vista Ultimate 64 bit. My computer is a Dell XPS 430, WITH 8GB of ram, 1.5TB of disk space, ATI Radean HD 4800 Series adapter with 512MB memory. When I bring up an image in Photoshop and click on Clone stamp I get the error message "could not use the clone stamp because of a program error." I can still use Clone Stamp, but with some wied reults. Sometime the middle of the brush turns bright white and do nothing. Again it will clone the item clicked on, but would move the spot being cloned. Other times when the brush is move from the spot being cloned it will clone other area without cliking on them.
I have uninstalled and reinstalled Photoshop 4 times. I have created a new account with administrative rights, which I unistalled and reinstalled Photoshop. Two of the times that I uninstalled Photoshop I also used the Photoshop script to make sure all of Photoshop were uninstalled. I have also cleaned the register of Photoshop before reinstalling Photoshop. Another item used to make sure there was no error with Vista was Windows cleanup installed tool.
Yesterday I checked my laptop and I am getting the same results as my PC. The most recent thing that has been updated on both the PC and Laptop was Windows updates and Camera Ram 5.4. Attached is a copy of a wierd result using clone tool. I just clicked on the image and the orange spot appeared. Is there anyone else who is having similar problems with Clone Stamp?Have you applied the Photoshop 11.0.1 Patch?
Have you updated the video drivers?
If that doesn't help, try resetting your preferences as described in the FAQ.
http://forums.adobe.com/thread/375776?tstart=0
You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
This resets all settings in Photoshop to factory defaults.
(A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.) -
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 -
Can someone help with a previous post labeled "Writing to a data file with time stamp - Help! "
Can someone possibly help with a previous post labeled "Writing to a data file with time stamp - Help! "
Thankswhats the problem?
Aquaphire
---USING LABVIEW 6.1--- -
Problem with File Content Conversion
Hi All
I am facing a problem with file content conversion.
This is my sample file structure:
Header_Record (Occurance - 1)
Field1 in Header
Field2 in Header
Item(Occ-1 to n)
Field3 in Item
Field4 in Item
<<ItemType>> (Structure in Item) (Occ - 0 to n)
<<Field5>> in ItemType
<<Field6>> in ItemType
<<ItemTypeCategory>> (Structure in ItemType)(Occ - 0 to n)
<<<<Field7>>>> in ItemTypeCategory
<<<<Field8>>>> in ItemTypeCategory
Footer_Record (Occurance-1)
Field9
Field10
There is a key field 'Type' in all the above records with unique value in each record.
Now, I defined Field content conversion as follows:
Recordset Structure: Header_Record,1,Item, * , ItemType, * ,ItemTypeCategory, * ,Footer_Record,1
Recordset Sequence: Ascending
KeyField Name: Type
Following are parameters defiled:
Header_Record.Keyfieldvalue: 00
Header_Record.fieldseperator: ,
Header_Record.fieldnames: Field1,Field2
Header_Record.endseperator: 'nl'
Item.keyfieldvalue: 05
item.fieldseperator: ,
item.fieldfieldnames: field3,field4
item.endseperator: 'nl'
ItemType.keyfieldvalue: 10
itemType.fieldseperator: ,
itemType.fieldfieldnames: field5,field6
itemType.endseperator: 'nl'
ItemTypecategory.keyfieldvalue: 15
itemTypecategory.fieldseperator: ,
itemTypecategory.fieldfieldnames: field7,field8
itemTypecategory.endseperator: 'nl'
Footer.keyfieldvalue: 20
Footer.fieldseperator: ,
Footer.fieldfieldnames: field5,field6
Footer.endseperator: 'nl'
Now, i pass the following file:
00,111
05,222
10,333
15,444
20,555
What i expect out of my FCC is this (Sample output to show the hierarchy of field values):
00,111
05,222
<<10,333>>
<<<<15,444>>>>
20,555
But, I am getting this output (Hierarchy is missing. All the structures are in the same order without hierarchy):
00,111
05,222
10,333
15,444
20,555
Field values are being identified according to field content conversion, but, the hierarchy of the fields is missing.
Can you please tell me how should i change my FCC config?
Sorry for this long question.
Many Thanks
Chandra
Edited by: Chandra Sekhar H on Jan 30, 2009 7:10 PM
Edited by: Chandra Sekhar H on Jan 30, 2009 7:16 PM
Edited by: Chandra Sekhar H on Jan 30, 2009 7:17 PMYou will always get a flat structure from FCC. If you want hierarchichal strucuture, you have to create a target and map. You will get only like -
Root
--Recordset
Group1
Fields
Grop2
Fields
Group3
Fields
VJ -
Problem with file content conversion in receiver file adapter
Hi All
I have a problem with file content conversion in receiver file adapter.
This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1
These are the content conversion parameters:
Header_Record.fieldSeparator = ,
Header_Record.endSeparator = 'nl'
Claim_Record.fieldSeparator = ,
Claim_Record.endSeparator = 'nl'
Check_Rec.fieldSeparator = ,
Check_Rec.endSeparator = 'nl'
In SXMB_MONI, i can see that the data is correctly extracted from proxy, and correctly mapped to receiver message, and i see a checkered flag (success).
But, Adapter status is RED with the following error message:
Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
In communication channel monitoring, i get the following error message:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
What is going wrong here? Can anyone please tell me?
Thanks
ChandraPosted in Incorrect forum.
Posted again in Process Integration forum -
Mail attachment with time stamp
Hi
My scenario is Proxy to Mail.
On receiver side I am getting the data as an attachment but i want that attachment with time stamp.
How to add time stamp to the attachment in reciever mail adapter.
Regards
Sowmya
Edited by: Sowmya on Aug 28, 2008 12:24 PMhi sowmya,
The bellow link for MessageTransformBean..
[http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]
In that ContentDisposition is used to fill the value for Attachment file name..
Its allows the value accordingly "RFC1806" Note..
RFC1806 allows accordingly RFC822 ..
Check RFC822 ..
5. DATE AND TIME SPECIFICATION
Regards,
Prakasu -
How to read multiple Digital samples and plot a chart with time stamps
Hi,
Could anyone send me a code that:
1. Reads 'multiple samples(lets say 4) from single digital input'
2. 'plot digital data as a chart with time stamps'
3. Find frequency
4. Log data into file with time stamps
I have attached the code which i tried.
Thanks,
LK
Attachments:
DigitalNSample.vi 27 KB
DigitalNSample.vi 27 KBHi,
Could anyone send me a code that:
1. Reads 'multiple samples(lets say 4) from single digital input' using NI USB 6009 or NI USB 6251.
2. 'plot digital data as a chart with time stamps'
3. Find frequency
4. Log data into file with time stamps
I have attached the code which i tried.
Thanks,
LK
Attachments:
DigitalNSample.vi 27 KB -
Hi, I have the following problem with Time Capsule: La imagen del disco de copia de seguridad “/Volumes/Data/MacBook Pro de Carlos.sparsebundle” ya está en uso. Please your comments to solve this problem, i can't made a backup. Thanks.
Try Here > http://pondini.org/TM/Time_Capsule.html
Perhaps P 2 > Time Machine could not complete . . . sparsebundle could not be accessed. (Error 109). -
TDMS viewer not showing data with time stamp
Need help with time stamping data in a TDMS file generated by DAQ Assistant.
When I use the TDMS Viewer, with the x-scale set to absolute time, the date starts at 1903. If I use Excel to look at the file the start time is correct (i.e. 2013).
Solved!
Go to Solution.Bo_Xie, I have simplifed my VI and now able to display the correct time stamp. Thank for your time!
-
Advertisement Details of Specific Computer with Time Stamp
Hello Guys,
Could you please help me how to get Advertisement Details of Specific Computer with Time Stamp?
Thanks in Advance.
MukhyapranaIt's true that there is no reliable install date, but IMO last status time for an advertisement is usually close enough.
Select r.name0, adv.advertisementname, stat.laststatename, stat.lastexecutionresult, stat.lastStatusTime
from v_r_system r
inner join v_clientAdvertisementStatus stat on stat.resourceID = r.resourceID
inner join v_advertisement adv on stat.AdvertisementID = adv.AdvertisementID
where r.name0 = 'clientname'
order by adv.advertisementname -
Apache Trinidad is running with time-stamp checking enabled.
Experts,
Contents of my web.xml file
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>When my application runs i get the following on the weblogic console
<ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
<UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
Isnt it a bit strange ? Please advise what is wrong.
thnks
jdev 11.1.2.1If you're talking about the integrated WLS, time-stamp checking is automatically enabled no matter what so that changes you make in the IDE can be picked up. It's nothing to worry about.
John
Maybe you are looking for
-
Firefox won't load .mov files online but plays them locally: QT problem?
My website has several pages with embedded .mov files, which used to play perfectly well, but now only give a question mark after the progress bar fills up. For example, one of these pages is http://www.paulozelinsky.com/shivers-animation2a.html Fire
-
i've got a new computer and when i plug in my ipod, the message says this ipod is synced with another itunes account. do you want to erace the contents and set up with this itunes. i want one account only but don't want to loose my ipod contents.
-
hi friends, i am facing a critical issue. i have created a shopping cart with 5 items.the prices in the shopping cart are same as maintained in the info record in backend system.After approval te shopping cart, PO is created in the backend R/3,but th
-
Send to Motion - audio and video not in sync
I'm using FC Studio 1 on a new iMac 2.4GHz Core 2 Duo with 2Gb memory. I've noticed that when I send to 'motion', my audio slips, losing the first second or so resulting in an un-synced clip. Does anyone know why this is happening and what I could do
-
Problem with Managing Subscriptions (URL)
The problem consists of which I cannot create the sindicador, entrance the URL of the subscriber and the respective user, but at the time of Get Catalogue sends the following message: Error: Error en la conexión con el sindicador (No ICE server) I ho