Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SQL_PARSE_ERROR SQL dynamic statement

Former Member
0 Likes
977

Hi Experts,

We are calling dynamic SQL query for data extraction from various tables.

After transforming the code from ECC60 to ECC60 Ehp7. We encountered the

below error in one of our custom program.


  The reason for the exception is:                                                           

  The current ABAP program attempted to execute an Open SQL statement                       

  containing a dynamic entry. The parser returned the following error: "You can             

  only read out of the LRAW or LCHR fiels ZUSR10~AUTHS using its prepending                 

length field" 

As the code is dynamic we are unable to update the length of field .

Select (Selected_fields)

into corresponding fields of Table  <tmp_tab>

from(Table)

where (where_clause).

Please suggest .

Thanks

1 REPLY 1
Read only

frank_hoffmann3
Discoverer
0 Likes
630

SAP-Note 1810104 describes the problem.