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: 

CHECK/EXIT contains too many ABAP statements

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

former_member225448
Participant
0 Kudos

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