on 07-14-2008 9:55 AM
Hello,
I have scenario from RFC to Oracle database.
In ID I insert to constant:
HR_AWARDS_ID_SEQ.NEXTVAL
When I run this scenario I received this error in RWB:
ORA-02287: sequence number not allowed here
Any idea how to solve this problem?
Elad
Hi,
This error come beacause of the specified sequence number (CURRVAL or NEXTVAL) is inappropriate here in the statement. So plese remove the nextval from HR_AWARDS_ID_SEQ.NEXTVAL and use some alternaative.
Regards
Aashish Sinha
PS :reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is caused by your group by clause.
The solution is to use a subquery to group the data and then use it result set like a table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elad ,
It is not issue with SAP XI interface . You are getting this error when you try to insert data into Oracle data base . Please check your insert statement , which is getting built in JDBC adapter .
Please refere this for generating the insert statement with out sequence number ---
http://www.orafaq.com/wiki/ORA-02287
Regards,
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
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.