Skip to Content
0
Former Member
Dec 29, 2010 at 10:38 AM

VF03: Smartform dumping with TABLE_INVALID_INDEX in include LSTXBCTB3

131 Views

Hi all,

We have a Z smartform enabled for one particular output type. When we go to VF03 and give invoice no. and try to see the print preview it is dumping saying TABLE_INVALID_INDEX.

Surprisingly this is happening with only one invoice having 13 line items. All other invoices having line items less than 13(we have checked upo 11 line items) are executing properly. We see the print preview of them.

We have page protection button checked in the smartform. is it because of this?

I have debugged and came to know that this is happening in INCLUDE "LSTXBCTB3" and the form is "TAB_BLOCK_ADD_OTF" and the reason is the height(l_rem_height) is becoming negative due to which it is going to else block and in else block it is trying to modify internal table using negative index

Can someone please help to solve it.

Thanks in advance!

Aravind.