Inconsistency during recon with UDF fields with date type
We have several fields type Date in the UDF definition. Birthdate, for example.
We recon'd a bunch of users, and some users have their birthdate (and other dates, like start and end dates UDF) showing up at YYYY/MM/DD 00:00:00 in the database, while others show up as YYYY/MM/DD 01:00:00
This obviously is bad. Has anyways seen this behavior before?
Thanks.
Hi Hiney,
I am not sure what version of OIM you are, but I got errors like yours last year and it was resolved with an article (Oracle Metalink) ID 1146555.1. Please go there and let me know if you are facing the same issue that I got. And follow the solution there.
I hope this helps.
Thiago Leoncio Guimaraes
Similar Messages
-
Adding fields with data type "TIMS" to the BP transaction
hi all,
This is Anil regarding the addition of fields to the BP transaction.
here my problem is for BP transaction I could not find any BADI or screen exit to add the fields. Even EEWB tool does not allow us to cretate the fields with data type "TIMS". so could you please suggest any other way to add these fields to BP?
when I enter the values to the time fields in BP transaction, they must reflect in
BUT000 table also?
Regards,
Anil .In the physical layer, Column Properties change the data type to int.
If still problem exists, In the Business Model, write a case statement like
case when column1=1 then 1 end
and apply count aggregation on the new calculated column,add the column to presentation table, use that new calculated column for report.
- Madan -
JDBC MS Access--- cannot extract entry with null value with data type Meta
I'm trying to extract a data entry with null value by using JDBC. The database is MS Access.
The question is how to extract null entry with data type memo? The following code works when the label has data type Text, but it throws sqlException when the data type is memo.
Any advice will be appreciated! thanks!
Following are the table description and JDBC code:
test table has the following attributes:
Field name Data Type
name Text
label Memo
table contents:
name label
me null
you gates
Code:
String query = "SELECT name, label FROM test where name like 'me' ";
ResultSet rs = stmt.executeQuery(query);
while (rs.next())
String name = rs.getString("name");
rs.getString("val");
String label = rs.getString("label");
System.out.println("\t"+name+"\t"+label);
catch (SQLException ex)
System.out.println(ex.getSQLState());
System.out.println(ex.getErrorCode());
System.out.println("in sqlexception");
output:
C:\Temp\SEFormExtractor>java DBTest
yet SELECT name, label FROM test
null
0
in sqlexceptionThe question is how to extract null entry with data type memo?Okay, what you need to do is this:
if (rs.getString("val") == null)
// do something
}This way, when it's a null value, you can check it first, and then handle it how you want, rather than getting an exception. -
Difference between DEclaring Itab with DATA & TYpe Statement?
HI Friends,
What is the Difference between Declaring Itab with DATA & TYpe Statement?Hi,
The Statements TYPES and DATA
Each ABAP program define its own data types using the statement.
TYPES dtype TYPE type ...
and declare its own variables or instance attributes of classes using the statement
DATA var {TYPE type} ...
Within the program or a class, you can also define local data types and variables within procedures. Local variables in procedures obscure identically-named variables in the main program or class.
When creating data types and data objects, there are a number of naming convention that also apply for other local program definitions, such as procedures. These are described in detail in the keyword documentation.
The Additions TYPE and LIKE
The additions TYPE type and LIKE dobj are used in various ABAP statements. The additions can have various meanings, depending on the syntax and context.
· Definition of local types in a program
· Declaration of data objects
· Dynamic creation of data objects
· Specification of the type of formal parameters in subroutines
· Specification of the type of formal parameters in methods
· Specification of the type of field symbols
TYPES: BEGIN OF struct,
number_1 TYPE i,
number_2 TYPE p DECIMALS 2,
END OF struct.
DATA: wa_struct TYPE struct,
number LIKE wa_struct-number_2,
date LIKE sy-datum,
time TYPE t,
text TYPE string,
company TYPE s_carr_id.
This example declares variables with reference to the internal type STRUCT in the program, a component of an existing data object wa_struct, the predefined data object SY-DATUM, the predefined ABAP type t and STRING, and the data element S_CARR_ID from the ABAP Dictionary.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar. -
Issue with Data type 'Date' in Hyperion Planning V11.1.2.2
Hi,
I have created members with data type date. However when I save the date, it either disappears or comes up with a random date? Has any one come across this kind of problem before?
If so can you share the fix.
Thanks in advance for your help.
Cheers,
XXXHi
This problem is linked to you not having a consistent setting for your date input type.
So, go to application administration and set the date format to MM/DD/YYYY in application settings and display options, under current application defaults. Then after you have done this as a user go to User Preferences and display options and on the date format select the same. Or remove the Automatically detect.
I have seen this behaviour if you have Automatically Detect on the user preferences
Thanks
Anthony -
Need Help with data type conversion
Hello People,
I am new to java, i need some help with data type conversion:
I have variable(string) storing IP Address
IPAddr="10.10.103.10"
I have to call a library function which passes IP Address and does something and returns me a value.
The problem I have is that external function call in this library excepts IP Address in form of a byte array.
Here is the syntax for the function I am calling through my program
int createDevice (byte[] ipAddress).
now my problem is I don't know how to convert the string IPAddr variable into a byte[] ipAddress to pass it through method.Class InetAddress has a method
byte[] getAddress() You can create an instance using the static method getByName() providing the IP address string as argument. -
How to create an item with date type mm/yyyy (no day)
Hello,
Is it possible to create an item with date type mm/yyyy (no day)? I want the pop-up date picker to just show month and year.
Thanks,
JenHi,
you cannot pop-up date picker to just show month and year, but you can set your item format as MM-YYYY
You can check this APEX_ITEM.DATE_POPUP2 at : http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_item.htm#CHDJHBCG (if using apex 4.1) else http://docs.oracle.com/cd/E10513_01/doc/apirefs.310/e12855/apex_item.htm#CHDFDDEI
Edited by: Sergio_doudou on 2012-04-13 14:26 -
Retrieve data on table with data type
Hello,
I want ask, there is query to retrieve data with data type on table SQL Server 2008 R2 ?Please take a look at sp_describe_first_result_set,sp_describe_undeclared_parameters,
and sys.dm_exec_describe_first_result_set. -
Whts the signifacnce of MANDT field wid data type CLNT in DB table ??
nybody pls explain in details?
Whts the signifacnce of MANDT field wid data type CLNT in DB table ??
why fields ( ex- Kunnr - CUSOMER NO. ) is repeated in many tables, but not as a Primary Key , so whts d need to include dis field in many tables? we can fetch the sem field from a single Table?/Hi sager
MANDT is field for client , means it describes the parcular data is for perticular CLIENT.
with this field you can contain data for multiple client is one table, that is the advantege.
and read some basic tutorial .
Thanks & Regards
Prashant Gupta -
How to Transfer Database Table Field to Data Type in XI
Dear All,
Dear All,
I am working on scenario to transfer data(Database Table) from Non SAP System to SAP system through XI.
While Defining "Data Type" in XI i want to create Data Type as of Database table in my(Oracle Database).There is any direct method to import Database Table field into "Data Type" in XI.
thanks,
RPHi;
Edit plus is a tool using which you can edit your file and make changes to it.
You can download it from net ,just search for it on google.
this will help you to get in the field names of the table by editing the file .
Mudit -
How to set a default date for a custom field of Date type in project server 2010.
hi,
can somebody help me.
How Can i set the default date for a custom field of date type in project server 2010 ?Dear Rohan,
You can set default value to custom field thru Lookup table. Assign lookup table to custom field and set default value to some lookup value (Note: check the “Choose a value to use as a default when adding new item” checkbox).
Regards,
Avinash kumar | Blog:http://avigr8.wordpress.com | If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. -
How to set focus on field having data type other than character(eg. NUMC)
Hello all,
I have developed one screen having table control inside. In table control suppose if numeric type field is blank(eg. Employee number of data type NUMC), system should throw error message and should put cursor focus on that perticular filed. In the same table control for fields of data type 'CHAR', I have done this using 'SET CURSOR FIELD' .
Please, suggest me how to set cursor focus on the fileds of data type other that character(eg. NUMC)Have you tried it? SET CURSOR FIELD ... works fine for type 'N' fields in a table control. The restriction is 'character-type' and 'flat'. Type 'N' (or NUMC-like) fields are both.
-
Problem using SELECT-OPTIONS in an InfoSet with a field of data type UNIT.
I have created a simple InfoSet that links MARA with MARM. In the 'Selections' section of the InfoSet I have a variable named 'ZMEINH' defined as
Description: UOM
Selection Text: UOM
Format FOR: MARM-MEINH
EXTRAS: DEFAULT 'PAC' OPTION EQ SIGN I.
When I ran a query to allow selections on the MEINH field, instead of 'PAC' being the default, there was "***" showing in the UOM selection and if I attempted to execute the query it gave me a message that "Unit *** is not created in languague EN'. If I overide the "***" and enter 'PAC', I get the list of records that I expect.
I assume this is because MEINH has a data type of "UNIT".
How can I do a conversion so I can define a default value 'PAC' for MARM-MEINH in the infoSet that will carry through to any queries I created.
Thank you very much for any help.
Richard SalisburyThank you both for you help!
In our T006 there actually is a PAC and not a PAK. The T006A had as DE-PAK though.
I had this same type of language problem when trying to match an "order type". German is the "base" language in our system so maybe that means that raw data is stored with the German constant?
Anyway, I changed it to PAK and it works. When under a time schedule, that is what counts.
Thank you again for the quick response!
Richard Salisbury -
Problem in using a structure with a field of data type 'RAW STRING'
Friends
I have written a ZBAPI that imports a structure which has 5 fields. I have defined this in the IMPORT tab of Tr.Code <SE37>. One of the field of this structure is of data type 'RAW STRING'.
When I try to activate this BAPI, I get an error message as follows:
Function Module ZBAPI_ADD_CONFIG_DNA
"ZDAMPER_CON_DNA" Must be a flat structure. You cannot use internal table
strings, references, or structures as components.
Where ZDAMPER_CON_DNA is the table name that I am using.
FOR TESTING PURPOSE, WHEN I CHANGE THE DATA TYPE FROM 'RAW STRING' TO JUST A CHAR OF LENGHT 5, IT WORKS FINE.
Here is the source code of the simple BAPI that i am trying to activate.
FUNCTION ZBAPI_ADD_CONFIG_DNA.
""Local Interface:
*" IMPORTING
*" VALUE(CONFIG_DNA_DATA) TYPE ZCONFIG_DNA_STRUCTURE
*" EXPORTING
*" VALUE(MESSAGE) TYPE ZRETURNMESSAGE
tables: ZDAMPER_CON_DNA.
ZDAMPER_CON_DNA-CONFIG_ID = CONFIG_DNA_DATA-CONFIG_ID.
ZDAMPER_CON_DNA-STRING_NAME = CONFIG_DNA_DATA-STRING_NAME.
ZDAMPER_CON_DNA-STRING_FORMAT = CONFIG_DNA_DATA-STRING_FORMAT.
ZDAMPER_CON_DNA-STRING_VALUE = CONFIG_DNA_DATA-STRING_VALUE.
ZDAMPER_CON_DNA-OBJECT_NAME = CONFIG_DNA_DATA-OBJECT_NAME.
INSERT ZDAMPER_CON_DNA.
MESSAGE-SUBRC = sy-subrc.
if sy-subrc = 0.
MESSAGE-RETURNMESSAGE = 'SuccessfullyInserted'.
else.
MESSAGE-RETURNMESSAGE = 'Insert Failed'.
endif.
=============
ANY KIND OF FEED BACK WILL BE HIGHLY APPRECIATED.
THANKS
RAMHi ram,
there is no data element exists with the name RAW STRING ,
but check one of these names..
Data element Short text
C2S_RAWSTRING C2-Server: Data Element of Type Rawstring
N2_RAWSTRING Byte String of Variable Length
QISRDRAW_STRING Data in Format RAW Character String
RCF_RAWSTRING Rawstring
RPAP_TEMPLATE_RAWSTRING Blob of Template File
RSRAWSTRING Raw String
RSRD_RAWSTRING Binary Content in the Broadcasting Framework
SWH_RAWSTRING Workflow: Data Type RAWSTRING
WDR_RAWSTRING Byte Sequence of Variable Length
<REMOVED BY MODERATOR>
venkat.
Edited by: Alvaro Tejada Galindo on Mar 7, 2008 5:15 PM -
PROBLEM WITH FIELD WITH DATA TYP FLTP
HI FRNDS
I AM HVNG A REQUIREMNT TO CALCULATE THE BREAKDOWN DURATION .
ACTUALY IN TRANSACTION IW32 WE CAN C THIS FIELD AS EAUSZT . BUT THIS IS COMIGN UP FROM THE STRUCTURE RIWO00 . SO IN TABLE QMIH I CAN C A FIELD AUSZT WHICH IS ALSO THE BREAK DOWN DURATION BUT I AM SEEING THE VALUE TO BE IN A DIFFRNT FORMAT AS FLTP CAUZE THIS FIELD IS OF DATA TYPE FLTP . CAN ANY BODY TELL ME HOW CAN I RETRIEVE MY REQUIRED DATA FROM THIS FIELD . I MEAN IS THERE ANY FUNCTION MODULE TO EXTRACT MY DATA .
THANX
ROHITi think it give u value in sec.
var = var / 3600
u get value in hr
ex--
data: var type AUSZT value '2.1600000000000000E+04'.
data: var1 type p.
var1 = var / 3600.
write:var1.
kishan negi
Maybe you are looking for
-
Does GTC generate default value for Password attribute.??
I am using GTC as trusted source reconciliation. My doubt is if I don't map the password attribute does it generate default value to the password attribute in user form?? I have a random password generator in pre-insert, first i tried as below which
-
after changing email in apple ID don't work imessage I sent messages to be delivered but the messages sent to me are not accepted
-
[JS][CS3] Script to edit script
HI I have made a script that passes values into another script and re-saves the new script. This works fine, but I really need to save as a binary version. Is this possible? Cheers Roy
-
i want to rerun a step after it was marked as failed. if step 1 failed notify the dba and invoke step 1 again else invoke step 2. i wrote the folowing : DBMS_SCHEDULER.DEFINE_CHAIN_STEP( chain_name => 'reports.some_chain', step_name => 'step_1' , pro
-
Hey, Having a problem with CSS styles and using them to get rid of underlines in links.. Here's what we've tried so far... We've entered code into the <head> portion of code and after that there are no more links in the working part (Dreamweaver), bu