Skip to Content
author's profile photo Former Member
Former Member

runtime error in SELECT statement

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 18, 2011 at 08:18 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 18, 2011 at 08:32 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.