Create type not working

I'm following the 8.1.6 documentation to create type, but it always returns me the error.
My references are from :
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817/a76976/adobjmng.htm
The script is:
CREATE TYPE location (
building_no NUMBER,
city VARCHAR2(40) );
The error is:
1/15 PLS-00103: Encountered the symbol "(" when expecting one of the following:
; is authid as compress compiled wrapped
4/0 PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
pragma
May I know that how can I work around it?
I had tried earlier another syntex successfully:
create type typeName as object(definition....).
May I also know what's the difference between these 2 commands?
Thanks in advance
Minny

I think there's a mistake in the documentation. I may be wrong but I think it should always be CREATE TYPE x AS OBJECT (...)

Similar Messages

  • Creating new logical ports for WSDL with several port types not working

    Hi all,
    I am trying to integrate some BODS webservice into the BPM. I am using CE 7.2 Kernel Version:     7.20.3710. When I am trying to assign a provider system in the application configuration I get following error:
    The provider system successfully found the needed service, but its wsdl is without webservice policy. Thus the generated client configuration might not work because of different configurations between service and client (most probable a difference in the security settings). Either assign a provider system with access to wsdl with policy or manually create the client configuration.
    The regarding provider system is using a communication profil where the authentication method is set to "none". Normally this configuration should work, but it isn't.
    So I started to create new logical ports for each port type. But then I get the error:
    Port type name of loaded WSDL does not match the port type name of the Service Reference.
    I checked already the port type names in the WSDL but they are 100% the same. What I found was that the configuration is always trying to use the first port type in the WSDL. So I am not able to configure the other port types in the service group.
    I also tried to do the same thing using a WSDL with just one port type and surprise it is working...
    I hope somebody can help me out
    Thanks in advance
    Andy

    Hi Andy,
    Please check this Link: https://cw.sdn.sap.com/cw/docs/DOC-45012
    Regards,
    Naresh B

  • Exception handling with fault message type not working

    Hi,
    I have a sync proxy to proxy scenario and I have created a fault MT and specified in the outbound and Inbound service interface...
    *In Inbound proxy I have the following code--*......
    RAISE EXCEPTION TYPE z_cx_test_fault
    EXPORTING
    standard = l_standard_data.
    In the sender side abap code which calls the outbound proxy I have the follwing code -
    CATCH cx_ai_system_fault INTO lo_cx_ai_system_fault.
    txt = lo_cx_ai_system_fault->get_text( ).
    WRITE txt.
    CATCH z_cx_test_fault INTO lo_cx_test_fault.
    txt = lo_cx_standard_message_fault->get_text( ).
    WRITE txt.
    CATCH cx_ai_application_fault INTO lo_cx_ai_application_fault.
    txt = lo_cx_ai_application_fault->get_text( ).
    WRITE txt.
    when i test the inbound proxy separately I get the custom fault message properly...
    however when i run the proxy to proxy sync scenario and the custom exceptionz_cx_test_fault  is raised inside the receiver proxy .......control goes to CATCH cx_ai_application_fault    and not CATCH  z_cx_test_fault .
    I understand that cx_ai_application_fault is the super class of all the exception class but why does control go to its exception handling when a custom exception is raised...
    Edited by: hema T on Feb 26, 2012 1:16 PM
    Edited by: hema T on Feb 26, 2012 1:17 PM

    Hi
    I tried changing the sequence also but it did not work...
    I can see an appropriate response coming from the receiver in SXMB_MONI of PI...this response has the "fault response "
    "fault detail" data that I want.....however when the control goes to the sender why does it go to CATCH CX_AI_APPLICATION_FAULT and not not my CATCH z_cx_test_fault .
    My observation - If I change the scenario to SOAP to Proxy sync..then the sender SOAP client gets the appropriate custom fault message back.
    Edited by: hema T on Feb 27, 2012 1:17 PM
    Edited by: hema T on Feb 27, 2012 1:17 PM

  • Smartform : line type not working fine when used on Next page

    Hi ,
    Please help on below :
    I have a smartform and have line type which is used in printing the items.
    When I use this line type on very first page , it works fine.
    But for the next page which is the exact copy of first page ,
    the line type does not work fine with printing first line item on next page,
    it refreshed the work area which i am printing. so on the next page very first element gets all the values 000
    But on the next iteration it works fine and does not refresh work area.
    Please see why is such abnormal behavior happening.
    Regards,
    Uma Dave

    Hi Ameya
    there might be syntax error. Try to get what exaclty is an error using following code.
    CALL FUNCTION <smartform>
        EXCEPTIONS
        IF SY-SUBRC  0.
           CALL FUNCTION 'SSF_READ_ERRORS'
                IMPORTING
                     ERRORTAB = IT_ERRORLIST.
         ENDIF.
    In IT_ERRORLIST you will get error message.
    Regards
    Sachin G Patil

  • U0093Addn to stocku0094 for putaway strategy u0093 u0093  in storage type not working

    Hi
    It seems that the flag “Addn to stock” for putaway strategy “ “  in the storage type 103 configuration is not working fine as the quantities of the same material with the same batch sent to the same stype 103, and destination bin are not being added. So by running stock report in WM we see several lines with partial quantities instead of only one line with the total quantity in place. Do anybody know how can that be solved? Or what can be the route cause of the issue? Is there any OSS known applicable to fix the problem?
    Thx for your help

    Hi Alba,
    Please check the WM views in MM.
    I've checked:
    (SAP help pushing F1 when the cursor is set on this thick box)
    <i>Indicator: Allow addition to existing stock
    Indicator determining whether a material with particular characteristics may be added to existing stock of the same material with the same characteristics in one storage bin.
    Dependencies
    If the storage type control table does not allow additions to existing stock for this storage type, the indicator set in the material master record is ineffective.</i>
    +
    (SAP help)
    http://help.sap.com/saphelp_46c/helpdata/en/c6/f8449d4afa11d182b90000e829fbfe/frameset.htm
    I think you have to set this indicator!
    BR
    Csbaa

  • Import - sort by "media type" not working?

    When importing media from my iphone I'd like to ONLY import jpgs, not the mov files. In searching, the sort option in the import dialog on "media type" should work so I can easily just select new jpg files, however this does nothing for me. Is this supposed to work? I'm running OSX 10.7.2 and LR 3.6.
    Any ideas? Does this sort function work for anyone?
    Thanks!

    Ok.  Never mind what I said about selecting the sort order before selecting the folder.
    I just checked again on my computer and (LR3) was able to sort by media type, by date, by name etc. from a folder on my desktop drives.
    It even worked when importing from a media card.  This is weird.
    Although everything seems to work for me now however I do remember having encountered the same issue before.
    There might be a bug.  It would be nice to have someone from Adobe or LR to explain the limitations if any of this sort function.
    Good Luck Marty.

  • Mpd --create-db not work?

    $ mpd --create-db
    $ cmdline: invalid option: --create-db
    why?--create-db did not work for mpd anymore?

    Its unbelievable. this option is gone for 6 years now. and people still complain

  • Create Outlines not working

    I'm running ID CS6, v. 8.0.1 on Mac OSX 10.6.8. When I try to convert type to outlines, the Create Outlines option is grayed out. Also, it says 'Create Outlines menu' instead of just 'Create Outlines'.
    I tried selecting the text box as well as just highlighting the text but neither worked. I also tried different fonts to make sure it wasn't font specific.
    I trashed preferences and saved data and restarted. No change.

    We use Font Explorer X Pro. No other plug-ins.
    I tried replacing the create outlines plug in, but that didn't work. Then I went to Extensions Manager, and for some reason Create Outlines was not enabled. Not sure how that happened. Once I enabled it, everything seemed to work OK.
    Thanks for your help.

  • I reinstalled Elements 12 after a crash.  Editor and Create does not work.  Getting "you must purchase" message.  It was purchased already.  What should I do?

    Please help....purchased Elements 12 and Premiere Elements 12 in August.  My hard drive crashed and I had to reinstall.  Now Elements does not allow me to use editor or Create and keeps telling me to purchase the software I already have.  What do I do?

    Peggy-D
    This is not Adobe. Rather user to user.
    From whom did you purchase Premiere Elements 12? Or, did you purchase from an authorize reseller?
    Either way, you are well beyond the typical money back within 30 days of purchase type of arrangement.
    But, as I said, this is not Adobe with whom you are communicating here. If you purchased from Adobe, then refund decisions are from Adobe.
    If you purchased from an authorized reseller, then you need to deal with that company's refund policy.
    I am surprised but glad that you got through to Adobe/Chat/Tech Support people. Typically they will only deal with current version/purchased/registered, and it is well into version 13 by now (13 was released September 24, 2014). When did you contact Adobe? Do you have a case number with Adobe Tech? Did it give you a troubleshooting scheme to follow? Were you supposed to get back to it? Did it work after your interaction with Adobe Tech?
    Post 2 of this thread highlights the things that worked for me when I was in situations such as your with Photoshop Elements 12 and Premiere Elements 12.
    Have you gone through the drills
    a. determining if the problem exists with and without the antivirus and firewall(s) disabled
    b. creating a new User Account with Administrative Privileges and installing and running Premiere Elements 12 from there.
    If you purchased from Adobe direct and want to get an official decision on a refund, you can try using the following link to Adobe Chat Orders
    Contact Customer Care
    Premiere Elements
    Membership, Account, Payment
    Payments, invoices, orders
    Chat Panel
    As of a few moments ago, the Chat Panel was visible. If the link set does not hold, then you will need to navigate to the Chat Panel using the above titles as guides.
    We will be watching for your decision on how you want to proceed.
    ATR

  • Custom Process Types not working in SAP BPC 10.0

    Hi Experts,
    We have migrated from SAP BPC 7.5 NW to SAP BPC 10.0 NW.
    We have three Custom Process Types created in BPC 7.5NW using the super class CL_UJD_SIMPLE_ACTOR as super class.
    It has been made Obsolete and Final class in BPC 10.0NW and the Custom Process types are not running as expected.
    Can you please suggest if there is any alternative for using the existing custom process types? Or do we have any alternative for creating custom process types?
    *Note: We have tried replacing the superclass with CL_UJD_ACTOR instead of CL_UJD_SIMPLE_ACTOR but of no use.
    Regards,
    Balraj.

    Hi Inl,
    The statement looks fine, just confirm:
    Your CATEGORY dimension is named CATEGORY? Is it really has property COMPARISOIN?
    Can you show the screenshot of UJKT run of script?
    What is your core BPC SP?
    Vadim

  • Exchange Rate Type not working during plan assessment in T Code KSUB

    Hello Experts
    We had different exchange rate types created for different plan versions. We had Exchange Rate Type Z1 for Plan Version 01.
    We had maintained the same in Planning settings for the fiscal year 2011.
    We had created a new plan assessment cycle with version 1.
    Now when we execute assessment cycle it is not using the exchange rate from 01/01/2011. Instead it is selecting the rate from 01/01/2010.
    Is there something wrong when we copied fiscal year 2011 from 2010 for version 01.
    Request your inputs and help on this.
    Thanks
    Satya Alapati

    Hi Ajay
    Thanks for the information.
    We had not maintained the value date for any of our versions since we keep changing the rates for every period and wish to have the system pick the latest rate for the period.
    It has been the case in earlier years also.
    Thanks
    Satya

  • Final Cut Pro X - Create Archive not working with Yosemite!

    Just upgraded my laptop to Yosemite and now I can't create any camera archives.  I am not sure if it is my laptop or Yosemite that is causing the issue.  I tried creating a camera archive with the same SD card on another machine (running Mavericks) and it worked fine.  Anyone else having similar issues?

    Oddly, still no luck. i was hoping to find something in the logs but FCPX keeps pretty quiet. My goal was to see if this feature was broken but since it is working for others, I will close this question.
    Thanks

  • Idoc Control record - Change to msg type not working

    Hi,
    We have a field in the control record that we are trying to update but it will not take.  The FM is IDOC_OUTPUT_TPSDLS.  Inside this FM is a call to function customer-function '020'.  double click on the '020' and you go to the user exit EXIT_SAPLV56I_020.
    I created the include ZXV56U30.  It has one line of code - idoc_control-mescod = 'GLT'.  We are trying to populate this field with 'GLT'.  I activated the include and the user exit and the customer-function and finally the FM IDOC_OUTPUT_TPSDLS.  The user tested and said while we are getting our custom segments populated we are not getting this idoc_control-mescod = 'GLT' to work.
    What am I missing here?  Do I need to do a commit after the field is populated?  Is there some config that needs to be in place or what?
    Any help would be apprciated since we need this by the EOD for go-live.
    Thanks - many points awarded if someone can figure this out!

    Hi,
      Check if the user exit enhancment is added to a project in CMOD and make sure the project is activated.
    Thanks,
    Naren

  • .htaccess and MIME types not working in 3.1

    anyone else noticed that when using a .htaccess file to determine certain mime types safari 3 ignores the .htaccess file and handles the file the way the OS would normally?
    i'm hosting a bunch of 1080p .mov's and I'd prefer if they would just download when clicked on instead of trying to open in a window where they go out of frame.
    i've currently got the addtype set to octetstream, and on safari 2 and firefox they both automatically start to download, but safari 3 tries to open the movie in the browser window.

    I think that it is interesting to note that as I peruse the various threads dealing with 3.1 update problems the majority of complaints seem to be coming from iPhone/Mac combos; based, at least, on the posters signiture.
    For my part, 64bit vista win machine and 3Gs, the update could not have been soother and the phone works better then it did; no app problems, better wi-fi conectivity, faster loading of apps and files.
    I have had, though, considerable problems with Outlook sync, contacts sync and MM sync (enough so that I turned off MM except for iDisk); but most of these are known issues so just need to with it out.
    Seems like Apple could have workedd this stuff out before hand, though.

  • INSERT Loading Type not working correctly?

    Hi,
    I'm using ver. 9.2.0.2.8 for the owb client, and ver. 9.2.0.2 for the repository. I'm currently encountering this problem when using the INSERT loading type for loading data into one of my staging tables. It's a simple simple mapping really:
    I have a source table (A) that maps to a filter operator, which is then mapped to a staging table(B).
    The problem is, when I run the mapping to INSERT data from A into an already populated B, not all the desired records are inserted. Weird thing is, when I run the code from generating the intermediate result in TOAD or whatever, I get the desired results. So that kinda rules out any doubts on the select statement generated by OWB.
    Out of 23 records I get like 6.. just 6 of the 23 records I was hoping to be inserted into B.
    And yes, none of the remaining 17 records are present in A, so INSERT should (ideally) work fine and carry out inserting all the 23 records.
    Any ideas? ..

    Hi JP,
    Thank you very much for helpin out, I tried what you told me and here's what I got:
    Starting Execution STG_MAP_FILTER_DCS_IRREG
    Starting Task STG_MAP_FILTER_DCS_IRREG
    ORA-12801: error signaled in parallel query server P012
    ORA-02291: integrity constraint (RTOWNER.FK_RTER_RTA) violated - parent key not found
    ORA-06512: at "RTOWNER.WB_RT_MAPAUDIT", line 338
    ORA-01403: no data found
    ORA-06512: at "RTOWNER.WB_RT_MAPAUDIT", line 1736
    ORA-06512: at "RTOWNER.WB_RT_MAPAUDIT", line 2625
    ORA-06512: at "TOPSSTAGE.STG_MAP_FIL_R_TGT0_719337", line 1443
    ORA-06512: at "TOPSSTAGE.STG_MAP_FIL_R_TGT0_719337", line 2076
    ORA-06512: at "TOPSSTAGE.STG_MAP_FILTER_DCS_IRREG", line 482
    ORA-06512: at "TOPSSTAGE.STG_MAP_FILTER_DCS_IRREG", line 813
    ORA-06512: at line 1
    Completing Task STG_MAP_FILTER_DCS_IRREG
    Completing Execution STG_MAP_FILTER_DCS_IRREG
    ..I wonder what it means, hehe.

Maybe you are looking for

  • How can I transfer video from iMovie 2.0 on iOS7 to my PC without using the share tool?

    I'm trying to get a large video (~7.5GB) from iMovie to transfer to my PC for editing. Being that I am using a 16GB iPhone 5s, this seems to be impossible with the share tool (the square with an up arrow coming out of it) because iMovie wants to dupl

  • How do I get the Air to add my music library to iTunes?

    I successfully used migration assistant to transfer all my music from a Windows PC to my new Mac Air.  How do I get the Air to add my music library to iTunes?

  • How to set cursor in perticular field Table Maintence generator?

    Hi All I have created a table with 2 fields  Start_date and End_date. Now my requirement is i have to validate the both date field as Start_Date must be LESS than or EQUAL to End_Date. In table maintenance maintenance generator i have created a event

  • Complex File Content conversion - Reciver

    Hi all, I have to convert a XML to CSV. it shuld be fixedLength. My Structure is as follows <root> <NameA>     <Val1>dfjsf </Val1>     <Val2>          <Val21>ajdfjs</Val21>           <Val22>dfsdfsd</Val22>      </Val2>     <Val3>sfsfd</Val3> </NameA>

  • Unknown devices - need drivers

    I have some unknown devices that I can't find driver for. I would appreciate if anyone can help me with this Unit 1: AAS Hardware-ID: BTHENUM\{8e780202-0000-1000-8000-00805f9b34fb}_VID&00020fce_PID&01af BTHENUM\{8e780202-0000-1000-8000-00805f9b34fb}_