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

Getting short dump -ABAP runtime errors DBIF_RSQL_SQL_E on select query

Former Member
0 Likes
682

Hi,

I am getting a short dump when executing the below statement in background

SELECT BVBELN BPOSNR AFKART AKUNAG AKUNRG AERDAT B~MATNR

BPMATN BPRSDT BARKTX BFKIMG BMEINS BNETWR B~MWSBP

BABRBG BFBUDA BPRODH BAUBEL B~AUPOS

INTO TABLE I_VBRP

FROM VBRK AS A

INNER JOIN VBRP AS B

ON AVBELN = BVBELN

FOR ALL ENTRIES IN I_FINAL

WHERE ( B~AUBEL = I_FINAL-VBELN AND

B~AUPOS = I_FINAL-POSNR ) AND

A~ERDAT >= '20070101'.

would appreciate your early response.

Thanks

Yamini

6 REPLIES 6
Read only

Former Member
0 Likes
657

Hi,

Have you declared the internal table I_VBRP to match the fields that you are selecting. They must be the same type and be in the same order to use the "into table" addition.

Darren

Read only

ThomasZloch
Active Contributor
0 Likes
657

What is your relation to this post?

It contains the exact same code and problem, but by a different person.

Thomas

Read only

0 Likes
657

but with different problem

Read only

0 Likes
657

How do you know? The OP here did not reveal much, other than the name of the dump.

It just occurred to me that this might be standard SAP code. A case for SAP Support Portal then.

Or an interview/exam type of problem? A case for SDN Moderator then.

Thomas

Read only

0 Likes
657

...and different countries on the business card.

Rob

Read only

0 Likes
657

Looks like 2 different people, working on the same support case.

This happens from time to time.

Cheers,

Julius