Explain about Data Types INT1, INT2, INT3, INT4 & NUMC
could anyone explain about the data types and give examples.
INT1: 1-byte integer between 0 and 255. The length is set to 3 places for this data type.
INT2: 2-byte integer between -32767 and 32767. Fields of this type should only be used for length fields. These long fields are positioned immediately in front of a long field (type LCHR, LRAW). With INSERT or UPDATE on the long field, the database interface enters the length which was actually used in the length field. The length is set to 5 places for this data type.
INT4: 4-byte integer between -2147483647 bis 2147483647. The length is set to 10 places for this data type.
NUMC: Long character field in which only numbers can be entered. The length of this field is limited to a maximum of 255 places.
Check this:
http://help.sap.com/saphelp_nw70/helpdata/EN/cf/21f2e5446011d189700000e8322d00/frameset.htm
Thanks...
Shambhu
Similar Messages
-
Can anyone Explain about Data conversion for Material master In SAP MM
Can anyone Explain about Data conversion for Material master, Vendor In SAP MM
ThanksHi,
Refer following link;
[Data Migration Methodology|http://christian.bergeron.voila.net/DC_Guide/Data_Migration_Methodology_for_SAP_V01a.doc] -
What is it about data types of local variables?
Hey there!
I'm trying hard to access the booleans, whose refnums got stored into an array. As the example show, everything's fine unless I start using local variables: I can access the data in the topmost FOR loop. As soon as variables come into play, it seems as if I have to explicitly typecast the data. Is it just me? There has to be a less complicated way... can anybody give me a hint?
Kind regards,
Severin
Attachments:
data types of local variables.jpg 96 KB
data types of local variables_7.11.vi 39 KBHi Severin,
The output from that property node is of variant data type. You can convert it to boolean by using the Variant to Data VI. See attached example
Sarah
Applications Engineer | National Instruments | UK & Ireland
Attachments:
data types of local variables_7.11.vi 41 KB -
About data type and cur/unit
Hello Gurus,
(1) in flat file data source, all the data type are char originally. should I change them to corresponding data type ?
(2) for cur/unit, how to set ?
Many thanks,
Frank ZhangHi...
(1) in flat file data source, all the data type are char originally. should I change them to corresponding data type ?
It depends on ur requirement...........Specify the data types according to the fields that you want to upload from the flat file.........If the data for your flat file was staged from an SAP system..... there are no problems when transferring data types into BI...........Please note that you might not be able to load the data types DEC and QUAN for flat files with external data............ Specify type CHAR for these data types in the transfer structure........... When you load...... these are then converted into the data type...... which you specified in the maintenance of the relevant InfoObject in BW.........
2) for cur/unit, how to set ?
U can define the unit/currency in the key figure............ Either the key figure has a fixed unit/currency or the unit/currency comes from a characteristic....... If the key figure does not have a fixed unit you can determine this........
Suppose u r creating a keyfigure Amount.........In the Type/unit Tab........in Type/Data Type choose Amount..........Then in the Data Type ...........Choose Currency..........If u hav any Fixed Currency.....eg : EUR............put it in the firld.......Fixed currency.........otherwise if variable..........then put 0CURRENCY in the field Unit / currency..................same setting can be done for Quantity also.......
Hope this helps.......
Regards,
Debjani........ -
Hi, all.
I tried to create a data object with string type in my process.
When I tried to choose type string, I found there were two types of string.
One was "string - http://schemas.xmlsoap.org/soap/encoding/" and the other was "string - http://www.w3.org/2001/XMLSchema".
My questin is that is there any difference between these two types of string?
If yes, what is the effect for each one?
Thanks a lot.Hi Louis,
To put it the abstract way: These are two different types and you'd need to use the one which fits best to your project. Both are named 'string' and follow the same purpose, but as together with their namespace they are as different as boolean and integer.
"http://schemas.xmlsoap.org/soap/encoding/" is the type string that is coming from SOAP while "http://www.w3.org/2001/XMLSchema" is one of the atomic types XMLSchema knows. NetWeaver BPM needs to support both as both may occur in a customer implementation.
Nevertheless I would propose using the atomic XMLSchme type ("http://www.w3.org/2001/XMLSchema") as this would be the 'standard' one when someone asks for using a string in some XML document.
Hope that helps,
Martin -
I want to ask you about data types model in SQLDDM. Can anybody of you to explain me what about are all links between structured types, which I can to use, or when i get more information about it ? Thanks.
Hi,
you can find explanation here Data Modeler Concepts and Usage
Well, cardinality as it's shown there is not supported.
If you hover the mouse over buttons you'll get hints what they are used for.
Here is a more real picture:
1) red line is inheritance
2) blue line with diamond at one end and arrow at other end represent a reference (order_typ has a reference to a customer) or collection of references ( car is made by parts)
3) blue line with filled diamond represent a containment of a structured type (customer_typ has a cust_address_typ embedded into it) or a collection of embedded types (a person can have several addresses)
In relational model you can set 'View details" to "Expand complex types":
and you'll get details about used complex types:
Philip -
Regarding creation of data type from an excel sheet
hi experts,
I am to create a data type which has 2000 fields. details about data type is in excel sheet.
Is there any way i can convert this excel sheet to xsd and impot it in XI
or there is any other way to do it fast.
Or i will have create it manually one by one element.
thanks
JaideepHi,
By default the occurences in the DTD will be Only One Occurrence.
In the DTD you have to delclare the occurences as below and then convert to XSD using XML spy.
Declaring Only One Occurrence of an Element
Declaring Only One Occurrence of an Element
<!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
The example above declares that the child element "message" must occur once, and only once inside the "note" element.
Declaring Minimum One Occurrence of an Element (put + sign after the message)
<!ELEMENT element-name (child-name+)>Example:<!ELEMENT note (message+)>
The + sign in the example above declares that the child element "message" must occur one or more times inside the "note" element.
Declaring Zero or More Occurrences of an Element (put * sign after the message)
<!ELEMENT element-name (child-name)>Example:<!ELEMENT note (message)>
The * sign in the example above declares that the child element "message" can occur zero or more times inside the "note" element.
Declaring Zero or One Occurrences of an Element (put ? sign after the message)
<!ELEMENT element-name (child-name?)>Example:<!ELEMENT note (message?)>
The ? sign in the example above declares that the child element "message" can occur zero or one time inside the "note" element.
http://www.w3schools.com/DTD/dtd_elements.asp
Regards,
Krishnaraju
Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:24 AM
Edited by: v r krishnaraju mudunuri on Feb 20, 2009 1:25 AM -
Explain about the Models...
Hi friends...
Can anybody explain about the models in webdynpro, and also explain about its types as well as its functions....
Thanks in advance...
GSHi SatishKumar,
As WD is based on the MVC paradigm models represents the backend of the this
architecture.
Now the Models can be categorized in 2 ways:
1. Adaptive and Deprecated.
2. RFC,Webservice,Bean.
Now the Adaptive models follow CMI(Common model Interface) specs.
For information on the CMI look into the documents on the SAP Netweaver Documention.
Also,the following document would give you a good idea of the same.
<a href="http://help.sap.com/javadocs/NW04S/current/cm/index.html">CMI documentation</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115">How to use CMI</a>.
This will give you sufficient information to start with the CMI.
Now for the other classification which's pretty straight:
1.WebService Model: Is like any other webservice uses SOAP request response.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e">Adaptive Web Service Model</a>
2.RFC: Is a function module made in ABAP uses JCO for interacting internally.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de">Adaptive RFC Models</a>
3.Bean Model: Java Bean Classed should follow the Java Bean specification.
<a href="/people/anilkumar.vippagunta2/blog/2005/09/02/java-bean-model-importer-in-web-dynpro Bean Model Importer in Web Dynpro</a>
Regards
Amit -
XPath support for Date data type.
Hi,
I am using XPathAPI class for extracting data from an XML source.I have a column in the data which has date type (any date type supported by MS SQL, Ms Access etc).I want to select only some rows from that column.I'm not aware if XPath provides operations on date types.
Is there any way I could compare two date values using XPath expressions??
thanx,
regards.After checking XPath 1.0 recommandation (http://www.w3.org/TR/xpath), I see nothing about date type support.
You will have to try little tricks, like converting 2002/09/05 into a number 20020905, making it available for < and > comparisons... -
Data types - integer element...
Hi all,
I have a little doubt!
Im creating a data type and when I need to specify the length of my integer element with fraction values, I have two gaps to fulfill: first TotalDigits and the second is FractionDigits. My question is: If I have an integer (7, 2) my TotalDigits is equal to 9 or 10? I dont know if coma (,) counts in TotalDigits?
Thanks in advance,
Ricardo.Hi Ricardo,
Yes, i agree its better to solve in mapping , you can use DateTrans, please see my replies in this thread and other replies you will get a good idea,
Conversion for String to Date?
And in case you are willing to learn about data types and xsd in SAP XI, Did you see this pdf,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/25c78f79-0801-0010-1e8d-c7f911cf25d1
Page 8 onwards.
Regards,
Anirban. -
Target Site Column Data Type are Undefined Status
Hi,
When I created the mapping,there was a error about data type. Data types of columns were not changed, and datatypes status are undefined.
I take this error as below;
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: The source datatype is null for the column: <ColumnName>, and the technology: Hyperion Planinng
ODI 10.1.3.5
SQL Server 2005
Hyperion Planning 11
How can I changed the datatypes? Is there a problem with hyperion planning site? How can assign the data types?
thanks.First of all the error you posted
"The source datatype is null for the column: <ColumnName>, and the technology: Hyperion Planinng"
Which points to Hyperion planning....
Anyway, if as you say it is file to SQL Server, check the DataStore for the reversed SQL server table, check the columns have a Type assigned to them
Cheers
John
http://john-goodwin.blogspot.com/ -
ATG extending OOTB enumerated data type
Hi All,
If i have to add a extra payment group/option to an data-type="enumerated" in ATG repository, should we ,
1) Use the OOTB table in our extended orderRepository.xml???? Coz ATG recomends to use auxiliary when extending the OOTB properties.
2)Should we mention all the OOTB options along with my custom option????
3) Will there be any SQL change for adding a extra option in the enumarated data-type????
4)Can you please let me know more about data-type="enumerated" .
<item-descriptor name="paymentGroup" sub-type-property="type" version-property="version" expert="true" cache-mode="simple" display-name-resource="itemDescriptorPaymentGroup" item-cache-timeout="180000">
<table name="dcspp_pay_group" type="primary" id-column-name="payment_group_id">
<attribute name="resourceBundle" value="atg.commerce.OrderRepositoryTemplateResources"/>
<property name="type" data-type="enumerated" default="paymentGroup" expert="true" category-resource="categoryInfo" display-name-resource="type">
<attribute name="useCodeForValue" value="false"/>
<option value="paymentGroup" code="0"/>
<option value="creditCard" code="1"/>
<option value="giftCertificate" code="2"/>
<option value="storeCredit" code="3"/>
<option value="MyPaymentGroup" code="3"/>
<option value="invoiceRequest" code="5000"/>
<attribute name="resourceBundle" value="atg.commerce.OrderRepositoryTemplateResources"/>
<attribute name="propertySortPriority" value="10"/>
</property>
</table>
RegardsHi,
You can use OOTB tables for this requirement as you are not changing the table definitions.
No SQL change is required.
You need to mention all the OOTB options when you say xml-combine as replace. Make sure that you are getting the correct repository xml file after combining by examining the template definition thro dyn admin.
One more good practice is use reasonably greater value to the code to your custom option (instead of giving the next number) as it would help during migration.
For Ex, in your example you have given code as 3 for your custom option. If ATG adds one more payment group they would use this code. If you use something like 100, it avoids the rework during migration.
Hope this helps.
Keep posting the updates / questions.
Thanks,
Gopinath Ramasamy -
Equals(=) vs. LIKE for date data type
First, I'm aware that the equals (=) operator is a "comparison operator compares two values for equality." In other words, in an SQL statement, it won't return true unless both sides of the equation are equal. For example:
SELECT * FROM Store WHERE Quantity = 200;
The LIKE operator "implements a pattern match comparison" that attempts to match "a string value against a pattern string containing wild-card characters." For example:
SELECT * FROM Employees WHERE Name LIKE 'Chris%';
Here,
I query about date type data on ORACLE database, I found the following, when I write select statment in this way:
SELECT ACCOUNT.ACCOUNT_ID, ACCOUNT.LAST_TRANSACTION_DATE FROM ACCOUNT WHERE ACCOUNT.LAST_TRANSACTION_DATE LIKE '30-JUL-07';
I get all rows I'm looking for. but when I use the sign equal = instead :
SELECT ACCOUNT.ACCOUNT_ID, ACCOUNT.LAST_TRANSACTION_DATE FROM ACCOUNT WHERE ACCOUNT.LAST_TRANSACTION_DATE = '30-JUL-07';
I get nothing even though nothing is different except the equal sign. Can I find any explanation for this please ?You are relying on implicit datatype conversions between DATE and VARCHAR2. This is not only bad practice but it's unreliable as it depends on NLS_DATE_FORMAT parameter settings.
My NLS_DATE_FORMAT parameter is different from yours, so if I do the same sort of test...
SQL> select * from emp;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-1980 00:00:00 800 20
7499 ALLEN SALESMAN 7698 20-FEB-1981 00:00:00 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-1981 00:00:00 1250 500 30
7566 JONES MANAGER 7839 02-APR-1981 00:00:00 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-1981 00:00:00 1250 1400 30
7698 BLAKE MANAGER 7839 01-MAY-1981 00:00:00 2850 30
7782 CLARK MANAGER 7839 09-JUN-1981 00:00:00 2450 10
7788 SCOTT ANALYST 7566 19-APR-1987 00:00:00 3000 20
7839 KING PRESIDENT 17-NOV-1981 00:00:00 5000 10
7844 TURNER SALESMAN 7698 08-SEP-1981 00:00:00 1500 0 30
7876 ADAMS CLERK 7788 23-MAY-1987 00:00:00 1100 20
7900 JAMES CLERK 7698 03-DEC-1981 00:00:00 950 30
7902 FORD ANALYST 7566 03-DEC-1981 00:00:00 3000 20
7934 MILLER CLERK 7782 23-JAN-1982 00:00:00 1300 10
14 rows selected.
SQL> select * from emp where hiredate like '19-APR-87';
no rows selected
SQL> select * from emp where hiredate = '19-APR-87';
no rows selected
The LIKE operator is intended to be used for strings... DON'T attempt to use them on dates, and remember when you specify dates that you need to use TO_DATE (or the DATE internal format) to convert your string to DATE datatype
e.g.
SQL> select * from emp where hiredate = date '1987-04-19';
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7788 SCOTT ANALYST 7566 19-APR-1987 00:00:00 3000 20 -
Activation error while changing the data type of a field of a table
hi friends,
i am facing one problem while changing a data type of a field of a table.
i just created one table(Yqm32) .i have assigned charcter data type to one field(ztotal_count) .now i want to change this charcter data type to numeric data type.
while changing to NUMC data type activation error is comming as below.
Table is not yet classified
Field ZTOTAL_COUNT: Type change
ALTER TABLE is not possible
Structure change at field level (convert table YQM32)
Check on table YQM32 resulted in errors
Table YQM32 could not be activated
(E- Structure change at field level (convert table YQM32)
plz suggest.i need to change the data type from char to numc.
Thanks & RegardsHi Pabitra......
From the SE11 change the table as u wanted and then from menubar select
UTILITIES--> DATABASE UTILITY
It will open database utility
there u select the Activate and adjust database button.
then the database table will get adjusted.
just try it once.........
Suresh...... -
Explain me briefly about evaluation order.As per my knowledge it show data type order.but I have different data type in same dimension ex:account->acc_001 is smart list data type.account-ac_002 is percentage.So fot this i will accont dim in evaluation order.What going can any one explaining brifly ?
2786712 wrote:
thanks John for reply.If you dont mine can you explain clearly with example and screenshot.
@John: You got a task
Here you go: Hyperion Planning and More...
Maybe you are looking for
-
OK, I figured out my problems with creating a patter from a JPEG! Woo Hoo! However, I'm wanting to create a pattern that will not have seams in it. For instance, I'm filling a path that is about 12 inches by 12 inches with the pattern I created, but
-
Reminders based location not working
Can't set up a reminder based location on my iPod.This option does not appear when I make a reminder.I cam only set it up to remind me on a date and time but not on a location.PLEASE HELP. P.S I have an iPod Touch 4g and running iOS 5.
-
hi , i am new to j2ee. how to install j2ee in linux? i have downloaded java_ee_sdk-5_05-linux-nojdk.bin. should i download anyother packages? Can anyone guide me through the installation or a site that tells a step-by-step procedure. Thanks in advanc
-
Sorry for the newbie issue - I just haven't been able to figure this out... I inherited maintenance of a old Oracle Forms Application, I was told it was version 5. And all the source modules were appended with "v05" like form1_v05.fmb, etc. I since d
-
Hi, We have a table with a list of Centers (the town our offices our located), I query this to get my list of centers and load it into a Javascript array to display it in a dropdown box. What I would like to do is generate seperate queries to get the