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

New ABAP syntax for into table - Offset no longer valid

TMSingh_SAP
Participant
0 Likes
5,116

Hi,

I checked below link for inner join and inline declaration of table . So copy pasted the code from below link

Inner join

got error as below :

Though the code was copy, pasted then I changed the sequence of into table as below then got offset error

Again to check in simple code and no join, still getting offset error

Using the new syntax, pls help me understand what exactly the error is saying

SELECT bukrs,belnr,gjahr
FROM bkpf
INTO TABLE @data(lt_bkpf) ( row - 47)
WHERE bukrs = @p_bukrs
AND belnr = @p_belnr.

Thanks,

Mohan

1 ACCEPTED SOLUTION
Read only

Florian
SAP Champion
SAP Champion
0 Likes
2,633

Have you thought about the fact, that it could be a wrong message at your error tab?

And why don't you use ADT, not sure, if all syntax checks are also available via SE38...

Without a system, I would suggest, that the second select is valid (first screen).

The into at the end is located at the right position when using escaping.

And what's that with (row-47).. what do you try here?

2 REPLIES 2
Read only

Florian
SAP Champion
SAP Champion
0 Likes
2,634

Have you thought about the fact, that it could be a wrong message at your error tab?

And why don't you use ADT, not sure, if all syntax checks are also available via SE38...

Without a system, I would suggest, that the second select is valid (first screen).

The into at the end is located at the right position when using escaping.

And what's that with (row-47).. what do you try here?

Read only

0 Likes
2,633

Thanks Florian. I checked in ADT and the syntax for inner join is fine.

Some of the syntax in GUI like inline declaration for variable/Work area work but inline table gives syntax. Even some syntax like aggregation in select works in GUI.

I thought of some basic inline syntax declaration works in GUI then why this offeset issue with inline table declaration.

Thanks,

Mohan