Application Development 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: 

Syntax error in program "AQWI05==========SOX-BKPF-BSEG= "

former_member189406
Active Participant
0 Kudos

Hi Experts,

I am getting the following Dump when trying to execute the program

AQWI05==========SOX-BKPF-BSEG=.

<b>Error analysis</b>

The following syntax error was found in the program

AQWI05==========SOX-BKPF-BSEG= :

"Field "03-" is unknown. It is neither in one of the specified tables n"

But, we dont find any Syntax error in the program.

Also,

<b>Information on where terminated</b>

The termination occurred in the ABAP program "RSBTCRTE" in

"START-OF-SELECTION".

The main program was "RSBTCRTE ".

The termination occurred in line 445 of the source code of the (Include)

program "RSBTCRTE"

of the source code of program "RSBTCRTE" (when calling the editor 4450).

The program "RSBTCRTE" was started as a background job.

004360 SUBMIT (STEP_TBL-PROGNAME)

004370 TO SAP-SPOOL WITHOUT SPOOL DYNPRO

004380 USER STEP_TBL-AUTHCKNAM

004390 USING SELECTION-SET STEP_TBL-VARIANT

004400 SPOOL PARAMETERS OUT_PRINT_PARAMS

004410 ARCHIVE PARAMETERS OUT_ARCHIVE_PARAMS

004420 AND RETURN.

004430

> if sy-subrc ne 0.

004460 message I645 with 'SUBMIT: sy-subrc =' sy-subrc. "#EC NOTEXT

004470 message A525.

004480 endif.

Please help me out. URGENT.....

Thanks in advance.

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos

error is in the program of variable "STEP_TBL-PROGNAME"

= AQWI05==========SOX-BKPF-BSEG=

that seem s to be a query

-> check query SOX-BKPF-BSEG with sq01 and its infoset with sq02

hope that helps

Andreas

2 REPLIES 2

andreas_mann3
Active Contributor
0 Kudos

error is in the program of variable "STEP_TBL-PROGNAME"

= AQWI05==========SOX-BKPF-BSEG=

that seem s to be a query

-> check query SOX-BKPF-BSEG with sq01 and its infoset with sq02

hope that helps

Andreas

0 Kudos

Hi, Through the query automatically SAP generates the code which consis of below line

<b>write at 03-(008) l_text(008) no-gap.</b>

Due to this the report is throwing syntax error <b>"Field "03-" is unknown. It is neither in one of the specified tables

nor defined by a "DATA" statement."</b>

Can you let us know how to correct this as we cannot modify the report as it is automatically generated.

Thanks.