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


In my zprogram i got the short dump in the below st.



can u give suggestion.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 02, 2006 at 04:07 AM

    how are your variables defined and what values are causing this to happen? I suspect that v_verz1 is packed decimal and is too small to hold the result of the subtraction. The right fields look like dates which are 8 digits so the v_verz1 should be able to hold 8 digits in case p_keydt = 0.

    try defining it as: data v_verz1(8) as type p.

    Add a comment
    10|10000 characters needed characters exceeded

    • verz1 can only hold 5 decimal digits. faedt can hold 8. You didn't say but I guess p_keydt is a date and can therefore also hold 8 digits.

      You need to declare verz1 so that it can hold 8 digits. This is because if p_keydat is 0 and faedt holds 20060802

      then it will try to put -20060802 into a 5 digit variable and will fall over.

      So, Declare v_verz1 as: data v_verz1(8) type p.

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.