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: 

runtime error in SELECT statement

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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