on 12-04-2006 4:06 PM
Hi
I am into creating a new screen in the existing MI application that would create measurement documents for all the measurement points corresponding to an equipment. To start with I am trying to access the key (a measurement point) by providing manaully
.....
Context context = getContext();
String key = "000000000004";//(String)context.getValue("key");
........
This I have done it in my new java controller for the new JSP page i created onNext method and made corresponding changes in all required files.
I am getting an error
Failed looking-up Mam041:com.sap.ip.me.api.persist.core.PersistenceException:key not found:4
this is the exception thrown in the controller , Mam041ManagerImpl.Java.
Could any body give me an idea to solve this.
Thanks in advance.
Venkat
Hi Venkat,
Also try to look for any cacasde relationship missing for your synckey 4.
Some times this happends as there is a data inconsistency in client and middleware.
And also try to look at the length of the synckey as Jo mentioned
Cheers,
Karthick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello venkat,
the data having a key value of "4" is not found in the local repository. that's why
the exception is thrown. im also wondering if your key is valid because it has a
length of 12. synckeys usually have a length of 10. try checking out your metadata
for the key field and make sure that your data having that key is present in your
local database.
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.