Date a time char??
Is date a time charactersitic?
How can we maintain time characteristics?
Hi Siddiqua
For DATE its DATS
For TIME its TIMS
We can also maintain date and time in decimal format.
Thanks
Tripple k
Similar Messages
-
How to add new time char of IC to multiprovider
Hi Experts,
Could any pne help in how to include the newly added time char in two infocubes out of 5 infocubes of multiprovider
Thanks In Advance
NityaHi Nitya,
Right click on Multiprovider--changedrag and drop time char in to dimensionnext click on Identify characteristic--here you need to select the info providers from which you to get data for time char. ie you need to selet the required two cubes out of five.
Regards
Surendra
Edited by: vaade surendra on Mar 27, 2010 5:20 AM -
Date and Time in the flat file
Hi All,
I am trying to design a flow which will get data from a flat file. The file has a field which contains both the time and date. How can I handle this in BW? Do I need to creat 2 infoobjects and split the flat file field in start routine or transfer rule? Or is there any stadard infoobject which can hold both the data and time?
Also, the client asked me if I want a .CSV file or .XLS file. Which one is better for uploading into BW? Any PROS and CONS?
Best Regards,Hi,
There is no single Data Type which accepts the Date and Time. Other way is to look the data as CHAR. Else the Update Routine/Formula is the Best
In the Update Rule or Transfer Rule use the Formula
Let the Info Objects be
0date
0Time
The Transfer Rule/ Update Rule Formulas Be
0Date --> LEFT( 8, 'DateTime' )
0Time --> RIGHT(6, 'DateTime')
Then CSV is the best Option to accept the Data as it is ready for Upload
Regards
Happy Tony -
How to read date and time with Oracle_Loader (10g)
ip pc username date time
1.1.1.1 WS1 test 2000/01/01 01:01:01
I am trying to read the date and time from data formatted as above from a .txt file.
create TABLE test (IP char(20), OCID char(15), ID char(30), date_logon date, time_logon date)
ORGANIZATION EXTERNAL (TYPE ORACLE_loader DEFAULT DIRECTORY phonebook
ACCESS PARAMETERS (FIELDS TERMINATED BY WHITESPACE
(IP char(20),
OCID char(15),
ID char(30),
date_logon char(30) DATE_FORMAT DATE MASK "yyyy/mm/dd",
time_logon char(30) date_FORMAT date MASK "hh24:mi:ss"))
LOCATION ('test.log'));
However, my external table returns a date (2007-05-01) AND the time for the time_logon column (e.g. 2007-05-01 01:01:01) . I just want the time (e.g. 01:01:01).
What am I doing wrong?
*I tried: date_logon char(30) DATE_FORMAT DATE MASK "yyyy/mm/dd hh24:mi:ss", reading both the date and time at the same time, but it doesn't work.
Thanks.Justin, thank you so much for your help.
When I try:
SELECT a.ip, a.ocid, a.id, TO_CHAR( a.date_logon, 'DD-MON-YYYY HH24:MI:SS' )
FROM test a
date_logon entries are all dd-mon-yyyy and 00:00:00 (i.e. no time was stored).
I don't have control over the text file, so I don't think I can make any changes to the formatting.
I tried to declare the column as 'timestamp':
date_logon char(60) DATE_FORMAT timestamp MASK "yyyy/mm/dd hh24:mi:ss",
but time is still displayed as 00:00:00:000.... which leads me to suspect that the culprit is the space between date and time in the text file.
Say if I have 2007/05/25 and 2007/05/01 16:19:23 in two separate date columns. Is it possible to grab the time from the second column and append it to the first column (while still retaining the DATE property, i.e. 2007/05/25 16:19:23).
Thanks! -
hi,
how many types of time char do we have and which are they??here we go with 13 time charecterstics
Tech Name Description type i/plength o/p length
0CALDAY Calender Day DATS 8 10
0CALYEAR Calender Year NUMC 4 4
0CALMONTH Calendar Year/Month NUMC 6 7
0CALQUARTER Calendar Year/Quarter NUMC 5 5
0CALWEEK Calendar Year/Week NUMC 6 7
0CALMONTH2 Calender Month NUMC 2 2
0FISCYEAR Fiscal Year NUMC 4 4
0FISCPER Fiscal year / period NUMC 7 8
0FISCVARNT Fiscal year variant CHAR 2 2
0HALFYEAR1 Half Year NUMC 1 1
0FISCPER3 Posting Period NUMC 3 3
0CALQUART1 Quarter NUMC 1 1
0WEEKDAY1 Weekday NUMC 1 1 -
How to judge if one string is date or time
hi everyone,
how to get to check if one string means date or time? Any sugestion is appreciated.
JulianHi julian ,
just give the example for a string how u are storing the formats for date and time in ur system ,
i mean what is the length of the date field and time field in ur text format
will it be same ,,if so give us a value (or a set of values )to work on a specific logic
cause system takes 8 chars for date field and 6 chars for time field ,,
also ur requirement is asking for a date or time check on a specific string ,
but i cant put the same string for two fields check ...
if that is the scenario y dont u put
field string
DXXXXXX,
TXXXXXX,
DXXXXXX,
DXXXXXX,
TXXXXXX,
this way ..
differentiate with a tag
field string+0(1) = 'D', --->DATE FIELD
ELSE TIME FIELD.
regards,
vijay
data date type d value '20061014'.
DATA TIME TYPE T VALUE '154633'.
WRITE (8) TIME USING EDIT MASK '__:__:__'. "Output: 15:46:33
write (10) date using edit mask '__/__/____'.
write time using edit mask '______'.
*my logic is system uses internally 8 chars for date field and 6 chars
*for time field -
Data and time characteristics found in character and keyfigures?
hi all,
I can find date and time found in both characteristics and keyfigures. Can anyone tell me in which scenario we shall select date and time considered in characteristics and when shall we select date and time for keyfigures.
can anyone explain me with an scenario.
regds
hariHi,
date and time will be key figures in the case if you want to do some calculation based on them like subtraction or multiplication ( you can do it i also thorugh formula valriables but it has it's limitation)and they are not going to be used as drilldown or for selection variables in the reports.
If you want only selection and drilldown on then then you should go for char.
Thanks -
Hi,
What precautions i need to take to replace a time char with another time chat into a infocube and infocube is in production.
Thanks in advance
krish
Edited by: kris202729 on Dec 19, 2011 3:45 PMIt's depend upon which Time Char. you are adding.
1) I assume that 0CALDAY already in the flow and you are including 0CALMONTH which is mapped to 0CALDAY then there is no impact on production data.
2) If 0CALMONTH already in the flow and you are including 0CALDAY then new data of 0CALDAY will come on date when you are included 0CALDAY production data.
Regards,
Sushant -
Time Char-remodelling an Infocube
Hi,
My Requirment is to include a New Time Chars (0CALMONTH2) into the Exisisting Cube with Historical Data by performing Remodelling.
Can we include a Time Char by Remodelling and fill the Data
Thanksdid you activate the cube after adding the new time chars? After activation, the new chars would append to the transformations at the bottom( last) of source fields
-
Hi All,
What will be the best and the fastest way to add a time char in a standard cube... i need to add 0 calweek, 0calmonth, 0calquarter and 0fiscal year in the standard cube... I am not worry about the data i just need the fastest way to add theses time char in my cube.... Your help is appreciated
Thank you
SAP BIHi,
You can use either of the below methods.
Double click on the cube>Go to edit mode>Add the info objects in the time dimension.
OR
Use Remodelling to add these info objects.
-Vikram -
Time Conversion - DataSource to User Defined Time Char w/Ref
Hi, I have a Transformation into a DSO and i have created User Defined Time Char w/Ref.
ZSSDCALW 0CALWEEK Sched Ship Yr / Week
ZSSDCALM 0CALMONTH Sched Ship Yr / Mon
ZSSDCALM2 0CALMONTH2 Sched Ship Month
ZSSDCALY 0CALYEAR Sched Ship Year
ZSSDCALQ 0CALQUARTER Sched Ship Yr / Qtr
ZSSDCALQ1 0CALQUART1 Sched Ship Quarter
The source of these fields is not an InfoObject for an InfoObject to InfoObject assignment. The source of these fields is a date field zzschedate from 2LIS_11_VAITM and are currently set to direct assignment.
In the Transformation assignment only the 1st 2 new fields (ZSSDCALW and ZSSDCALM) show up with the Conversion Exit PERI6. The others do not show a conversion exit being assigned. Note: I read something about Function RST_TOBJ_TO_DERIVED_TOBJ, but not sure if this comes into the equation automatically.
Questions:
Can I directly assign the date field into all of these user-defined characteristics and conversion will automatically take place?
Or will it do it incorrectly because they are user defined date fields with reference?I just wrote the routines in ABAP to finalize this question
-
How to conevert Milliseconds in to date nad time format?
hi
i m doing the program inwhich i want date and time of the network camera.I wirte theprogram but it gives out put in milliseconds(Since 1970),i want to convert it into current date and time.how could i do this
please help me...................thanx to all of u ..........i m using falowing code for the get time ......which is in mil seconds ....it is in string fromat...........now pls tell me
import javax.microedition.midlet.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import java.io.*;
public class TimeClient implements Runnable {
private TimeMIDlet parent;
private Display display;
private Form f;
private StringItem si;
private SocketConnection sc;
private InputStream is;
private String remoteTimeServerAddress;
public TimeClient(TimeMIDlet m) {
parent = m;
display = Display.getDisplay(parent);
f = new Form("Time Client");
si = new StringItem("Time:" , " ");
f.append(si);
display.setCurrent(f);
public void start() {
Thread t = new Thread(this);
t.start();
public void run() {
try {
sc = (SocketConnection)
Connector.open("socket://"+remoteTimeServerAddress+":13");
is = sc.openInputStream();
StringBuffer sb = new StringBuffer();
int c = 0;
while (((c = is.read()) != '\n') && (c != -1)) {
sb.append((char) c);
si.setText(sb.toString());
} catch(IOException e) {
Alert a = new Alert
("TimeClient", "Cannot connect to server. Ping the server
to make sure it is running...", null, AlertType.ERROR);
a.setTimeout(Alert.FOREVER);
display.setCurrent(a);
} finally {
try {
if(is != null) {
is.close();
if(sc != null) {
sc.close();
} catch(IOException e) {
e.printStackTrace();
public void commandAction(Command c, Displayable s) {
if (c == Alert.DISMISS_COMMAND) {
parent.notifyDestroyed();
parent.destroyApp(true);
} -
After migrating data from Time Machine, some of my photos are not showing up in iPhoto LIbrary view. I get a 'dashed rectangle." When I click on it I get ' ! in a Triangle" When I click on that, I actually can see the photo. I want to see all my photos in 'Library' view, and I can't figure out how these photos seem to be arbitrarily hidden. Help, please.
Try these for the first attempt:
First be sure to have a backup copy of the library if you already don't have one.
OT -
Date and Time in Sender File Adapter Target Directory
Hi there,
is there a way of using Date and Time from XI to the Target Directory naming? To use variable substitution some fields of the message had to contain that date and time information, which is not our case.
For filename you can use "add time stamp" option, but and for target directory?
Thanks and regards,
Henrique.> <i>Do you have further information on how to perform
> this with shell commands?</i>
> >> You need to write a shell script. This script will
> add the date/time stamp into the folder in the target
> system. This shell script is executed from the File
> adapter. So once the file is written into the target
> directory, then it will rename the directory.
Hi there, Moorthy
We've tried to write that shell script that you mentioned, but now we have a few doubts on how to make it create the proper directory.
In the file adapter, my target directory is "/%var1%/%var2%/", where %var1% and %var2% are variable substitutions, referencing data which comes from the payload. Now, I need the shell script to append "/<Year>/<Month>/" in the target directory. But where to archive the script? If it stays in the root directory, than how to make it create "/<Year>/<Month>/" folders inside a directory which is variable (/%var1%/%var2%/)?
Is there a way of passing %var1% and %var2% as parameters for the shell script?
Thanks a lot,
Henrique. -
I just got a new 256GB SSD drive for my mac, I want to import my data from time machine backup, but its larger than 256GB since it used to be on my old optical drive. How can I import my latest backup keeping out some big files on the external drive?
Hello Salemr,
When you restore from a Time Machine back up, you can tell it to not transfer folders like Desktop, Documents. Downloads, Movies, Music, Pictures and Public. Take a look at the article below for the steps to restore from your back up.
Move your data to a new Mac
http://support.apple.com/en-us/ht5872
Regards,
-Norm G.
Maybe you are looking for
-
How to restrict login from client?
Hi all, 11gR2 How do I restrict login from client users, because I want to backup our database using expdp, and I do not want anybody updating the database. I can not use the startup restrict becuase some client have dba privs. I am thinking of shutt
-
How do i install an os onto an imac 2008?
I recently purchased an imac 2008 and I don't know how to install an OS. The keyboard and mouse did not come with it, but I do have a Magic Mouse as well as a wireless keyboard. Any help would b e appreciated.
-
I am trying to print from my laptop Toshiba Model A665, to my printer, HP Deskjet 950C/952C/959C The printer and laptop are connected. The printer is going through the motions, but the paper is coming out blank. Is there a way to see if the ink cartr
-
Itunes had an error and shutdown while updating my iphone 4. Itune tells me my phone is in recovery mode and I must use restore before im able to use itunes. I cannot do anything on my phone now. It shows icons telling me to connect to itunes. I
-
Use the description of an UDF in a query
Hi all, I have create a UDF and I haven´t linked a User table to it. I have insert some values for it. I´m trying to do a query where appears the descriptions of these values, but I can only show in the query the value. Is it possible to show the val