on 01-28-2009 4:40 PM
I have a pesistent data store that I populate with a query transform.
After the DF is finished, I call a script to do the Lookup_ext on the DS that sets a global variable.
I am getting the error:
70806 <persistent cache table <Temp_3> is being read with an invalid key sequence>
Any information out there on this problem would be greatly appreciated
Thanks
Mike
I can reproduce this erro, but need to check if its a bug or not
for the workaround
- check if the Persistent cache table that you are creating has key defined for it
- In the lookup call in script, you should use the same key columns in the Condition and in same order
Pass the Compare value through Varaibles instead of Constants
for exmple :-
#declare a global varaible to store the value to compare
$G_EMP_NO = 7788;
lookup_ext([PersistentCache..EMP_DATA,'PRE_LOAD_CACHE','MAX'], [EMPNO],[NULL],[EMPNO,'=',$G_EMP_NO]);
and see if it works for you
Edited by: Manoj Dhyani on Jan 29, 2009 12:01 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HEY HEY!
That was the solution. I made it compare to a GV instead of the literal and it returned my values.
I have already defined the key on the persistent table so.
I would say this is a bug if SAP is asking for opinions. Constants are a standard method for doing a compare in any coding language.
Thanks again.
Mike
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.