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
Similar Messages
-
DBSequence type no longer available for entity attributes?
I'm puzzled by this, if not scared.
Every version of JDev till 11.1.1.2.0 has had out-of-the-box support for DBSequence as an entity attribute type.
When you set it for your PK, JDev disables a few options, automatically sets "refresh after insert" (and maybe other stuff) and handles everything about it.
Now, I see that in new applications created with 11.1.1.2.0 that option is no longer present...!
It's available only for apps migrated from previous versions.
If you create a new application, you no longer have DBSequence in the Type dropdown.
Here's what the documentation (Oct 2009 DevGuide, par 4.10.10) says:
In the Edit Attribute dialog, you can set the value of the Type field to the built-in data
type named DBSequence and the primary key will be assigned automatically by the
database sequence. Setting this data type automatically selects the refresh after Insert
checkbox.Where on Earth is this built-in data type named DBSequence in Jdev 11.1.1.2.0?Thanks Paul.
It seems JDev broke my application.
It only shows the native Java types in the dropdown, and does not show any of the Oracle types including Number, DBSequence and all the rest.
(Note that all the connections I work with use the Oracle type map, of course - it's automatic.)
I tried a new quick test with a new application and again, no Oracle types, just the java types.
Then closed and reopened my applications as well as JDev and I can now see all the types in my quick test.
However, my original application still "sees" no Oracle types, it's stuck with the Java types.
I'll try to see if I can repair it in some way... I'll eventually put it down as one of the gazillion one-time bugs that JDev shows daily. -
This operation is not available for read only field 'Type MVF'
Hi All,
We are using OrderToCash PIP and we are on Siebel 8.1X.
While Synching the customer from Ebiz to Siebel facing the following issues:
Method 'WriteRecord' of business component 'Account' (integration component 'Account') for record with search specification '[Row Id] = "2d3434313239353"' returned the following error:"This operation is not available for read only field 'Type MVF'.(SBL-DAT-00402)"(SBL-EAI-04451)
Please suggest us what steps to be done in Siebel.
Thanks
MaanasaFirst check the process why this is calling Account BC WriteRecord(). The field "Type MVF" might be read only and this sync process is trying to update this field which is read only. This is the reason for the error. Check the OM log / EAI Obj Manager Comp log (set log level to 5) and check.
Joseph Arul Dass -
Data Type Is Not Vailid for Input
Hello,
I'm new in (ABAP) WebDynpro and I have a problem with displaying data - particularly with HROBJECTs from our e-Recruiting system.
In my WebDynpro-Component i read some data of candidates into my context. One table (with candidate-infos) which i save in my context includes a field which is datatype of HROBJECT. After I've read this infos into my itab, I bind this table to my context. All this works fine! But as soon as I bind this context to a table-ui-element in my layout, i get a error message "Data Type Is Not Valid for Input", when i start the application.
If I delete the binding with the attribute which is a HROBJECT, it works.
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_WDR_CONVERSION_EXCEPTION
Information on where terminated
Termination occurred in the ABAP program "CL_WDR_CONVERSION_UTILS=======CP" -
in "IF_WD_CONVERSION_UTILS~TO_STRING".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 138
of the (Include) program "CL_WDR_CONVERSION_UTILS=======CM00G".
The termination is caused because exception "CX_WDR_CONVERSION_EXCEPTION"
occurred in
procedure "IF_WD_CONVERSION_UTILS~TO_STRING" "(METHOD)", but it was neither
handled locally nor declared
in the RAISING clause of its signature.
The procedure is in program "CL_WDR_CONVERSION_UTILS=======CP "; its source
code begins in line
1 of the (Include program "CL_WDR_CONVERSION_UTILS=======CM00G ".
136 WHEN cl_abap_typedescr=>typekind_struct1 "'u' " structure
137 OR cl_abap_typedescr=>typekind_struct2. "'v'. " structure
>>>> RAISE EXCEPTION TYPE cx_wdr_conversion_exception exporting textid = cx_wdr_conversion_
139 * raise exception type cx_wdr_conv_unsupported exporting type_name = l_type.
Please Help.
Thanksnow i've tried it with a independent candidate node (without) supply funciton. =>
The same error: "Data Type Is Not Vailid for Input"
Here's the code of my supply-function:
(probably not the best coding - but it works until i want to display a hro.)
METHOD get_cand_info .
DATA: lr_cdcy TYPE REF TO cl_hrrcf_candidacy_bl,
lr_cand TYPE REF TO cl_hrrcf_candidate_bupa_bl,
stru_requisitions TYPE if_componentcontroller=>element_requisitions ,
lt_h_cdcy_list TYPE rcf_t_list_candidacies_x,
ls_h_cdcy_list TYPE rcf_s_list_candidacies_x,
lt_cdcy_list TYPE if_componentcontroller=>elements_candidate,
ls_cdcy_list TYPE if_componentcontroller=>element_candidate,
lt_addr TYPE rcf_t_addressdata_bp,
ls_addr TYPE rcf_s_addressdata_bp,
lt_email TYPE rcf_t_emaildata_bp,
ls_email TYPE rcf_s_emaildata_bp.
* get all declared attributes
parent_element->get_static_attributes(
IMPORTING
static_attributes = stru_requisitions ).
CALL METHOD cl_hrrcf_candidacy_bl=>get_instance
RECEIVING
return = lr_cdcy.
CALL METHOD cl_hrrcf_candidate_bupa_bl=>get_instance
RECEIVING
return = lr_cand.
* Hole Kandidatur-Informationen der Kandidaten
TRY.
lr_cdcy->get_candidacy_list_x(
EXPORTING
ps_req_hrobject = stru_requisitions-hrobject
* ps_cand_hrobject =
* ps_appl_hrobject =
* p_exclude_draft = 'x'
IMPORTING
pt_candidacies_x = lt_h_cdcy_list
CATCH cx_hrrcf .
ENDTRY.
* Ergänzen der Informationen mit BusinessPartner-Infos
LOOP AT lt_h_cdcy_list INTO ls_h_cdcy_list.
TRY.
lr_cand->get_contact_data(
EXPORTING
ps_cand_hrobject = ls_h_cdcy_list-cand_hrobject
IMPORTING
pt_addressdata = lt_addr
* pt_telefondata =
* pt_faxdata =
pt_emaildata = lt_email
CATCH cx_hrrcf .
ENDTRY.
READ TABLE lt_addr INDEX 1 INTO ls_addr.
READ TABLE lt_email INDEX 1 INTO ls_email.
MOVE-CORRESPONDING ls_h_cdcy_list TO ls_cdcy_list.
ls_cdcy_list-postcode1 = ls_addr-postl_cod1.
ls_cdcy_list-city1 = ls_addr-city.
ls_cdcy_list-email = ls_email-e_mail.
APPEND ls_cdcy_list TO lt_cdcy_list.
ENDLOOP.
CALL METHOD node->bind_table
EXPORTING
new_items = lt_cdcy_list.
ENDMETHOD. -
'invalid class-java beans not available for import
Hi Experts,
i am using java bean model in my Web Dynpro Application.
for that one i have created command bean(Customer) and in my command bean i am using some other class(CustomerInfo) as reference. this CustomerInfo class contains 4 attribtes(name ,id ,etc all are of type String)
when i try to import these 2 class into web dynpro (using java bean model),for the Customer class it
is giving an error message 'invalid class-java beans not
available for import'.but 2nd class(CustomerInfo) is imported successfully with out giving the error.what might be reason.
any help will be appriciated
Thanks in advance
With Regards
NaiduNaidu,
Please try to repeat JavaBean model import when running IDE in console mode (correspondign short-cut should be available in Windows Start menu, otherwise just copy original short-cut, edit it and change in command string "javaw" to java).
Post here what is shown on console during import.
VS -
Requested keystore type is not available
I am attempting to run adt on our server to sign an air
package. I have successfully run the same command locally but when
I attempt on the server I get this error:
requested keystore type is not available
This is the command I am running with the location of my air
swf as the current directory:
/absolute/path/airsdk/bin/adt -package -storetype pkcs12
-keystore /absolute/path/AirCert.p12 ../myair.air myair-app.xml .
I have also tried a relative path for both the adt command
and the certificate. I have found very little information about
this error elsewhere. Any ideas on how to get this working would be
much appreciated.I got it right now .
I just somehow ****** up my first selfsign certificate, and didn't see that I am not allowed to resign an air file. When I started all over with new files, it magically worked.
About the overruling thing, I AM aware of the test tool, but it isn't really an option for me. But now when everything is peachy again, it is not a problem for me anylonger.
/ozonedk -
Campaign Type is not available in drop down box
Hi expert,
I want to bring a new camaign type option in drop down box in web UI. in spro i define a new Campaign type(spro-crm-marketing- marketing planning and campaign management basic function---define types/objective/tactics).
but this new capaign type is not available in web ui campaign drop down box. actually i want to create a new campaign type fund management to add fund management functioanlity in Campaign.
please help to do this.
thanks in advance.
regards,
durHi Shruti and Anup,
Thanks for giving focus to my question. i have maintained the cateogory Campaign in SPRO and also language is EN in description.but i am creating a new campign type for marketing plan it is available in drop down box. and i also want fund and id available in general dat area in either campaign or marketing plan.How can i achieve it?
thanks
dur -
Value not legal for this attribute:Attribute: MX_ACADEMIC_TITLE_1
Hi All,
Run initial loads on abap CUA ended in error below, also attached initial load log to this message.
putNextEntry failed storingTESTCUAID1
Exception from Add operation:com.sap.idm.ic.ToPassException: ToIDStore.addEntry failed storing entry 'TESTCUAID1'. IDStore returned error message: " Value not legal for this attribute:Attribute: MX_ACADEMIC_TITLE_1" when storing attribute 'MX_ACADEMIC_TITLE_1=0002'
Exception from Modify operation:com.sap.idm.ic.ToPassException: ToIDStore.modEntry failed updating entry 'TESTCUAID1'. IDStore returned error message: "Entry does not exist" when fetching entry
when i check the attribute storage value is text and when i check in abap entry type is text and number. like "0002" i tried change the value to number but still got the same error. could some one help me solve this issue.
values in abap
thanks
saiThanks a ton Steffi,
i input values in attribute values tab --> all it went smooth.
Thanks
sai -
Invalid Class -Java Bean not available for import
hai friends,
i have declared the bean but unable to import into webdynpro application
i am geting the error invalid Class-java bean Not available for improt
i am try for this since more than 10 days , i get the same error
even i thought there may be issues with nwds , i have installed thrice.
there is application download from the sdn tu_bonus calculation it is working
plz help me neede very urgentlyHi,
Go thro' these solved threads dealing with similar type of problem,
Import JavaBean Error : Invalid Class
invalid class - ..as Model Class already exist
Hope it helps to fix the error !
Regards
Srinivasan T -
Why are some Filters not available for some image files?
I noticed that the Lighting Effect filter under Render is not available for all of my image files (grayed out).
I perform a "Merge Visible" for all the layers, but still this filter and some others are grayed out on some images. Does the bit-depth matter (8 or 16-bit) or file type (.PSD or .TIFF)? Thanks.Many filters don't work on 16-bit files.
Some of them are pretty ancient. -
New DSO data fields are not available for transformations in the upwardflow
Hello,
There are data flow from
many source DSOs -> Target DSO -> Final DSO.
Different transformations are defined and activated with DTPs. This works fine and provides the desired results.
now new fields are added to the target DSO, final DSO and one of the source DSO.
When I now try to edit the transformations, the new fields are not part of the sources at the different stage.
The fields are available in the Data Source created out of a DSO but not directly when using a DSO as a data source.
Have anyone faced such a problem?
any solutions to this?
- I cannot delete all the other transformations as this is too much work to do and there is no time for it.
Regards
KannanWe created ZMD_BS_MAT_OVP_LAYOUT. But the situation has not changed - the fields are not available for edit.
-
SharePoint 2013: A web analytics report is not available for this site.
Hello,
I have SharePoint Server 2013 and the enable usage data collection is enabled. There is usage logs and data being generated, but SharePoint says there is not data available.
A web analytics report is not available for this site. Usage processing may be disabled on this server or the usage data forthis site has
not been processed yet.
What can I do?
Thanks,
Paul
Paulhi,
Web Analytics is now part of the 2013 Search.
You can refer the below links, :
http://blogs.msdn.com/b/chandru/archive/2013/08/31/sharepoint-2013-web-analytics-report-where-is-it.aspx
http://www.collabshow.com/2013/05/23/sharepoint-2013-analytics-a-big-step-backward/
http://usamawahabkhan.blogspot.com/2013/06/sharepoint-2013-analytics-features-how.html
if you wanna use API, there is a blog,which talk about the same:
retrieve Search Analytics Reports
using SharePoint 2013 API:
http://radutut.wordpress.com/2013/01/27/how-to-get-search-analytics-reports-programmatically-in-sharepoint-2013/ -
problem updating to iphoto 9.6 after upgrading to Yoesmite I am getting the following message when I try top date iPhoto This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or canc
"This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled." ?
This error message will appear erraneously, if you skipped the update to Mavericks and iPhoto 9.5.1 and went straight from an earlier MacOS X version to Yosemite, without first updating to iPhoto 9.5.1 and associating iPhoto to your AppleID.
Try first to buy iPhoto with your AppleID instead of updating. Delete iPhoto from Applications, but don't empty the Trash, then go to the main page of the App Store and search for iPhoto. If you are lucky, it will show as free and you can buy it directly.
If iPhoto is not showing as free, there is no help but contacting the App Store Support: Ask for a redemption code. You will need to provide a prove of purchase for your mac with iPhoto preinstalled.
http://www.apple.com/support/mac/app-store/contact/ -
ERROR in MIRO : An exchange rate type is not defined for country IN
Experts:
When I try to enter the invoice received from the vendor, I am getting the following message.
An exchange rate type is not defined for country IN
Message no. FF802
Can anyone provide me a solution for this?
Thanks,
VijaiThis is the explanation given in note 974619 for the above error message
Summary
Symptom
When you post an FI document, the system issues error message FF 801 or FF 802.
Other terms
Plants abroad, FF 801, FF802
Reason and Prerequisites
You use the 'Plants abroad' function.
See Note 882132 for more information about this.
Solution
If the 'Plants abroad' function is active, additional fields appear when you maintain the country global parameters (transaction OY01, table T005):
- Country currency (Field WAERS)
- Exchange rate type (Field KURST)
- Net discount base (Field XSKFN)
- Net tax base (Field XMWSN)
You must maintain the fields 'Country currency' and 'Exchange rate type'.
Otherwise, the system issues error message FF 801 or FF 802.
thanks
G. Lakshmipathi -
Item is not available for reference to Excise Invoice, Deselect Item OK!
Hai,
I am doing a Sub contracting scenario, in which the excise is applicable to main material, i have maintained condition records, captured excise But while doing GRN i am getting Item is not available for reference to Excise Invoice, Deselect Item OK!
Message no. 4F279
above errror
Plz solve my problemWhether you tested case in development server ???
Are you sure SAP Note applies to our version & support package level ?
Maybe you are looking for
-
Is it possible to use a portlet backing file on the dvt_enabler portlet?
We currently have a 9.2 portal with a simple login form portlet that uses a backing file to do much security checking, authentication against ActiveDir, etc. Our requirement is to convert to WLP 10.3 using the DVT enabler portlet or something like it
-
2-tier directory support for V
Hi All I see that the latest firmware upgrade for the muvo TX allows 2-tier directories. Does anybody know if 2-tier support will be available for the V200? Thanks
-
How to transfer itunes purchased movies to computer hardrive?
I have just brought a movie from itunes and it has downloaded and is no in my movie libary in itunes. How can I copy it onto my hard drive like in a folder in finder or something?
-
I want to upgrade but want to know that I will be getting many of the features that I am expecting to. As of right now, running Snow Leopard, I only have 2 finger scrolling via trackpad. I have a magic mouse, but was wondering if the upgrade to Lion
-
Mac OS X 10.5 Server: Preventing DDNS registration for multiple interfaces
Please see http://support.apple.com/kb/ht3169 regarding a method to prevent OS X from registering all of its NICs IP addresses to the Active Directory to which it is bound's DNS. This is the default and expected behavior and is actually quite helpful