Display data type

hi,
how to display oralce's data type from system table is there any system table to fetch the data types for that version i'm using Oracle 11g.
in sql server we fetch the details by using
select * from sys.types
this will return what the data types supported by that version
Thanks!

There is a package called STANDARD in the SYS schema that defines many of the standard datatypes and functions.
e.g.
CREATE OR REPLACE package SYS.STANDARD AUTHID CURRENT_USER is              -- careful on this line; SED edit occurs!
  /********** Types and subtypes, do not reorder **********/
  type BOOLEAN is (FALSE, TRUE);
  type DATE is DATE_BASE;
  type NUMBER is NUMBER_BASE;
  subtype FLOAT is NUMBER; -- NUMBER(126)
  subtype REAL is FLOAT; -- FLOAT(63)
  subtype "DOUBLE PRECISION" is FLOAT;
  subtype INTEGER is NUMBER(38,0);
  subtype INT is INTEGER;
  subtype SMALLINT is NUMBER(38,0);
  subtype DECIMAL is NUMBER(38,0);
  subtype NUMERIC is DECIMAL;
  subtype DEC is DECIMAL;
  subtype BINARY_INTEGER is INTEGER range '-2147483647'..2147483647;
  subtype NATURAL is BINARY_INTEGER range 0..2147483647;
  subtype NATURALN is NATURAL not null;
  subtype POSITIVE is BINARY_INTEGER range 1..2147483647;
  subtype POSITIVEN is POSITIVE not null;
  subtype SIGNTYPE is BINARY_INTEGER range '-1'..1;  -- for SIGN functions
  type VARCHAR2 is NEW CHAR_BASE;
  subtype VARCHAR is VARCHAR2;
  subtype STRING is VARCHAR2;
  subtype LONG is VARCHAR2(32760);
  subtype RAW is VARCHAR2;
  subtype "LONG RAW" is RAW(32760);
  subtype ROWID is VARCHAR2(256);
  -- Ansi fixed-length char
  -- Define synonyms for CHAR and CHARN.
  subtype CHAR is VARCHAR2;
  subtype CHARACTER is CHAR;
  type MLSLABEL is new CHAR_BASE;
  -- Large object data types.
  --  binary, character, binary file.
  type  BLOB is BLOB_BASE;
  type  CLOB is CLOB_BASE;
  type  BFILE is BFILE_BASE;
  -- Verbose and NCHAR type names
  subtype "CHARACTER VARYING" is VARCHAR;
  subtype "CHAR VARYING" is VARCHAR;
  subtype "NATIONAL CHARACTER" is CHAR CHARACTER SET NCHAR_CS;
  subtype "NATIONAL CHAR" is CHAR CHARACTER SET NCHAR_CS;
  subtype "NCHAR" is CHAR CHARACTER SET NCHAR_CS;
  subtype "NATIONAL CHARACTER VARYING" is VARCHAR CHARACTER SET NCHAR_CS;
  subtype "NATIONAL CHAR VARYING" is VARCHAR CHARACTER SET NCHAR_CS;
  subtype "NCHAR VARYING" is VARCHAR CHARACTER SET NCHAR_CS;
  subtype "NVARCHAR2" is VARCHAR2 CHARACTER SET NCHAR_CS;
  subtype "CHARACTER LARGE OBJECT" is CLOB;
  subtype "CHAR LARGE OBJECT" is CLOB;
  subtype "NATIONAL CHARACTER LARGE OBJEC" is CLOB CHARACTER SET NCHAR_CS;
  subtype "NCHAR LARGE OBJECT" is CLOB CHARACTER SET NCHAR_CS;
  subtype "NCLOB" is CLOB CHARACTER SET NCHAR_CS;
  subtype "BINARY LARGE OBJECT" is BLOB;
  subtype pls_integer is binary_integer;
  type TIME is new DATE_BASE;
  type TIMESTAMP is new DATE_BASE;
  type "TIME WITH TIME ZONE" is new DATE_BASE;
  type "TIMESTAMP WITH TIME ZONE" is new DATE_BASE;
  type "INTERVAL YEAR TO MONTH" is new DATE_BASE;
  type "INTERVAL DAY TO SECOND" is new DATE_BASE;
  SUBTYPE TIME_UNCONSTRAINED IS TIME(9);
  SUBTYPE TIME_TZ_UNCONSTRAINED IS TIME(9) WITH TIME ZONE;
  SUBTYPE TIMESTAMP_UNCONSTRAINED IS TIMESTAMP(9);
  SUBTYPE TIMESTAMP_TZ_UNCONSTRAINED IS TIMESTAMP(9) WITH TIME ZONE;
  SUBTYPE YMINTERVAL_UNCONSTRAINED IS INTERVAL YEAR(9) TO MONTH;
  SUBTYPE DSINTERVAL_UNCONSTRAINED IS INTERVAL DAY(9) TO SECOND (9);
  TYPE UROWID IS NEW CHAR_BASE;
  type "TIMESTAMP WITH LOCAL TIME ZONE" is new DATE_BASE;
  subtype timestamp_ltz_unconstrained is timestamp(9) with local time zone;
  subtype BINARY_FLOAT is NUMBER;
  subtype BINARY_DOUBLE is NUMBER;
  -- The following data types are generics, used specially within package
  -- STANDARD and some other Oracle packages.  They are protected against
  -- other use; sorry.  True generic types are not yet part of the language.
  type "<ADT_1>" as object (dummy char(1));
  type "<RECORD_1>" is record (dummy char(1));
  type "<TUPLE_1>" as object (dummy char(1));
  type "<VARRAY_1>" is varray (1) of char(1);
  type "<V2_TABLE_1>" is table of char(1) index by binary_integer;
  type "<TABLE_1>" is table of char(1);
  type "<COLLECTION_1>" is table of char(1);
  type "<REF_CURSOR_1>" is ref cursor;
  -- This will actually match against a Q_TABLE
  type "<TYPED_TABLE>" is table of  "<ADT_1>";
  subtype "<ADT_WITH_OID>" is "<TYPED_TABLE>";
  -- The following generic index table data types are used by the PL/SQL
  -- compiler to materialize an array attribute at the runtime (for more
  -- details about the array attributes, please see Bulk Binds document).
  type " SYS$INT_V2TABLE" is table of pls_integer index by binary_integer;
  -- The following record type and the corresponding generic index table
  -- data types are used by the PL/SQL compiler to materialize a table
  -- at the runtime in order to record the exceptions raised during the
  -- execution of FORALL bulk bind statement (for more details, please
  -- see bulk binds extensions document in 8.2).
  type " SYS$BULK_ERROR_RECORD" is
          record (error_index pls_integer, error_code pls_integer);
  type " SYS$REC_V2TABLE" is table of " SYS$BULK_ERROR_RECORD"
                               index by binary_integer;
  /* Adding a generic weak ref cursor type */
  type sys_refcursor is ref cursor;
  /* the following data type is a generic for all opaque types */
  type "<OPAQUE_1>" as opaque FIXED(1) USING LIBRARY dummy_lib
    (static function dummy return number);
  type "<ASSOC_ARRAY_1>" is table of char(1) index by varchar2(1);
  /********** Add new types or subtypes here **********/
  /********** Predefined constants **********/
  BINARY_FLOAT_NAN constant BINARY_FLOAT;
  BINARY_FLOAT_INFINITY constant BINARY_FLOAT;
  BINARY_FLOAT_MAX_NORMAL constant BINARY_FLOAT;
  BINARY_FLOAT_MIN_NORMAL constant BINARY_FLOAT;
  BINARY_FLOAT_MAX_SUBNORMAL constant BINARY_FLOAT;
  BINARY_FLOAT_MIN_SUBNORMAL constant BINARY_FLOAT;
  BINARY_DOUBLE_NAN constant BINARY_DOUBLE;
  BINARY_DOUBLE_INFINITY constant BINARY_DOUBLE;
  BINARY_DOUBLE_MAX_NORMAL constant BINARY_DOUBLE;
  BINARY_DOUBLE_MIN_NORMAL constant BINARY_DOUBLE;
  BINARY_DOUBLE_MAX_SUBNORMAL constant BINARY_DOUBLE;
  BINARY_DOUBLE_MIN_SUBNORMAL constant BINARY_DOUBLE;
  /********** Add new constants here **********/
  /********** Predefined exceptions **********/
  CURSOR_ALREADY_OPEN exception;
    pragma EXCEPTION_INIT(CURSOR_ALREADY_OPEN, '-6511');
  DUP_VAL_ON_INDEX exception;
    pragma EXCEPTION_INIT(DUP_VAL_ON_INDEX, '-0001');
..and so it goes on... take a look yourself
Edited by: BluShadow on 18-Dec-2012 09:32

Similar Messages

  • Displaying Date types in the grid control

    I have a grid control and one of the column is displaying
    'Date' type data. I am able to see the Date values in the grid, if
    I define the return type of the getter function as String format.
    But the problem with this is, when I click on the Date column
    header, the grid is sorting the rows while treating the Date values
    as String values. And when I change the return type of the getter
    method as Date type (java.util.Date), I don't see any Date values
    in the grid. Do I need to do any additional coding to display the
    date values as Date types to display the data and then to be able
    to sort the grid on Date types.
    Please help.

    You should return Date values to the Flex application and
    store them in the dataProvider associated with that DataGrid. For
    Date-values you have a couple of choices:
    1. Actually store the time (a long Number - milliseconds
    since Jan 1970) and use a labelFunction on the column to format
    that values as a Date. This way sorting will treat the value as a
    number, but it will appear as a Date.
    2. Write your own Sort compare method for that column. Check
    the docs on Sort and SortField.

  • VC table display date type error

    hi,
    i want to display member's data in table of vc, the column type is 'Date', and i want format it to YYYY/MM/DD.
    steps such like the link
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/stepbyStep
    no matter how i tried, it always display wrong information.
    for example, an member's birthday is 1949/08/20(August 20), it will display 1950/08/08.
    i found vc always read the Date to Month, that is way it display '1950/08/08'(it the 20 is Month, it main 1 year and eight months)
    i tried format it such like 'DSTR(DVAL(TRIM(@birthday)),'YYYY/MM/DD')', doesn't work
    is anyone can help?
    what's wrong and how can i fix it?
    thanks

    Mr./Ms. Govindu Nagotla
    thank you very much for your reply
    could you also tell me how to check the sp's release note, where i can download it and where i can find the install guide?
    thank you again,
    have a nice day
    vic

  • How to display images in BI Publisher from a LONG data type

    We are storing images in Oracle Database as LONG data type. When I am giving query in BI Publisher and view the XML generated, I am getting the following error.
    name was started with an invalid character. Error processing resource 'http://.......
    <X_SIGNATURE>"N!0$$$$$$$#B!0$$$"X$$$$!3$$$!2$$#a$$$!1$!1$$$$$d$$$$#7$"X!0$"}@E$e"1"XM">K#@!P!P!Ga}!1!@!P!C#C"O!>...
    Can anyone suggest the solution?

    Hi
    my problem is, for each job_id there is many users. Oh that's something completlty different...
    I Strongly Recommand to_
    1.*create 2 tables Jobs & users*
    2.*create a relation between them* 1 to many to get for each job more than a user that's the way that Must be -- execuse me the bad design of the db pulled u into this trap -
    3.then u can deal with it normally no need to a sample code but just a form with Jobs as  (Master) and Users as (detail) with a relation and with a simple query u can display each job_id is for many users.
    no null values no commas r needed.
    Hope this helps...
    Regards,
    Amatu Allah.

  • Value in data type p filed not displayed properly

    Hi,
    One of my programs downloads a file to UNIX server,
    here the data which i am downloading, one of the fields is of type P (it is of domain type DEC).
    The field displays very strangecharactershen i view it in UNIX server.
    I am using OPEN DATASET in binary mode statement.
    Please help

    Hi Kumar,
    i am using unicode database,
    but i can not change the data type of the internal table as it is decalred as follows
    data:begin of itab
    include structure hrdataset.
    data:end of itab.
    writing down all the fields individually inside the program will be very tedious
    otherwise ihave o write like as follows,
    data:begin of itab
    field1 type hradataset-field1
    fieldn type hrdataset-fieldn
    end of itab.
    Is there a work around available?

  • Sql Devloper 4.0.0.13 - problems with displaying user data types

    Hi,
    I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
    The problem persist in table view, script output and exported files.
    My type is described as follows:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    when make select column from table that contains this type I get next results:
    CASE 1:
    SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
    Select:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result:
            ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
    END CASE 1;
    CASE 2:
    SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
    Select1:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result1:
    ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)    
    But if I select one element it is displayed normal.
    Select2:
    select id, a.adresalokacija.opcina
    from dptr_saglasnosti a
    where id = 1;
    Result2:
    ID ADRESALOKACIJA.OPCINA
             1 TRAVNIK                  
    END CASE 2;
    I have tried this scenario on three different pc with same output.
    Pleas help me to get rid of the '???' in result.
    Best Regards,
    Omer

      I tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
    all data can show,No ??? in result
    Test step as following:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    CREATE TABLE dptr_saglasnosti (
    adresalokacija        DPTY_ADRESA,
      id    number);
      INSERT INTO dptr_saglasnosti VALUES (
      DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
    select id, adresalokacija from dptr_saglasnosti where id = 1;
    ID ADRESALOKACIJA
    1    HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta')

  • Infotype 0041  - Date type field in display mode always

    Hi All,
    Please help in find out solution for the below enhancement
    In infotype 0041 we have date type and date field. We need to make the date type field to be display mode always.
    Thanks for your help in advance.
    Thanks,
    Karthikeyan

    Hi Karthikeyan ,
    Please find the resolution as below :
    Userexit - EXIT_SAPFP50M_001 . In Include ZXPADU01. Write the below code .
    DATA: w_P0041 TYPE P0041.
    IF  ipsyst-massn <> space AND
      ( ipsyst-ioper = 'INS'  OR
        ipsyst-ioper = 'INSS' OR
        ipsyst-ioper = 'COP'  OR
        ipsyst-ioper = 'MOD').
    CASE innnn-infty.
    WHEN '0041'.
    *convert prelp to pnnnn structure
    CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
    EXPORTING
    PRELP = INNNN
    IMPORTING
    PNNNN = w_P0041 .
    *Here you can have more conditions like for which Action Types you want the
    IT0041 to default .
    w_P0041-dar01 = 'Z1'.
    w_P0041-dar02 = 'Z2'.
    w_P0041-dar03 = 'Z3'.
    *convert pnnnn to prelp structure
    CALL METHOD CL_HR_PNNNN_TYPE_CAST=>pnnnn_to_prelp
    EXPORTING
    PNNNN = w_P0041
    IMPORTING
    PRELP = INNNN.
    *Display mode
    LOOP AT SCREEN.
              IF screen-name = 'P0041-DAR01' OR
                 screen-name = 'P0041-DAR02'  OR
                 screen-name = 'P0041-DAR03'  .
                CLEAR screen-group2.
                screen-input = 0.
                MODIFY SCREEN.
              ENDIF.
            ENDLOOP.
    WHEN OTHERS.
      ENDCASE.
    ENDIF.
    Thanks ,
    Sucharita Das

  • Display as is having what data type?

    Hi Friends,
    I have an item in page and i have selected that item as display as. Then what data type it contains by default.
    Regards

    Hi,
    It can be of any type and it will accept all the data types, because this item is not related to the table.
    Since this item type will be of Static text with session state substitutions and it doesnt matter of any datatypes.
    What is the necessary of this question???
    Regards,
    Mini
    Mark Answers Promptly

  • How to display image from wamp if the data type i use is blob?

    please help me with the problem of displaying image from wamp if data type is blob. Thanks

    Don't store the images in the database. Store the image file names in the database and put the images in a folder.

  • 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)
    )

  • SQL Developer tool sometimes does not display data with date type

    run the following query using the sql developer tool -
    select effective_date from table1 where id = 123;
    (the effective_date is stored in the database as date.)
    one record is returned with no date in the filed.
    However, if I change the query to
    select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
    one record is returned with effective date.
    Why?
    Thanks for your help.

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

  • Need Suggestion in displaying data in ALV.

    Hi All Experts,
    I have a scepic scenario for which I need your inputs. I am preparing a report which will display data foe entries made in time sheet. The entries in time sheet can be made for anything like a change request on an incident etc. It will have various output fields
    And also dates for which entries are made. So it can have date from 1 to 31. This all is
    to be displayed in ALV. Now the report can be displayed in two Summarised ways.
    One summary can be for a user and another for the  object type(incident, change request).
    Now if the user wants to see this report for a period more than a month  then I have to summarise it against a month too. So am not sure how to handle this. Which type of ALV function module to be used to display this?
    Regards,
    Saket

    hello,
    I would suggest to go for GRID display - for that you can use either function module or class.
    Tips:
    If it also need to be summarised by month then add an extra field in fieldcatalog as monthid / monthname.
    also it's better to have an extra field for object tyoe (Incident/ change)...
    Thanks.

  • Displaying data in a tree from database table

    Hi,
    I want to display data from a database table (mara-matnr) in a tree structure. I went through the coding of SBSPEXT_HTMLB. There static data was taken in to wa_tab. But there I want to bring data from a database table into wa_tab. For this I created an internal table without headerline by taking a work area, now how can I move data from this work area to wa_tab record by record.
    I hope some one might have worked on this. Plz help me....
    Thanks in advance,
    Ravindra.

    Hi,
    take a look at this <a href="/people/tomas.altman/blog/2004/12/13/sdn-blog-how-to-do-internal-tables-in-bsp which explains how internal tables work in ABAP OO.
    Furthermore I think you want to do this:
    insert <yourWorkarea> into table wa_tab.
    A complete mara example would be:
    data tab_mara type table of mara.
    data wa_mara type mara.
    select * from mara into table tab_mara.
    *or you can use:
    select * from mara into wa_mara.
       insert wa_mara into table tab_mara.
    endselect.
    regards
    Thomas

  • What is the maximum length of LONG data type in Forms 6i?

    What is the maximum length of LONG data type in Forms 6i?

    Do you mean the maximum size of a LONG that Forms 6i can display or the maximum size that can be stored in the database which sits behind your Forms application?
    Regards, APC

  • Display data in excel

    Hi, I have program which display data in Excel layout of ALV loaded from internal table..
    It means that in sap i received excel sheet with all its functionality.
    The problem is that sometimes there are missed some rows with data.
    Did someone meet with similar situation?
    Regards,
    Joanna

    HI
    DATA: v_file LIKE rlgrap-filename,
            v_filename TYPE string.
      REFRESH i_matcontrol.
      CLEAR   i_matcontrol.
      TRANSLATE v_exten TO UPPER CASE.
      IF v_exten = 'XLS'.
        v_file = p_p_file.
        CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
          EXPORTING
            i_field_seperator    = 'X'
            i_tab_raw_data       = ws_rawdata
            i_filename           = v_file
          TABLES
            i_tab_converted_data = i_data.
      ELSEIF v_exten = 'TXT'.
        v_filename = p_p_file.
    File upload
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = v_filename
            filetype                = 'ASC'
            has_field_separator     = 'T'
          TABLES
            data_tab                = i_data
          EXCEPTIONS
            file_open_error         = 1
            file_read_error         = 2
            no_batch                = 3
            gui_refuse_filetransfer = 4
            invalid_type            = 5
            no_authority            = 6
            unknown_error           = 7
            bad_data_format         = 8
            header_not_allowed      = 9
            separator_not_allowed   = 10
            header_too_long         = 11
            unknown_dp_error        = 12
            access_denied           = 13
            dp_out_of_memory        = 14
            disk_full               = 15
            dp_timeout              = 16
            OTHERS                  = 17.
        CASE sy-subrc.
          WHEN 1.
            MESSAGE e001(00) WITH text-001.
            STOP.
          WHEN 2.
            MESSAGE e001(00) WITH text-002.
            STOP.
          WHEN 0.
            IF i_data IS INITIAL.
              MESSAGE s001(00) WITH text-008.
            ENDIF.
        ENDCASE.
      ENDIF.
      DELETE i_data WHERE matnr IS INITIAL AND
                                  werks IS INITIAL.

Maybe you are looking for