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

Error while trying to generate SAP Query

Former Member
0 Likes
2,790

Awaiting reply...

Hello ABAP Experts,

I tried to add REGUP-BUDAT to a query infoset, which already had BSAK and LFA1 table. While generating I get the following error message:

-


Global syntax check

Additional tables

Error in code for table REGUP

Field "AND" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.

-


Warning messages

Identification of text fields

Text field for BSAK-UMSKZ was re-identified

Text field for BSAK-ZUMSK was re-identified

-


I am an FI person with very limited ABAP knowledge, so please explain, how I can best resolve this.

Thank you.

Edited by: Munair on Feb 7, 2012 11:01 AM

1 REPLY 1
Read only

0 Likes
797

Hi

The error is Field code issue. i.e. an error in the actual ABAP syntax. To find the error go to SQ02, go into the Infoset in change mode and search for table REGUP using the Find button.

Once found right click on it and select "Field Code". This should show the code to allow you to see where the error is.

The next two are warnings that point to changes that have been done to the fields.

Go into the Field Group (on your right) and remove the fields and then re-add them. Then click check and generate.