DBSequence not available as attribute type

Hello, I'm developing a JSF, ADF BC web app on JDev 10.1.3.3.0.4157 for use offline with Oracle Lite. The form is pretty basic: an enter/edit person/employee form with a few drop down lists. Essentially, only one table -- EMPLOYEE -- will be referenced for insertion. After I go through the initial wizard to create the entity/view objects, I open the EMPLOYEE entity and go to EMPLOYEE_ID under attributes so that I can assign it the type DBSequence since it is primary key. However, in the attribute type list, DBSequence is not an option.
Now, on the initial setup when I ran "Business Components from Tables", you are asked for some connection info for SQL Flavor and Type Map. Per the documentation provided in the Oracle Lite developers guide, I chose OLite for SQL Flavor and Java for Type Map. Could this have to do with the unavailability of DBSequence?
Is there some workaround for this? The last thing I have tried is setting the attribute for "Default" to the value -9999. I then created a before insert DB trigger that says if the employee_id = -9999 then select <emp id sequence>.nextval. When I run the page, though, i get the error: JBO-28203: Failed to refresh the row being updated. Values not set for Primary/Unique key or these keys are modified by databse triggers.
Thanks in advance.
--ryan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

This is the key difference between the master data and transaction data.
Every record in the fact table should segment value. How do you populate that? Reading the Ptable will not give you the result. How do you link the result that you obtain from reading the P table to the source_package?
You need to enhance the data source. or, if you can figure out a way to make sengment as an attribute of another characteristic that is contained in the transaction data source, then you ae fine, without enhancement. Perform a data analysis again and see if you can do this.
Ravi Thothadri

Similar Messages

  • Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'

    Hi All,
    I created the wsdl for mobile and I tried to send a SOAP request from Altova XMLSpy. However when I geive the wsdl in 'wsdl file location' I receive the following.
    File http://127.0.0.1:8080/B1iXcellerator/exec/dummy/com.sap.b1i.vplatform.scenarios.setup/vPac.sap.B1Mobile/001sap0003_sap.B1Mobile.wsdl is not valid.
    Invalid XML schema: 'Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'.'
      Error location: wsdl:definitions / wsdl:types / xs:schema / xs:element / @type
    Any Idea?
    Vangelis

    Hi,
      it seems that Altove did not cope with defaultNs prefix that is used for marking default namespace.
       just look up in your <xs:schema > tag what namespace prefix is used for your namespace - you shall find there something like this
    <xs:schema xmlns:ns0="your.namespace.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    and replace prefix defaultNs with prefix of your namespace (in example above it would be ns0)
    There might be several usages of defalutNs iside of WSDL (at least in my case were two) so replace it everywhere using same approach
    Best regards, Artem

  • Buildin Type "DBSequence" not available for PK Attribute in JDev 11.1.1.5

    Hi,
    I have JDev 11.1.1.5 and a (migrated) entity object.
    The PK-Atribute is filled in Database using a Trigger and a sequence.
    I set the attribute to *"Update while new"* and "*refresh after insert"*
    Now I'd like to ste the type to +"DBSequence"+ as suggested in 4.10.10 How to Get Trigger-Assigned Primary Key Values from a Database Sequence. But I dont have the Entry +"DBSequence"+ in the +"Type" combobox.+
    Even if I remove this attribute from the entity and add it again I'm not able to select the build in type +"DBSequence"+
    How do I set the Type of that attribute to "DBSequence"?
    bye
    TPD

    M.Jabr wrote:
    Did you find it?No. :o(
    If not, an alternative solution is to change the type to Number and assign that attribute a value from the sequence upon creation as explained in [url http://mjabr.wordpress.com/2011/03/11/make-sequence-number-as-default-value/]Set an attribute’s default value with a sequence number
    This is no Option since ADF is not the only component making new Entries in that table and I dont want to change the working parts (yet...).
    bye
    TPD

  • Why Marathi handwriting keyboard is not available.

    In the iPhone 5s
    Why Marathi handwriting keyboard is not available.

    Hi,
    a type is one possible reason - but the other reason could be the internal SAP release process. PErson A writes a note - and this note referes to Note B. Note A gets release - so everybody looks for Note B - but this is not released at the moment - so it can not be found at the moment. Talk to SAP via OSS and ask them, they can help you - cause internal SAP people can always see these notes, even they are not release to external customers. Or wait a few days - usually they get available then.
    Hope that helps!
    Regards,
    Oliver

  • Itunes store is not available in my country

    (this is my friends account)
    itunes is not available in my country, Georgia. i want to create an account with my credit card(it's Visa Electron) but since itunes is not available here i type vaild informtion in payment information and random adress in billing adress(it's my friends adress who lives there so postal code,adress and everything is matching). when i try to create this account it tells me that card information and billing information don't match. is there a way  to create account with my credit card so i can buy apps?
    i had account like that but card expired, and i don't know how the account was created

    daladala wrote:
    (this is my friends account)
    itunes is not available in my country, Georgia.
    is there a way  to create account with my credit card so i can buy apps?
    No.
    -> http://support.apple.com/kb/TS3599

  • Itunes is not available in my country

    (this is my friends account)
    itunes is not available in my country, Georgia. i want to create an account with my credit card(it's Visa Electron) but since itunes is not available here i type vaild informtion in payment information and random adress in billing adress(it's my friends adress who lives there so postal code,adress and everything is matching). when i try to create this account it tells me that card information and billing information don't match. is there a way  to create account with my credit card so i can buy apps?

    No.
    If there is no itunes store in your country then you cannot use the itunes store.

  • DBSequence entity attribute type not available

    Hi OTN,
    I want to set an entity attribute type to DBSequence. But there's no such type in a drop-down list, only Java types.
    I tried to set the type in source manually but at runtime framework doesn't assign a negative integer to the attribute at Create operation.
    In simple test application DBSequence type is available and negative integers get assigned.
    I have found a proper thread (Re: DBSequence type no longer available for entity attributes? but the solution there is to recreate the whole datamodel. That isn't suitable for me.
    Maybe there is a better solution now?
    Jdeveloper 11.1.1.2, ADF BC
    Thanks.

    I logged Bug 9380578 - "SQL FLAVOUR" AND "TYPE MAP" CAN BE CHANGED IN "PROJECT PROPERTIES"
    (published in My Oracle Support).
    NB: in JDeveloper 9.x, it was possible to change the "SQL Dialect" (as it was called at that time), but the ADF BC objects and the custom code weren't changed;
    hence it was decided to gray out that choice after the Project creation.
    Regards,
    Didier.

  • Custom Attribute not available in Available Fields section of Configuration

    Hi Experts,
    My requirement is to add a custom search field in contact search screen. For that i tried various options
    Option1
    Added a model attribute in component/view  BP_CONT SEARCH/Search. The attribute got successfully added. But when i opened the Configuration tab, i could not see the attribute in the available fields.
    Option 2
    In the view CRMVC_SDESIGN, i created a new entry for my attribute in object type: BP_CONTACT and design object . But doing so, i got an error and was not able to add my attribute
    Option3
    Since the View context node 'Search' is bound to the Component Controller Context node 'Search'. I created my custom attribute in compoennt controller also. But this also did not help.
    Option 4
    I deleted the enhancement of the view and created a new enhancement. I created a value node in Search context node. But still the attribute is not available in the Availble Fields in the Configuration of component/view BP_CONT_SEARCH/SEARCH.
    Kindly provide your valuable suggestions to resolve this issue.
    Regards,
    Radhika
    Edited by: Radhika Chuttani on Jan 6, 2012 7:28 AM

    Hi Radhika,
    You need to enhance the search query structure as well in order to get the field in the configuration.
    You can find the BOL structure for the corresponding context node bol model.
    In your case, the BOL model is the search object 'BuilContactAdvancedSearch'.
    The corresponding structure can be found at the BOL Model Browser, under Dynamic Query Objects
    for the search object 'BuilContactAdvancedSearch'. The corresponding structure 'CRMT_BUPA_IL_CONP_SEARCH'
    has to be enhanced with the new custom attribute. Only then, this field would be available in the configuration
    when the following htm code gets executed when you open the configuration tab.
    <thtmlb:advancedSearch id                = "advs0"
                                     fieldMetadata     = "<%= controller->GET_DQUERY_DEFINITIONS( ) %>"
                                     header            = "<%= SEARCH->get_param_struct_name( ) %>"
                                     fieldNames        = "<%= controller->GET_POSSIBLE_FIELDS( ) %>"
                                     values            = "//SEARCH/PARAMETERS"
                                     maxHits           = "//SEARCH/MAX_HITS"
                                     ajaxDeltaHandling = "false"
                                     onEnter           = "search" />
    Here you can see that, it reads the parameter structure using the method SEARCH->get_param_struct_name( ) of
    the context node.This is used for configuration as well.
    Also if you have an F4 help for your custom attribute, you have to add it in the GET_DQUERY_DEFINITIONS( )  of the
    view controller. These additional information will help you to understand better.
    Regards
    Leon
    [SAP Community Network Forums on mobile|https://cw.sdn.sap.com/cw/ideas/7910]

  • OSB to Object Types: difference between NULL value and not available

    Hello all,
    I have a question about Object Types. More specifically, how to differentiate between an empty value (null) and a string not available.
    This is my case:
    I have created an object type with three parameters.
    CREATE OR REPLACE TYPE OSB_EMP_OBJ_TYPE AS OBJECT
    (EMP_ID NUMBER
    ,DEPT_ID NUMBER
    ,ORDER_ID NUMBER
    ,CONSTRUCTOR FUNCTION OSB_EMP_OBJ_TYPE
    RETURN self as result
    /I would like to see what happens when I put an empty string into emp_id, NULL into DEPT_ID and nothing into ORDER_ID.
    To do so I have this test script:
    declare
      p_emp OSB_EMP_OBJ_TYPE := OSB_EMP_OBJ_TYPE();
    begin
      p_emp.EMP_ID := '';
      p_emp.DEPT_ID := null;
    --  p_emp.ORDER_ID := null;
      if p_emp.EMP_ID is null
      then
        dbms_output.put_line('Empty');
      end if;
      if p_emp.DEPT_ID is null
      then
        dbms_output.put_line('NULL');
      end if;
      if p_emp.ORDER_ID is null
      then
        dbms_output.put_line('Not available');
      end if;
    end;The result of this is:
    Empty
    NULL
    Not availableIt seems that Oracle treats all three situations alike. What I would like to achieve is a way to see that p_emp.ORDER_ID was not initialized.
    To elaborate a bit: in our production system this procedure would be called from OSB and the object type would by the input for that procedure. Our database version is 10.2.0.5.0.
    Our procedures look something like this:
    procedure p_procedure ( p_emp in osb_emp_obj_type )
    is
    begin
      do_something;
    end;Can anyone tell me if there is a way to achieve this, so I can see whether or not a value in the object type was filled?
    Thanks in advance!

    Darn...
    Eventually we want to use this for an update procedure. The client gets all current data from the database by calling a webservice that (using OSB) selects the data from our database. What we want to achieve is that the client can update that data, by returning only the changed fields to an update procedure.
    We then handle an empty tag to update the field to null, and we ignore missing tags.
    OSB itself can handle this, but PL/SQL can't.
    I'm now thinking of adding an indicator to each optional field (clear_field_yn). OSB can still check for empty tags or missing tags. When a tag is empty, it's corresponding indicator will be set to 'Y'. If the tag is missing, then it will be set to 'N'.
    Is that a solution to consider, or is there a much simpler approach possible?

  • Error "Object 'DM' (APCO) of type 'Application' is not available in version 'A'" while transporting process chain to production system.

    Hi Gurus,
    Whenever I try to transport a process chain ZFI_0FIGL_C10 from dev. to qua. & prod. the error “Object 'DM' (APCO) of type 'Application' is not available in version 'A'” is displayed in the end of creating transport package.
    The process chain was created to load data to 0figl_c10 and it works all right on all systems (dev. qua. prod.).
    The process chain contains processes for:
    - starting the process chain
    - executing infopackage (for loading data to 0figl_o10),
    - ACR (activate data in 0figl_o10)
    - delete index 0figl_c10
    - DTP loading data from 0figl_o14 to 0figl_c10    
    - executing infopackage 80FIGL_O10
    - creating index in 0figl_c10
    - building DB statistics
    - rolling up aggregates in 0figl_c10
    - deleting of requests from the changelog 0figl_o10
    - deleting of requests from PSA (0fi_gl_10)
    How to find what cause that error.
    Regards,
    Leszek

    Hi,
    A SAP consultant told me to ignore that error. 
    Indeed, after creating transport with some new process chains (again I was informed about that error "APCO ...") and transporting it to production everything works all right.
    The problem is described in sap note: 883745.
    Regards, Leszek  

  • RSAR2318 : IDoc type for source system T90CLNT090 is not available

    Hi all,
    I am working on BI + ECC 6.0. Have created a ODS object using RSA1OLD. While activating the ODS, am getting this error:
    1. Error:
    R7I028
    Object could not be activated
    2. Error:
    RSAR238
    IDoc type for source system T90CLNT090 is not available
    Error when creating the export datasource and dependent objects
    Error RSAR238 : IDoc type for source system T90CLNT090 is not available
    I have already checked trx & dtps, but could not find resolution.
    Kindly help me with this error.
    Thanks and regards,
    MS

    M Sharma wrote:
    But how exactly can I create when T90CLNT is not active? Help please.
    Yes, you would need to check with BASIS team how they have created an alternate source system (for debugging) & prepare a RFC b/n these systems. Can you just check the settings in the source system and BI source system...and check the source system for the same BI system. Right click > Check and then do a restore or take the help of basis to fix it. What I think is a possible solution is : RSA1 > Source system > Search System > Right Click > Activate

  • RSAR238 : IDoc type for source system T90CLNT090 is not available

    Hi all,
    I am working on ECC 6.0. Have created a ODS object using RSA1OLD. While activating the ODS, am getting this error:
    1. Error:
    R7I028
    Object could not be activated
    2. Error:
    RSAR238
    IDoc type for source system T90CLNT090 is not available
    Error when creating the export datasource and dependent objects
    Kindly help me with this error.
    Thanks and regards,
    Dhanapal

    Hi,
    Check the same in SDN..
    Object ZDUMMY could not be activatedMessage no. R7I028
    Re: DSO Activation problem
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/test-cases-for-module-human-capital-management-1425016
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/idoc-type-for-source-system-t90clnt090-is-not-available-message-no-rsar238-1431565
    Thanks
    Reddy

  • Object '43TH...' (ROUT) of type 'Routine' is not available in version 'A'

    Hello all,
    I having this situation, first let me tell you that we have transported the queries from dev to qa and then we had to open the qa system to modify our queries. There were a lot of modifications done to the queries in QA and so now I am trying to transport the queries back to Dev so that we can transport it again via normal route.
    When I am trying to collect the query in QA I am getting a lot of errors something like this:
    <b>Object '43TH...' (ROUT) of type 'Routine' is not available in version 'A'</b>
    You wanted to generate an object with the name '43TH...' (in transport request ROUT) of type 'Routine' (TLOGO). This is, however, not available in the BW Repository database. It does not exist in the requested version A. If the version is 'D' then it is possible that an error arose during the delivery or installation. If the version is 'A' then the Object was either not created or not activated.
    <b>Object '43TH...' (RSFO) of type 'BW Formula' is not available in version 'A'</b>
    You wanted to generate an object with the name '43TH..' (in transport request RSFO) of type 'BW Formula' (TLOGO). This is, however, not available in the BW Repository database. It does not exist in the requested version A. If the version is 'D' then it is possible that an error arose during the delivery or installation. If the version is 'A' then the Object was either not created or not activated.
    Can someone tell me why is it erroring out and where can I look to fix it.
    Thanks,
    Raj

    Raj,  
        Can you please check the formula you mentioned in the Table RSZCALC Table, Provide ELTUID = "43TH...". check the Version whether it is 'A' or 'D'.
    If it is not available in 'A' Version, then check the Formula creation.
    Probably, it may help you.
    Regards,
    Nagesh Ganisetti.
    Assign points if it helps.

  • Object '0DB87SIC1' (IOBJ) of type 'InfoObject' is not available in versn D.

    Hi friends ,
    I am getting below error while doing the BI Content Activation.Please guide me for possible solution :this is for two three infoobjects.Do in need to reconfigure the system??
    Object '0DB87SIC1' (IOBJ) of type 'InfoObject' is not available in version
    'D'
        Message no. RSO252
    Diagnosis
        You wanted to generate an object with the name '0DB87SIC1' (in transport
        request IOBJ) of type 'InfoObject' (TLOGO). This is, however, not
        available in the BW Repository database. It does not exist in the
        requested version D. If the version is 'D' then it is possible that an
        error arose during the delivery or installation. If the version is 'A'
        then the Object was either not created or not activated.
    System Response
        The object was not taken into account in the next stage of processing.

    hi,
    This is not an error but while installing bunch of infoobjects, it will say which one of them it doesnot have in the system could be the problem in patches.Could be very old.
    Hence better you create a infobject equivalent of the object you require and use it and goahead.
    Thanks
    Kumar

  • Call Custom Library built in type is not available in form personalization.

    Hello All,
    In our Vision instance(EBS 11.5.10.2 Dev 6i Patchset 15) Call Custom Library built in type is not available in form personalization..
    Please suggest

    probably wiser to post this in the E-Business forum
    General EBS Discussion
    your welcome

Maybe you are looking for

  • Another problem with updating in ms access

    Hello there, Me too has a problem with the update statement and ms access (using 2003). I've read many other problems, but a way to the solution that worked for I didn't found :S The strange thing with my problem is that i'm able to update integer fi

  • 6510 no longer works on pc after installing on mac

    I just bought a macbook pro.  My HP Photosmart 6510 was setup effortlessly on the mac.  What a change! However, no my PC will not print?  The documents just get stuck in the print queue? What happened?

  • Can anyone explain me the meaning of Minimum File age in FTP Adapter?

    I have set Polling frequency as 10 seconds and Minimum File Age as 2 minutes, but my file is getting picked up in first 10 seconds. But i want it to wait for 2 minutes and then pick the file from FTP location. Can anybody help in this to understand t

  • Need new serial numbers

    Hello! I have Premiere Elements Serial Number  deleted  Photoshop Elements Serial Number deleted - I bought a new computer.. When I install my programs on the new computer I get a message that I have to get new serial numbers, and I have to take the

  • How can I read books I have bought in ibooks in my Laptop

    I have an iPhone 4 and I have bought some books using iBook, normally I am reading those in my iPhone but I want to know if there is a way to read them in my laptop using windows XP - Professional. Thanking you in advance, I remain. Fernando Alvarez.