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

DATA_UC_STRUCT_C_OFFSET - Runtiem error

Hi all,

I am getting this runtime error - DATA_UC_STRUCT_C_OFFSET .

short text : Offset specification for a structure too large .

CAn any one suggest me how to resolve this error.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 15, 2009 at 09:21 AM

    You are obviously defining an offset which is larger then the actual length of your structure.

    Say structure is length 10, then what your are saying (doing) is this:

    structure+14=....

    Add a comment
    10|10000 characters needed characters exceeded

    • It doesn't matter whether you are using standard structure or not, but you can avoid this by making sure that your offset (variable) will not exceed the actual lenght of the structure.

      How do you define your offset and how are you filling it? How come that the offset exceeds the allowed lenght of the structure? You are probably using an offset dynamically based on some variables in your report, correct? So somehow this will not be correct. Try to find out via debugging why it is that this offset is too large.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 09:40 AM

    Nasreen,

    Study the contents of structure in runtime using ABAP debugger, see what data you need, then calculate and modify the offset accordingly.

    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.