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: 

When I click Scroll bar button remaining field not appear in table control

Former Member
0 Kudos

Hi,

I'm new in module pool . I'm creating module pool program using table control.My problem is when I display output in table control,

total records are come into table control.when I edit table control output I click on save button records are save into the ztable.

My problem is suppose in table control have 50 records. First 20 records saved later i click on down scroll bar remaing records

are not appear.

sample code:

PROCESS AFTER INPUT.

LOOP AT I_FINAL.

MODULE USER_COMMAND_2000.

endloop.

MODULE USER_COMMAND_2000.

IF SY-UCOMM = 'SAVE'.

MODIFY ZMODULE FROM ZMODULE.

ENDIF.

ENDMODULE.

PROCESS BEFORE OUTPUT.

MODULE STATUS_2000.

LOOP AT I_final WITH CONTROL TABLES CURSOR TABLES-CURRENT_LINE.

MODULE POPULATE_DATA.

ENDLOOP.

MODULE POPULATE_DATA.

MOVE-CORRESPONDING I_FINAL TO ZMODULE.

ENDMODULE.

Thanks & Best Regards,

Balakrishna Gajula.

4 REPLIES 4

davis_raja
Active Participant
0 Kudos

You have to modify the table contents in Process After Input Module

LOOP AT it_data.

MODIFY it_data.

ENDLOOP.

Former Member
0 Kudos

Hi,

Increse the size of table controll,,,,,,probably problem might come because table control size is less than total entries are storing to table,,,In pbo of logic fix the size of table using lines,,,,,

nabheetscn
Active Contributor
0 Kudos

Basically you need to take care that when ever you do a scroll down PAI event is fired and then PBO. Just before scrolling activate the debugger and check what are you doing in your code.

Nabheet

0 Kudos

Hi,

Thanks for giving valuable solutions. I'm display all records into table control successfully. when i edit table control

data fields then i click save button only display records are save into database table.

after click on save button remaining data records are not appear in table control .My table control have 60 records.

first i save 20 records.later remaining records are not appear.

When i click save button before all records are in table control.

Give Me Sample code for how to maintain data records after click on save button.

Thanks & Best Regards,

Balakrishna Gajula