Could I define the DAT-Format as default format in Diadem 9.x or 10.x ?
Hello,
could I define the old DAT-format as default format in the different dialog (navigator etc..) in the new Version of diadem (9 or 10) ?
Thanks
Hello,
unfortunately this is not possible.
Since DIAdem 9 we also have the wish to configure it, but ever got the answer that the new TDM-fomat is the new standard.
For your own you could write a little one-row-script like
Call FileNameGet("NAVIGATOR", "FileRead", DataDrvUser&"*.dat", "DD8x")
and connect it with a SCRIPT - shortcut to start it with e.g. the SHIFT+F1 - keys...
With regards
Sven
Similar Messages
-
How to define the date format for this date string
2006-11-13 00:00:00.0
How to define the date format in control file for sqlldr. "yyyy-mm-dd hh24:mi:ss" or "yyyy-mm-dd hh24:mi:ss.FF1" does not work
thanks,SQL> desc t
Name Null? Type
TS TIMESTAMP(6)
SQL> !cat t.ctl
load data
into table t
truncate
(ts timestamp "YYYY-MM-DD HH24:MI:SS.FF1")
SQL> !cat t.dat
2006-11-13 00:00:00.0
SQL> !sqlldr userid=scott/tiger control=t.ctl data=t.dat log=t.log
SQL*Loader: Release 10.2.0.3.0 - Production on Fri Sep 7 11:19:28 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 1
SQL> select * from t;
TS
13-NOV-06 12.00.00.000000 AMBest regards
Maxim -
Convert the date into user default date formate
I am wrinting a bdc and i want to convert the date into user default date farmate ..please suggust the functiom module should i use...
actually by using dats or d type you can get the user specific date itself.
but if u have different dates format that need to be converted to the user specific date then you can follow below procedure
1. retrieve the user format from usr01
SELECT SINGLE datfm
INTO w_datfm
FROM usr01
WHERE bname EQ sy-uname.
pass w_datfm to the below FM (4th import parameter)
2. create Z - FM and retrieve the user secific date
FUNCTION ZFXX_USER_SPECIFIC_DATE.
""Local Interface:
*" IMPORTING
*" VALUE(IW_DAY) TYPE CHAR2
*" VALUE(IW_MONTH) TYPE CHAR2
*" VALUE(IW_YEAR) TYPE CHAR4
*" VALUE(IW_DATFM) TYPE USR01-DATFM
*" EXPORTING
*" VALUE(EW_USER_DATE) TYPE CHAR0008
*1 DD.MM.YYYY
*2 MM/DD/YYYY
*3 MM-DD-YYYY
*4 YYYY.MM.DD
*5 YYYY/MM/DD
*6 YYYY-MM-DD
CASE iw_datfm.
when '1'.
concatenate iw_day iw_month iw_year
into ew_user_date.
when '2'.
concatenate iw_month iw_day iw_year
into ew_user_date.
when '3'.
concatenate iw_month iw_day iw_year
into ew_user_date.
when '4'.
concatenate iw_year iw_month iw_day
into ew_user_date.
when '5'.
concatenate iw_year iw_month iw_day
into ew_user_date.
when '6'.
concatenate iw_year iw_month iw_day
into ew_user_date.
when others.
clear ew_user_date.
endcase.
ENDFUNCTION. -
Getting an error when using adobe photoshop CC, "Could not move the data because of a program error". Any idea on what this means?
Have no idea of what you were even doing in Photoshop my crystal ball is out for repairs so I can not see.
-
Error: please enter the date value in correct format DD-MON-RRRR
Hi all,
First of all I am 100 % learning oracle financial no technical background. I am trying to run a report: -the calendar does not appear in order for me to choose the date -Besides that when I enter the date ie 10-09-2010 or 10/09/2010 the system give me this error "Error: please enter the date value in correct format DD-MON-RRRR "
please help me solve that.
Thanksplease enter date in 12-Oct-2010 format.
regards,
http://www.oraerp.com -
Installer could not locate the data it needed... Entourage 2008
Hi, I'm a bit of newbie to Mac's... I am trying to work out why a copy of Entourage 2008 I have wont install... I have posted on the Mactopia forums but with no success, so I thought I would try here, as I am not sure if it is an Entourage/Microsoft issue or a Mac OS issue. Every time I try to install my downloaded e2008.iso (came with my Exchange server rental) I get the following error: "Install Failed. The installer could not locate the data it needed to install the software. Check your install media or internet connection and try again or contact the software manufacturer for assistance". I am assured that the download I have is complete and 'verified'. When I double click the .iso file, it mounts and then opens - i then click through 'Office Installer_mpkg / contents / distribution.dist to begin the install. If anyone has any advice on what I might be doing wrong I would appreciate it! Thanks.
Thanks - it is reputable (should be...) as it is from the company i get my exchange server rental through, part of the 'package' is a download of entourage or outlook. Unfortunately they do not offer very good mac support... Have gone back to them to make it their problem! thanks all the same.
-
PC Sync could not update the data to the mobile ph...
Ok now I am a little annoyed with my Nokia 6680.
For the last four months it has been working fine but all of a sudden it has stopped synching with either of my PC's.
The phone connects ok and I can do file transfers etc however when I try to sync it fails with the message
"The Synchronisation has been Terminated!"
and
"PC Sync could not update the data to the mobile phone."
I updated PC Sync to latest version on both PC's and I have tried cable and bluetooth connections but get the same issue.
In the end I bit the bullet and re-initialised the phone and it began working again.... for three days and then its doing the same thing again. It still connects ok but no sync.
My Laptop is using WinXP SP2 and my home PC is on WinXP SP1.
Anyone able to help with this please, my phone is effectively now a paper weight and I will go back to Pocket PC phones again.Thanks for the tip I had the SAME problem on the 6822 same error. The phone had been fine for a month or so. Then nothing would synch, thought it was the PC fixed / reinstalled the software changes options nothing would work same error.
Read your note, powered down the phone and Bingo all synched fine!
Thanks very much. I'm using a Nokia 6822 -
I'm trying to run the following query against Active Directory using the ADSI Provider using SSMS 2012 SP1:
SELECT
TOP901
*FROMOpenQuery
ADSI
'SELECT description
FROM ''LDAP://OU=MMICorporate,DC=mmis,DC=mi,DC=com''
WHERE objectClass = ''User''
and objectcategory = ''Person''
and ''userAccountControl:1.2.840.113556.1.4.803:''<>2
)AStblADSI
Msg 7346, Level 16, State 2, Line 2
Cannot get the data of the row from the OLE DB provider "ADsDSOObject" for linked server "ADSI". Could not convert the data value due to reasons other than sign mismatch or overflow.
I only have this issue querying the Description Field.
I also found a hotfix KB: 887474 for this but it is for Windows 2003. SQL Server OS I have is Server 2008 R2. Is there a fix for 2008 R2?
ThanksThanks for the quick response.
I checked out the link and I can only convert to Ul8 and when I try I get the same error:
SELECT
TOP901
*FROMOpenQuery
ADSI
'SELECT name, convert(UI8, description)
FROM ''LDAP://OU=MMICorporate,DC=mmis,DC=mi,DC=com''
WHERE objectClass = ''User''
and objectcategory = ''Person''
and ''userAccountControl:1.2.840.113556.1.4.803:''<>2
)AStblADSI
Am I missing something?
Thanks -
How to print the data in ALV list format using an existing layout
Hi all
Iam displaying the output in ALV list format and I saved the layout with some name
now my requirement is i have to provide a field to select the layout name with F4 help and if i execute the program it should show the output with that layout format
I tried this iam getting F4 help for that layout and selecting the layout but iam not getting the output with that layout iam getting the normal basic layout
Can anyone send me a sample program code or what to do to get that
Thank youHi,
refer this code.
DATA : wa_variant TYPE disvariant, "Work area for variant
wa_variant1 TYPE disvariant, "Work area for variant
wa_layout TYPE slis_layout_alv, "Work area for layout
*& Form sub_get_default_variant *
This form will initialize the variant *
FORM sub_get_default_variant .
*--Clear
CLEAR wa_variant.
*--Pass the report name
v_repid = sy-repid. "Report ID
wa_variant-report = v_repid.
*--Call the function module to get the default variant
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = c_save
CHANGING
cs_variant = wa_variant1
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
*--Check Subrc
IF sy-subrc = 0.
p_varnt = wa_variant-variant.
ENDIF.
ENDFORM. "sub_get_default_variant
*& Form sub_f4_for_variant *
This form will display the List of Variants *
FORM sub_f4_for_variant .
*--Local Variables
DATA: lv_exit(1) TYPE c. "ALV exit
*--Call the function module to display the list of Variants
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = wa_variant
i_save = c_save
IMPORTING
e_exit = lv_exit
es_variant = wa_variant1
EXCEPTIONS
not_found = 1
program_error = 2.
*--Check Subrc
IF sy-subrc <> 2 AND lv_exit IS INITIAL.
p_varnt = wa_variant1-variant.
ENDIF.
ENDFORM. "sub_f4_for_variant
*& Form sub_check_variant *
This form will check the variant *
FORM sub_check_variant .
IF NOT p_varnt IS INITIAL.
CLEAR wa_variant1.
MOVE wa_variant TO wa_variant1.
MOVE p_varnt TO wa_variant1-variant.
*--Call the function module to check the variant exist
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = c_save
CHANGING
cs_variant = wa_variant1.
wa_variant = wa_variant1.
ENDIF.
ENDFORM. "sub_check_variant
Regards,
Prashant -
How can I set the date today as default value in a parameter?
Hi,
I have in my report a date parameter and I want to set as default value the date today.
How can I do this?
Thanks in advanceIf you are using a datatemplate , you can have a beforereport trigger that will have a package call.
In the package spec, define a date variable and also define the function beforereporttrigger that retruns boolean.
In the body, define the beforereporttrigger function with
begin
select sysdate into specvariable from dual
return(true);
end;
You can then use the variable in the datatemplate as :variable.
Hope this helps.
- Vasu - -
Could not see the data in the cube
Hi all,
Iam trying to load data from one cube to another. Everything is fine but Iam not able to see the data in the new cube.
I created 2 cubes--> Cube A new & cube B new which are copied from existing cubes cube A and Cube B. I need to load data from these new cubes cube Anew & cube B new to another cube (cube C new) which is also a copy of existing cube C. I created update rules and activated them.I tried to load the data into the cube C new. I can see the load to be green but I cannot see the data in the cube C new. it shows 0 records in cube C new. there are records in cube A new & cube B new.
Can anyone plz help me out.
Thanks in advance.
Thanks,
Preethi.Hi Balu,
I dont know what exactly the problem was but even after the load was successful i could not see any records in the new cube. The source cubes had 60,446 and 7595 records. but the target cube had 0 records.
I ran the program SAP_FACTVIEWS_RECREATE as Bhanu suggested and deleted the data from the new cube(inspite of having 0 records I deleted them). I tried to load the data again which was successful and I could see the data in the new cube.
Hope its clear.
Thanks,
Preethi. -
How to get the Date in a particular format?
Hi,
How to get the Date in the below format? I will be passing the year in my method..
2/10/2003 9:46:52 PM
D/M/YYYY H:M:S A
public Date getDate (String year) {
Here i want to get the Date in this format
2/10/<Passed Year> 9:46:52 PM
ThanksThis is my code
public static Date getCalendar(Calendar calendar,int getYear) {
String formatted_date="";
int year = getYear;
int month = calendar.get(Calendar.MONTH+1);
int day = calendar.get(Calendar.DATE);
int hour = calendar.get(Calendar.HOUR);
int min = calendar.get(Calendar.MINUTE);
int sec = calendar.get(Calendar.SECOND);
int am_pm =calendar.get(Calendar.AM_PM);
formatted_date = month+"/"+day+"/"+year+" "+hour+":"+min+":"+sec+" PM";
System.out.println("formatted_date is "+formatted_date);
o/p : formatted_date is 1/4/2006 1:44:21 PM
SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
// DateFormat dateFormat =DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
Date passdate = new Date();
try {
passdate = dateFormat.parse(formatted_date);
} catch (ParseException e) {
System.out.println("Invalid Date Parser Exception "+e.getLocalizedMessage()+"DateFormat is "+dateFormat);
System.out.println("The Date inside the function is "+passdate+"and the year passed is "+year);
o/p : The Date inside the function is Sat Apr 01 00:00:00 IST 2006and the year passed is 2006
return passdate;
Expected O/P is 3/1/2006 1:44:12 PM
} -
How could I Encrypt the data of SDO_GEOMETRY type using DBMS_CRYPTO package
Hi:
I want to Encrypt the data of SDO_GEOMETRY object type using DBMS_CRYPTO package.
What could I do? hope anyone can help me,give me a suggestions!
thanks in advance.
lgswell, the spatial api would not be able to handle this data anymore, so what you are trying to do is converting an SDO_GEOMETRY to some cryptable user type (see http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_crypto.htm#sthref1506) and encrypting this.
Before using the SDO_GEOMETRY type will have to decrypt and reconvert it again and pass it to the spatial query or function. -
When reading from the file validate the date 'DD/MM/YYYY' format
Hi,
reading from the file ,validate the date format 'DD/MM/YYYY'.
Thanks & regards
venkataI suppose that you are writing a program in some programming language, probably PL/SQL. So, you can use TO_DATE function and handle the exception when it occurs.
create or replace procedure tstdt
as
stdt varchar(10);
dt date;
begin
stdt := '20/10/2006';
dt := to_date(stdt);
dbms_output.put_line('date is correct
exception
when others then
dbms_output.put_line('Invalid Date');
end;[],
Miguel -
How to define the DATE fields in itab for uploading the data?
Hi Experts,
Am uploading the data from Excel sheet to Z table via my_itab.
So, there r 3 Date fields in Z table, which are defined as DATS(8).
So, pls. let me know that, How I hv to define the itab-date_one, itab-date_second, itab-date_three, weather CHAR(10) or sy-datum or concatenation??
thanqHi Sri, follow like this.
First Move that Excel Sheet Data to Internal Table Using Function Module ALSM_EXCEL_TO_INTERNAL_TABLE.
And you can insert that internal table data to Database Table Using INSERT Command.
First upload Data From Excel Sheet to ITAB with Required Structure. Once the Data Comes...
And Declare another Internal Table (ITAB1) Type Database Table name.
And Use Insert Database Table From ITAB1.
Check this Example.
TABLES:MARA.
DATA:BEGIN OF ITAB OCCURS 0,
MATNR LIKE MARA-MATNR,
MBRSH LIKE MARA-MBRSH,
MTART LIKE MARA-MTART,
MEINS LIKE MARA-MEINS,
END OF ITAB.
DATA:ITAB1 LIKE MARA OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
ITAB-MATNR = '123ABCDA'. .
ITAB-MBRSH = 'C'.
ITAB-MTART = 'FERT' .
ITAB-MEINS = 'KG' .
APPEND ITAB.
ITAB-MATNR = '123ABCDB'. .
ITAB-MBRSH = 'C'.
ITAB-MTART = 'FERT' .
ITAB-MEINS = 'KG' .
APPEND ITAB.
LOOP AT ITAB.
MOVE-CORRESPONDING ITAB TO ITAB1.
APPEND ITAB1.
ENDLOOP.
LOOP AT ITAB1.
INSERT MARA FROM ITAB1.
MODIFY MARA .
ENDLOOP.
or,
By using type pools TRUXS our problem my be solve.
Take one internal table like your standard data base table and
one internal table for truxs like
DATA: it_raw TYPE truxs_t_text_data.
DATA: itab like mara occurs 0 with header line.
Use FM
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = it[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
Now looping that and updated to data base table.
hope this helps.
kindly reward if found helpful.
cheers,
Hema.
Maybe you are looking for
-
Last image placed in the document comes up as being modified constantly
I have an indesign issue. Running CS4 (6.06) and CS5 (7.0.4) On snow leopard 10.6.8 On a Mac Pro Quad-Core Intel Xeon My problem is that when I have a document with images in for some reason it seems that the last image placed in the document comes
-
TargetFilename in the Outbound File Adapter
Hi all, I have created an interface that sends projects form SAP PS (by tRFC) to a file directory (using an outbound file adapter). Each project is created as a individual file. All this works well, but the filenames created for the files are not ver
-
Hello I took the ToolArea.par file (the origin) and imported it into the WD to work on it, even though I made no changes when I upload it to the portal I get an error. What should I do to make the par work, this is not the only one I need to change,
-
[new] Goggles Music Manager
Goggles Music Manager is a music manager and player. Xine/sqlite3 are used as backend, while FOX is used for the gui. Homepage: http://fifthplanet.net/gmm.html # Contributor: Sander Jansen <[email protected]> pkgname=musicmanager pkgver=0.5.2 pkgrel=
-
Xproto-7.0.14-1-i686.pkg.tar.gz File unavailable
Right after a fresh installation and "pacman -Syu" I'm running "pacman -Sy nvidia" now. It doesn't find the xproto file anywhere, although I can see them when I browse the repos directly. I noticed that this file is in [testing] and uncommented those