Skip to Content
author's profile photo
Former Member

CHECK/EXIT contains too many ABAP statements

Hi all,

I am working in BADI MIGO. I have included few INCLUDE program in it which is throwing the following error while activating it. Please let me know if any one have come across it.

<b>Jump is too great and cannot be generated... A control structure or routine with CHECK / EXIT contains too many ABAP statements....</b>

Waiting for your reply,

Thanks,

Venki

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Oct 07, 2005 at 03:06 PM

    Same error for me.

    I have to call a larger macro 60 times and so I can't activate the function module. If I call the macro only 50 times it works fine.

    Any idea how to solve that without a complete redesign of the code (packing the macro into a new fuction module)

    Thanks,

    Christian

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 07, 2005 at 04:00 PM

    Hi,

    there is a limitation of the compiled codesize per method of 64k, I think. You would never hit this limit in a well designed class.

    BTW Java has the same "limitation".

    Regards,

    Juergen

    Add comment
    10|10000 characters needed characters exceeded