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: 

Table control scrolling issue in BDC

Former Member
0 Kudos

Hi All,

When i was passing less number of records (say 5 records) to table control in BDC call transaction, everything is working fine. But when i was doing more number of records (say 50), i was getting an error - <b>Screen 0000 is too large for internal batch input area</b>

I thought that i am getting because of overflow in the table control, is it not?

i am using the code as below -

Call transaction 'ZZZZ'

using gt_bdcdata

options from lv_ctu

messages into gt_messages.

but i am not sure how to scrolldown the table control when all visible lines filledout. Can you please suggest me on this. Please dont post materials - i already gone through.

regards

jaya

7 REPLIES 7

naimesh_patel
Active Contributor

What you can do for handling table control is, press page down after passing each and every record. This will enable you to put your records in the second line for each records.

So, From the second line onwards you just have to put all your data into the second row of the table control.

Regards,

Naimesh Patel

0 Kudos

Thanks for your spontaneous reply

Do i need to do while recording itself ? or when i need to do this ? In case if i need to write the logic in the program how i handle it, can you please suggest me.

Regards

jaya

0 Kudos

One more option is to press use the "Create Item" button (button with + sign.. underneath the table control).

You can record the recording by pressing this create item button for your each records in the line item.

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi Jaya Sri,

Table control BDC will act bit differently, Here you need to count how many records are displayed on screen (Count this when you are doing recording, this will be the default size when you run your BDC in backgorund).

Let's assume it dispalys 5 records, so for each and every 5 records you need to code for PAGE-DOWN the start again.

Thanks

Pavan

0 Kudos

Hi,

Thanks for your reply, but the visibility of number of records will vary from system to system - right. In that case if i saw 5 records while recording but in other system if it was showing only 4 or 6 then what will happen? I read some where to avoid this issue we need to use CTUparams ?

if you have sample code can you send me.

Thanks

jaya

0 Kudos

Yes . It may be vary from system to system, That's the I mentioned in my previous email to count the visible records when you are doing the recording (in t.code SHDB), and when you are using CALL TRANSACTION, use DEFSIZE option.

It will solve your problem

Pavan

0 Kudos

Hi Pavan,

Thanks for your information, i already kept that.

Regards

Jaya