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

runtime error in SELECT statement

Former Member
0 Likes
435

While defining a structure for join in my program it has two fields both date of type erdat one from table vbak and other from custom table. If i use data element erdat to define two dates as date1 type erdat, date2 type erdat its giving a dump, but if i define it as date1 type vbak-erdat and date2 type ztable-erdat its working fine. I would like to know the reason behind.

Thanks,

swarna

Moderator Message: Please use more descriptive subject for your question.

Edited by: Suhas Saha on Aug 18, 2011 1:56 PM

2 REPLIES 2
Read only

Former Member
0 Likes
395

Shouldn't be, what is the error in the dump.

Paste your relevant code, both declarations and how you use the internal tables in ( select ?? )

BR,

Diwakar

Read only

Former Member
0 Likes
395

Hi,

check the data declarations of both VBAK-ERDAT and ZTABLE-ERDAT. My best guess is that there is a difference in format (length, type).

Roy