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: 

SQ02 syntax error when is processed internal table %dtab

Former Member
0 Kudos

Hi Gurus

I have to insert code in custom infoset from SQ02.

The goal is to modify internal table %DTAB in Code Section END-OF-SELECTION(before List).

Internal table %DTAB is table where are data extracted from SAP tables.

The problem is that i can't declare internal table in code section DATA in this way : data %dtab type standard table of /1BCDWB/IQG000000000026 with header line , because program dumpes at gives to me this error %DTAB" has already been declared.

But if i do not declare the table , when i check syntax error gives to me syntax error field %DTAB is unknown .

Any idea to solve this problem?

Thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi Andeas

i have to modify the field MSEG-MENGE ( Quantity ) if field MSEG-BWART has particular value.

Both fieldes are on internal table %DTAB.

what do you intend for additional fields/coding ?

Thanks

3 REPLIES 3

andreas_mann3
Active Contributor
0 Kudos

what do you want to modify?

Is it not possible with additional fields/coding ?

grx

Andreas

Former Member
0 Kudos

hi Andeas

i have to modify the field MSEG-MENGE ( Quantity ) if field MSEG-BWART has particular value.

Both fieldes are on internal table %DTAB.

what do you intend for additional fields/coding ?

Thanks

0 Kudos

You cannot modify table %DTAB in query. Try to put your code in record processing for node BSEG.

REgards,