Entering content frame

-7008: Updates of this table not allowed Locate the document in its SAP Library structure

Explanation:

The specified table cannot be updated for the following possible reasons:

  1. The table specified in an SQL statement with CURRENT OF <RESULT TABLE NAME> is not the table indicated in the <FROM clause> of the <QUERY statement> which generated the result table.
  2. The SQL statement contains a correlated subquery which uses the table to be updated.
  3. The <QUERY expression> was specified with FOR UPDATE, but the <QUERY expression> contains statement parts which cannot be used together with a FOR UPDATE specification (DISTINCT, <GROUP CLAUSE>, UNION, INTERSECT, EXCEPT, <SUBQUERY>).
  4. In SQLMODE DB2 the QUERY EXPRESSION of an SQL statement with specification of CURRENT OF RESULT TABLE NAME contains the FOR FETCH ONLY statement.

User Action:

  1. Replace the table name with that used in the FROM clause of the QUERY statement or repeat the QUERY statement using the required table name.
  2. In the case of the correlated subquery, the desired effect can be achieved by generating a named result table which is then used in the <SUBQUERY>.
  3. You must remove the FOR UPDATE or DISTINCT specification, or similar.
  4. Repeat the QUERY expression without FOR FETCH ONLY, or omit the specification of CURRENT OF RESULT TABLE NAME in the SQL statement.

 

 

 

Leaving content frame