Data Type displayed as unknown in Data models

Hi,
When I import ddl file, some of the data types are not getting interpreted correctly in the data model. For eg, data types datetime and signednumber are being displayed as unknown. I tried adding Logical Type mappings for signednumber (Tools-> Types Administration), but it still displays as unknown. Is there any solution for this issue?
Thanks,
Parvathy

Hi Philip,
This is the SQL statement. Sections in Bold are coming as unknown. I'm using Oracle 11g.
CREATE TABLE PS_JOB (
"EMPLID" CHAR(11)
,"EMPL_RCD" NUMBER(3)
,"EFFDT" DATE(10)
,"EFFSEQ" NUMBER(3)
,"PER_ORG" CHAR(3)
,"DEPTID" CHAR(10)
,"JOBCODE" CHAR(6)
,"POSITION_NBR" CHAR(8)
,"SUPERVISOR_ID" CHAR(11)
,"HR_STATUS" CHAR(1)
,"APPT_TYPE" CHAR(1)
,"MAIN_APPT_NUM_JPN" NUMBER(3)
,"POSITION_OVERRIDE" CHAR(1)
,"POSN_CHANGE_RECORD" CHAR(1)
,"EMPL_STATUS" CHAR(1)
,"ACTION" CHAR(3)
,"ACTION_DT" DATE(10)
,"ACTION_REASON" CHAR(3)
,"LOCATION" CHAR(10)
,"TAX_LOCATION_CD" CHAR(10)
,"JOB_ENTRY_DT" DATE(10)
,"DEPT_ENTRY_DT" DATE(10)
,"POSITION_ENTRY_DT" DATE(10)
,"SHIFT" CHAR(1)
,"REG_TEMP" CHAR(1)
,"FULL_PART_TIME" CHAR(1)
,"COMPANY" CHAR(3)
,"PAYGROUP" CHAR(3)
,"BAS_GROUP_ID" CHAR(3)
,"ELIG_CONFIG1" CHAR(10)
,"ELIG_CONFIG2" CHAR(10)
,"ELIG_CONFIG3" CHAR(10)
,"ELIG_CONFIG4" CHAR(10)
,"ELIG_CONFIG5" CHAR(10)
,"ELIG_CONFIG6" CHAR(10)
,"ELIG_CONFIG7" CHAR(10)
,"ELIG_CONFIG8" CHAR(10)
,"ELIG_CONFIG9" CHAR(10)
,"BEN_STATUS" CHAR(4)
,"BAS_ACTION" CHAR(3)
,"COBRA_ACTION" CHAR(3)
,"EMPL_TYPE" CHAR(1)
,"HOLIDAY_SCHEDULE" CHAR(6)
,"STD_HOURS" NUMBER(7)
,"STD_HRS_FREQUENCY" CHAR(5)
,"OFFICER_CD" CHAR(1)
,"EMPL_CLASS" CHAR(3)
,"SAL_ADMIN_PLAN" CHAR(4)
,"GRADE" CHAR(3)
,"GRADE_ENTRY_DT" DATE(10)
,"STEP" NUMBER(2)
,"STEP_ENTRY_DT" DATE(10)
,"GL_PAY_TYPE" CHAR(6)
,"ACCT_CD" CHAR(25)
,"EARNS_DIST_TYPE" CHAR(1)
,"COMP_FREQUENCY" CHAR(5)
,"COMPRATE" NUMBER(19)
*,"CHANGE_AMT" SIGNEDNUMBER(20)*
*,"CHANGE_PCT" SIGNEDNUMBER(8)*
,"ANNUAL_RT" NUMBER(19)
,"MONTHLY_RT" NUMBER(19)
,"DAILY_RT" NUMBER(19)
,"HOURLY_RT" NUMBER(19)
,"ANNL_BENEF_BASE_RT" NUMBER(19)
,"SHIFT_RT" NUMBER(19)
,"SHIFT_FACTOR" NUMBER(5)
,"CURRENCY_CD" CHAR(3)
,"BUSINESS_UNIT" CHAR(5)
,"SETID_DEPT" CHAR(5)
,"SETID_JOBCODE" CHAR(5)
,"SETID_LOCATION" CHAR(5)
,"SETID_SALARY" CHAR(5)
,"SETID_EMPL_CLASS" CHAR(5)
,"REG_REGION" CHAR(5)
,"DIRECTLY_TIPPED" CHAR(1)
,"FLSA_STATUS" CHAR(1)
,"EEO_CLASS" CHAR(1)
,"FUNCTION_CD" CHAR(2)
,"TARIFF_GER" CHAR(2)
,"TARIFF_AREA_GER" CHAR(3)
,"PERFORM_GROUP_GER" CHAR(2)
,"LABOR_TYPE_GER" CHAR(1)
,"SPK_COMM_ID_GER" CHAR(9)
,"HOURLY_RT_FRA" CHAR(3)
,"ACCDNT_CD_FRA" CHAR(1)
,"VALUE_1_FRA" CHAR(5)
,"VALUE_2_FRA" CHAR(5)
,"VALUE_3_FRA" CHAR(5)
,"VALUE_4_FRA" CHAR(5)
,"VALUE_5_FRA" CHAR(5)
,"CTG_RATE" NUMBER(3)
,"PAID_HOURS" NUMBER(7)
,"PAID_FTE" NUMBER(8)
,"PAID_HRS_FREQUENCY" CHAR(5)
,"UNION_FULL_PART" CHAR(1)
,"UNION_POS" CHAR(1)
,"MATRICULA_NBR" NUMBER(5)
,"SOC_SEC_RISK_CODE" CHAR(3)
,"UNION_FEE_AMOUNT" NUMBER(9)
,"UNION_FEE_START_DT" DATE(10)
,"UNION_FEE_END_DT" DATE(10)
,"EXEMPT_JOB_LBR" CHAR(1)
,"EXEMPT_HOURS_MONTH" NUMBER(3)
,"WRKS_CNCL_FUNCTION" CHAR(1)
,"INTERCTR_WRKS_CNCL" CHAR(1)
,"CURRENCY_CD1" CHAR(3)
,"PAY_UNION_FEE" CHAR(1)
,"UNION_CD" CHAR(3)
,"BARG_UNIT" CHAR(4)
,"UNION_SENIORITY_DT" DATE(10)
,"ENTRY_DATE" DATE(10)
,"LABOR_AGREEMENT" CHAR(6)
,"EMPL_CTG" CHAR(6)
,"EMPL_CTG_L1" CHAR(6)
,"EMPL_CTG_L2" CHAR(6)
,"SETID_LBR_AGRMNT" CHAR(5)
,"WPP_STOP_FLAG" CHAR(1)
,"LABOR_FACILITY_ID" CHAR(10)
,"LBR_FAC_ENTRY_DT" DATE(10)
,"LAYOFF_EXEMPT_FLAG" CHAR(1)
,"LAYOFF_EXEMPT_RSN" CHAR(11)
,"GP_PAYGROUP" CHAR(10)
,"GP_DFLT_ELIG_GRP" CHAR(1)
,"GP_ELIG_GRP" CHAR(10)
,"GP_DFLT_CURRTTYP" CHAR(1)
,"CUR_RT_TYPE" CHAR(5)
,"GP_DFLT_EXRTDT" CHAR(1)
,"GP_ASOF_DT_EXG_RT" CHAR(1)
,"ADDS_TO_FTE_ACTUAL" CHAR(1)
,"CLASS_INDC" CHAR(1)
,"ENCUMB_OVERRIDE" CHAR(1)
,"FICA_STATUS_EE" CHAR(1)
,"FTE" NUMBER(8)
,"PRORATE_CNT_AMT" CHAR(1)
,"PAY_SYSTEM_FLG" CHAR(2)
,"BORDER_WALKER" CHAR(1)
,"LUMP_SUM_PAY" CHAR(1)
,"CONTRACT_NUM" CHAR(25)
,"JOB_INDICATOR" CHAR(1)
,"WRKS_CNCL_ROLE_CHE" CHAR(30)
,"BENEFIT_SYSTEM" CHAR(2)
,"WORK_DAY_HOURS" NUMBER(7)
,"REPORTS_TO" CHAR(8)
,"FORCE_PUBLISH" DATE(10)
,"JOB_DATA_SRC_CD" CHAR(3)
,"ESTABID" CHAR(12)
,"SUPV_LVL_ID" CHAR(8)
,"SETID_SUPV_LVL" CHAR(5)
,"ABSENCE_SYSTEM_CD" CHAR(3)
,"POI_TYPE" CHAR(5)
,"HIRE_DT" DATE(10)
,"LAST_HIRE_DT" DATE(10)
,"TERMINATION_DT" DATE(10)
,"ASGN_START_DT" DATE(10)
,"LST_ASGN_START_DT" DATE(10)
,"ASGN_END_DT" DATE(10)
,"LDW_OVR" CHAR(1)
,"LAST_DATE_WORKED" DATE(10)
,"EXPECTED_RETURN_DT" DATE(10)
,"EXPECTED_END_DATE" DATE(10)
,"AUTO_END_FLG" CHAR(1)
*,"LASTUPDDTTM" DATETIME(26)*
,"LASTUPDOPRID" CHAR(30)
)

Similar Messages

  • Date type-specific Customizing missing for date type ACTActPln

    Hi all.
    I'm using a Web Service obtained by copying the CRM 7.0 built-in WS APPTACTCRTRC.
    I'm using it to create Appointments using an Adobe Interactive Form.
    It goes everything fine (a Date is created in the system, with all the input data properly set) excepted the dates...
    The WS uses two TIMESTAMPS, TIMESTAMP_FROM for StartDateTime and TIMESTAMP_TO for EndDateTime, whereas the GUI transaction to create Dates accepts dates and times in separated fields.
    Going in Debug I can see that the execution ends with the following error, referred to the involved entity (CRM_APPOINTMENT):
    Date type-specific Customizing missing for date type ACTActPln
    CRM_APPOINTMENT uses date profile 0000000001 with three possible date types: ORDERACTUAL, ORDERPLANNED and ORDERPROPOSED and I cannot find anywhere date type ACTActPln (just to add it in customizing).
    Is anyone able to enlight me?
    Thank you in advance!
    Alessandro
    PS I've years of experience in Java programming but I'm quite new to the SAP world. Maybe the problem is not a problem at all, but it seems to me as such. Even if it has a trivial solution, please let me know. Thx!

    Hi,
    Well I was about to write that you should enter date in decimal format. but you already did that as mentioned in How to set a date in a Form where the bound date format is a decimal?
    In response to following from above thread (copied for others to understand my response)
    Hi all.
    I'm successfully using the LiveCycle Designer and I've managed to remotely create Appointments using a CRM Web Service (a mere copy of APPTACTCRTRC).
    The only problem I'm encountering is that I'm not able to set the dates/times (start and end of the appointment).
    Dragging each of the two fields from the WSDL based Data Connection I obtain a Decimal Field limited to 15 digits.
    How can I write a date and time in such a field?
    I've tried with a retroverse date as YYYYMMDDHHmmss (for example, 20100301124500) but it does not work
    (the appointment is indeed created, but with the start date and time fields filled with
    the current date/time and the end date and time fields filled with the current date and time plus 10 minutes).
    The retroverse date above is only 14 digit long, so, maybe, this is the problem.
    But, given the field definition, I'm not able to fill a blank space between the date and the time.
    I'm not able to put a dot either.
    What should I do?
    Any suggestions?
    Thank you in advance.
    Alessandro
    15 digit in UTC time format here is fraction of second so you should enter 201003011245000 (add one more zero).
    14th Oct 2010 16:00 should be written as 201010141600000, so just try it and and see if it works, I guess if you do not supply end time then by default it will be starttime + 10 min but this is just guess.
    Regards,
    Gourav

  • Mapping between oracle data types and ms sql server data types

    hello
    i need mapping between oracle data types and ms sql server data types
    where can i find them ?

    read this
    http://download.oracle.com/docs/cd/E10405_01/doc/appdev.120/e10379/ss_oracle_compared.htm

  • Who knows a Std. global data type for vendor bank details (ESR modelling) ?

    Hi,
    we are going to design some simple partner in ESR to be implemented in different backends using SAp global data types.
    What i cannot find anywhere in there is a structure containing the standard fields of customer / vendor bank details. As this is a baisc to partner master - i hope anyone of you has done this and knows it.
    The funny thing thing is, there exists a type called "BusinessPartnerBankDetailsID",
    which is only used  as reference in payment transactions but nowhere in bank details
    Does anybody know a GDT to maintain BusinessPartnerBankDetails?
    Thanks in advance & br,

    No solution -closed

  • Data Type field read only in Data source for transaction data (PC_FILE)

    Hi folks,
    I need to change Data Type for some of the fields in "Field" tab in data source for transactional data. It became read only after I activate the data source. Need help in making it editable. All fields now have Data type=CHAR.
    Thanks

    Nevermind folks. I got it.

  • How to migrate SQL Server image data type to Oracle 8 BLOB data type?

    Hi,
    I have to migrate data from sql server to Oracle 10 g.
    I am unable to migrate image data type from sql server to blob data type in oracle.
    Iam using Oracle Heterogenous Services to migrate the data,Using Merge statement and database link.
    I am getting the following error-
    ERROR at line 7:
    ORA-00932: inconsistent datatypes: expected BLOB got LONG BINARY
    Can any one suggest me how to migrate Image datatype to BLOB???

    Hi you might want to post your question in General Forum.
    General Database Discussions
    There's very few users visit this forum.

  • NWBC:CREATE DATA:Type WDR_APP_PROP_DISP_LOADINGPAGE is no valid data type

    HI Experts,
    We want to access our servers through NWBC. All setting and configuration related is done also services in SICF are activated.But when we are in to NWBC it shows following error. Kindly help to resolve this
    Error when processing your request
    What has happened?
    The URL https://hpi-dev.domainname.local:44301/sap/bc/webdynpro/sap/powl was not called due to an error.
    Note
    The following error text was processed in the system ERD : CREATE DATA: The specified type WDR_APP_PROP_DISP_LOADINGPAGE is no valid data type.
    The error occurred on the application server HPI-DEV_ERD_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONVERT_XML_TO_STRING of program CL_WDR_CONFIGURATION_UTILS====CP
    Method: CONVERT_XML_TO_STRING of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: READ_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: INIT_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: GET_DATA of program CL_WDR_CONFIG_APPL_PARAM======CP
    Method: CONSTRUCTOR of program SAPLWDR_RUNTIME_REPOSITORY
    Function: WDR_GET_REPOSITORY of program SAPLWDR_RUNTIME_REPOSITORY
    Method: IF_WDR_RUNTIME~GET_RR_APPLICATION of program CL_WDR_MAIN_TASK==============CP
    Method: CREATE_APPLICATION of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system ERD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server HPI-DEV_ERD_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server HPI-DEV_ERD_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-https -c: 100 -u: SRAUT -l: E -s: ERD -i: HPI-DEV_ERD_01 -w: 0 -d: 20111220 -t: 003857 -v: RABAX_STATE -e: CREATE_DATA_UNKNOWN_TYPE
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team

    Hi,
    Regarding the issue reported by you kinly refer in detail the solution section of the following SAP Note:
      1432358 - Starting application with Loading Animation
    It seems that the data element WDR_APP_PROP_DISP_LOADINGPAGE is not created in your system.
    This note should help you out.
    Regards,
    Abhishek

  • Memo data type displayed half page continued on next page

    Post Author: j45c
    CA Forum: Crystal Reports
    I am currently using crystal report IX which the memo field only displayed half of the page and continued on the next page. I have set can grow = true, keep object together = false and close border on page break = true.Would like to know how should I solve this by having the memo to filled up the rest of the page before continue display on the next page? Thanks in advance.

    Yes, you can't rely on getting the last entered ID on the next page as it may not be from the same person. I use the Insert-retrieve extension from Tom Muck which does this at the time of insert and stores it in a session variable. But backing up a bit, are 4 different forms really necessary. Most expense form are able to use a single form to capture all pertinent date. I would design a single form, submit it while using the retrieve ID extension, and direct to a summary page. That page would grab the just inserted records, and perform any monetary calculations needed. Also provide a link to an update page, basically a duplicate of the input page but with a recordset and fields Pre-populated. Once it's been input, reviewed and updated if needed, then it can be emailed, printed or exported to what the accounting people need to process it. Future enhancements may include a status indicator that defaults in incomplete. When in this mode, the user can log back in at a later time to complete it. Upon final submission, the record updates to Complete which prevents the user from making further changes. You could also build an admin section for various management tasks, and to enter the status of the request, that would appear in the users profile so they can see if and when they will get paid, or notices that require more info, like receipts.

  • How to Modify Search for Leads using Date types in the Assgmnt Block Date

    Hello Experts,
    I have a requirement to modify the search for Leads using Dates in the Assignment Block Dates and using the Posting Date of the transaction.
    Any ideas?
    Thank you in advance,
    Justin

    If you look at the grants, you'll see that there are over 170 objects from the FLOWS_030000 granted to PUBLIC:
    SQL> select count(*) from dba_tab_privs where owner= 'FLOWS_030000' and grantee = 'PUBLIC';
    173
    If we were go grant these privileges to a role, called APEX_APP_RU, and grant this role to APEX_PUBLIC_USER and any schemas an application is linked to (Workspace to Schema), would that be a workable solution?
    The only problem I see right off hand that this might not work is that PUBLIC has synonyms created for the FLOWS_030000 objects. If we revoke the underlying privileges, because of the synonyms, this might not work.
    SQL> select COUNT(*) from dba_synonyms where table_owner = 'FLOWS_030000' and owner = 'PUBLIC';
    176
    Does anyone else have any ideas?

  • Data Modeler Logical Data Type confusion!

    I don't get it.
    When defining a logical model, I want to assign data types to the attributes in my model.
    I understand a logical datatype like money, and that a logical datatype might be implemented differently in different databases. The concept makes perfect sense to me.
    I pick a datatype from the Logical Types.
    It ignores the logical datatype that I picked and puts in another datatype instead. I'm guessing that it's a physical mapping. I would understand the logical-to-relational mapper doing that , but I don't understand it happening at this point in the model life cycle.
    Let's say I pick Money. It puts Double into the logical datatype, not money.
    If I pick Date or DateTime, it puts Date into the logical datatype, so what is the point of giving me two types to pick from?
    Seems kind of wonky.

    David,
    We will publish soon a document on how the data types work.
    If you go to tools, Types administration you will see that a logical type is mapped to a native type and a native type is mapped to a logical type.
    The logical type MONEY is mapped to DOUBLE for Oracle.
    Types and domain files can be customised.
    One could argue that the logical name MONEY should show up and not the native name. Showing the native name has the benifit that you see what the logical type is mapped to. Both approaches could have their supporters, no?
    Kind regards,
    René De Vleeschauwer
    SQL Developer Data Modeling.

  • Import from Designer crashes with IMAGE data type

    Hello,
    I'd like to report an issue with Data Modeler while importing from Oracle Designer. If you consider this a bug, please let me know if I need to do anything else to request a fix for it.
    I've used the import > Oracle Designer Model tool to import an application model. The import runs fine for a while, then crashes with a message "There are errors in import - check log file".
    The application to be imported has 509 domains, 963 entities to import.
    The summary info displayed after the import (when I close the error message pop up) is:
    All statements: 1472
    Imported statements: 538
    Failed statements: 0
    Not recognized statements: 934
    The log file has the lines below:
    2011-04-28 10:55:46,505 [Thread-8] ERROR XMLTransformationManager - Unable to load object from XML: C:\Users\Beatriz\Documents\ODTUG\2011\SDDM designs\GAME\GAME\rel\0EEBE15E-D9EFB22E4D6B\subviews\02A206F8-0C6C-0DF9-E643-5919DBCB895A.xml
    java.io.FileNotFoundException: C:\Users\Beatriz\Documents\ODTUG\2011\SDDM designs\GAME\GAME\rel\0EEBE15E-D9EFB22E4D6B\subviews\02A206F8-0C6C-0DF9-E643-5919DBCB895A.xml (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
         at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openDesignPart(Unknown Source)
         at oracle.dbtools.crest.model.design.Design.openDesign(Unknown Source)
         at oracle.dbtools.crest.swingui.ControllerApplication$Recent$1.run(Unknown Source)
    2011-04-28 11:03:44,114 [Thread-12] WARN ODODomain - ODOType.initStructuredTypeAttributes() - Unable to find Logical DataType for: IMAGE
    2011-04-28 11:03:46,532 [Thread-12] ERROR ODExtractionHandler - Error during import from Designer Repository
    java.sql.SQLException: Numeric Overflow
         at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4380)
         at oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:111)
         at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:928)
         at oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:434)
         at oracle.dbtools.crest.imports.oracledesigner.logical.ODOEntity.generate(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionHandler.generateDesign(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionController$Runner.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)
    I see the issue with the IMAGE data type in the log. The model to be imported does have domains and entities using this data type. The domain actually did get imported, but it shows as "Unknown" logical type, even though there is an Image type available in the Data Modeler type list. None of the entities using IMAGE got imported.
    Please let me know if you can provide a fix or workaround for this (other than changing the format in Designer).
    Thank you,
    Beatriz.

    Hello Beatriz,
    definitely this is a bug. The problem with entities is not IMAGE data type it's supported there (it's overlooked for domains). The problem is volume information - Initial, Maximum, Average, Growth rate. No workaround for that.
    Domain can be changed manually if it's just one affected.
    Philip

  • Difference b/w DATA TYPE and DATA OBJECT & differences b/w TYPE and LIKE

    hai
    can any one say the differences between Data type and Data Object.
    And also differences between TYPE and LIKE
    thanks
    Gani

    hi,
    _Data Types and Data Objects_
          Programs work with local program data – that is, with byte sequences in the working memory. Byte sequences that belong together are called fields and are characterized by a length, an identity (name), and – as a further attribute – by a data type. All programming languages have a concept that describes how the contents of a field are interpreted according to the data type.
          In the ABAP type concept, fields are called data objects. Each data object is thus an instance of an abstract data type. There are separate name spaces for data objects and data types. This means that a name can be the name of a data object as well as the name of a data type simultaneously.
    Data Types
       As well as occurring as attributes of a data object, data types can also be defined independently. You can then use them later on in conjunction with a data object. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program using the TYPESstatement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.
         All programming languages distinguish between various types of data with various uses, such as ….. type data for storing or displaying values and numerical data for calculations. The attributes in question are described using data types. You can define, for example, how data is stored in the repository, and how the ABAP statements work with the data.
    Data types can be divided into elementary, reference, and complex types.
    a. Elementary Types
    These are data types of fixed or variable length that are not made up of other types.
    The difference between variable length data types and fixed length data types is that the length and the memory space required by data objects of variable length data types can change dynamically during runtime, and that these data types cannot be defined irreversibly while the data object is being declared.
    Predefined and User-Defined Elementary Data Types
    You can also define your own elementary data types in ABAP using the TYPES statement. You base these on the predefined data types. This determines all of the technical attributes of the new data type. For example, you could define a data type P_2 with two decimal places, based on the predefined data type P. You could then use this new type in your data declarations.
    b.  Reference Types
    Reference types are deep data types that describe reference variables, that is, data objects that contain references. A reference variable can be defined as a component of a complex data object such as a structure or internal table as well as a single field.
    c. Complex Data Types
    Complex data types are made up of other data types. A distinction is made here between structured types and table types.
    Data Objects
          Data objects are the physical units with which ABAP statements work at runtime. The contents of a data object occupy memory space in the program. ABAP statements access these contents by addressing the name of the data object and interpret them according to the data type.. For example, statements can write the contents of data objects in lists or in the database, they can pass them to and receive them from routines, they can change them by assigning new values, and they can compare them in logical expressions.
           Each ABAP data object has a set of technical attributes, which are fully defined at all times when an ABAP program is running (field length, number of decimal places, and data type). You declare data objects either statically in the declaration part of an ABAP program (the most important statement for this is DATA), or dynamically at runtime (for example, when you call procedures). As well as fields in the memory area of the program, the program also treats literals like data objects.
            A data object is a part of the repository whose content can be addressed and interpreted by the program. All data objects must be declared in the ABAP program and are not persistent, meaning that they only exist while the program is being executed. Before you can process persistent data (such as data from a database table or from a sequential file), you must read it into data objects first. Conversely, if you want to retain the contents of a data object beyond the end of the program, you must save it in a persistent form.
    Declaring Data Objects
          Apart from the interface parameters of procedures, you declare all of the data objects in an ABAP program or procedure in its declaration part. These declarative statements establish the data type of the object, along with any missing technical attributes. This takes place before the program is actually executed. The technical attributes can then be queried while the program is running.
         The interface parameters of procedures are generated as local data objects, but only when the procedure is actually called. You can define the technical attributes of the interface parameters in the procedure itself. If you do not, they adopt the attributes of the parameters from which they receive their values.
    ABAP contains the following kinds of data objects:
    a.  Literals
    Literals are not created by declarative statements. Instead, they exist in the program source code. Like all data objects, they have fixed technical attributes (field length, number of decimal places, data type), but no name. They are therefore referred to as unnamed data objects.
    b.  Named Data Objects
    Data objects that have a name that you can use to address the ABAP program are known as named objects. These can be objects of various types, including text symbols, variables and constants.
    Text symbols are pointers to texts in the text pool of the ABAP program. When the program starts, the corresponding data objects are generated from the texts stored in the text pool. They can be addressed using the name of the text symbol.
    Variables are data objects whose contents can be changed using ABAP statements. You declare variables using the DATA, CLASS-DATA, STATICS, PARAMETERS, SELECT-OPTIONS, and RANGESstatements.
    Constants are data objects whose contents cannot be changed. You declare constants using the CONSTANTSstatement.
    c.  Anonymous Data  Objects
    Data objects that cannot be addressed using a name are known as anonymous data objects. They are created using the CREATE DATAstatement and can be addressed using reference variables.
    d.  System-Defined Data Objects
    System-defined data objects do not have to be declared explicitly - they are always available at runtime.
    e.  Interface Work Areas
    Interface work areas are special variables that serve as interfaces between programs, screens, and logical databases. You declare interface work areas using the TABLES and NODESstatements.
    What is the difference between Type and Like?
    Answer1:
    TYPE, you assign datatype directly to the data object while declaring.
    LIKE,you assign the datatype of another object to the declaring data object. The datatype is referenced indirectly.
    Answer2:
    Type is a keyword used to refer to a data type whereas Like is a keyword used to copy the existing properties of already existing data object.
    Answer3:
    type refers the existing data type
    like refers the existing data object
    reward if useful
    thanks and regards
    suma sailaja pvn

  • Dynamic ORDER BY clause - Possible different data types...

    I have a lexical parameter in my ORDER BY clause:
    ORDER BY &P_ORDER_BY
    My problem is that I have to designate this parameter as either a date, character or number, but the user defined column being ordered by could be any one of these. When I designate the parameter as a character type, and a number data type column is chosen, it orders by that value, but it orders it as though it were a character field, referencing the initial digit and not the overall numeric value. If I choose a number parameter type, and a character value is chosen, I get an invalid number error, and so on.
    Anyone have any ideas how I can do this?

    Okay, now we're on the right track. The lexical parameter I'm using allows the user to choose from a list of the columns being retrieved in the SELECT statement, so it will always be one that's in there, as you said. Now, since I don't know which one it's going to be, I can't just make all but one of them 'None' for the break order, BUT, what I intended to do was to add a column to the SELECT statement that would always return the column they chose, and I could put the break order on that column, leaving all the rest 'None'. However, in the past, this has created 2 problems for me.
    1.) As I mentioned in the first post, the column being returned could have a data type of character, number or date, but the parameter must be designated as only one of these. So, if the user chooses to order by a column having a value with a data type other than what the parameter is designated to be, then I get errors, it doesn't order correctly, etc...
    2.) This is the strange, but anytime I've marked all but one column as 'None' for the Break Order, my child data doesn't always stay with the parent. For example, the report is on an IT request database. The 'group fields' consist of data elements that are demographic info.of a request (requester, date requested, description, etc...), and the details for each request list out the comments that have been made in the system for that request. The problem I'm seeing when I set the break orders this way is that each request displays not only its own comments, but it lists out comments for other requests as well, and there doesn't seem to be any logic to which request's comments it lists in addition to its own, it just lists as many as will fit on the page...I don't know if I explained that very well, but that's what's happening.
    Does any of that make sense? Any ideas?

  • How to set the date date type to work

    This may be a silly question, but I can't seem to get the Date data type to work for a date account member. When I go into the Planning app and choose an account that I want to set as a date entry account, the web form doesn't seem to show that the date setting works for the account. I even set my account type to be Saved Assumption. For example, I expect to see the date formatted to 10/20/2009 when I enter that value in the web form under my account "Hire Date". I also checked the display options under the Planning preferences. So does anyone know if this function even works on 9.3 or 11.1?

    Hi,
    Sounds like you have not set the evaluation order for accounts. Administration > Dimensions > Evaluation Order > select plan type > move accounts to the other window, apply.
    Try the form again.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Data types in DB connect

    Hi all
    I have following fields in my SQL 2005 DB
    <b>type - len</b>
    uniqueidentifier - 16
    ENUM     - 1
    datetime     - 23
    NAME     - 255
    COMMENT -  16     
    When I make the data source in BW 2004s , what are the data types that I should use for my infoobjects
    Can you please tell me. also let me know if I need to concentrate on any other data types as well.
    Note: Date time has both date and time in 12 hr format with AM/PM

    Hello Chetan,
    I am trying to pull data thru DB and I am getting similar unknown error. I have everything what you have explained in your reply.
    Only thing I am doing differently is ''date'' field. I am trying to bring it in as charactor field. I will convert it to SAP date format in my level 2 DSO.
    I have activated data source. When I try to preview data ( total # only 20). I get following error :
    Unknown error occured while uploading data from the DB Table.
    Message no. RSDS_ACCESS027
    I have noticed another thing on Proposal Tab page : Columne - 'Type in Database' --All enteries in this column says 'undefined'.
    I dont know why it is so.. it should be varchar2/numner/date etc.
    Please let me know.
    Thanks
    Message was edited by:
            Shaan

Maybe you are looking for

  • FDK Problem: "Unsaved changes in file" dialog with MIFs

    Hi there I have a problem saving MIF files using our FrameMaker API client. After we have written out all our content, we're getting prompted to save unsaved changes in the .MIF file. We're not sure whether to click yes here or not. If we click yes,

  • Strange Problem with Mail & Address Book

    Hi, I'm having a strange problem with Mail & Address Book. When I go to compose a new message from Mail and hit the Address button (to show my email addresses), it won't launch the contacts window! I get this log from console; 2007-10-15 22:55:59.079

  • Saving without undo levels?

    I think I'm finding that the levels of undo stacking up in some of my GB projects is taking up way more space, with way more levels of undo, than I need it to. Often I reach a point in a project where I decide it's "good enough" to let sit for a whil

  • Alt Tags on Buttons

    Can you add alt tags to buttons/graphics in a .fla file to help increase searchability on the internet? If so, how do you do it?

  • Cannot get Internet Sharing to work

    Hi, Has anyone ever had success with internet sharing? Basically we are trying to avoid buying an Airport Base Station. Ever since OS 10.0 I've fiddled with sharing my ethernet connection over airport via Internet Sharing. I've never had success. Cur