Application Development and Automation 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: 
Read only

BDC table page down

Former Member
0 Likes
775

I searched forum but did not get clear answer so posting.

I am working on a BDC. Screen has Table. How can I find out how many rows there will be during BDC and when I need to do page down.

Thanks,

AP

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
723

Hi,

The system field SY-LOOPC Contains the total number of rows visible in the TC and SY-STEPL contains the row number of current row.

Then use P+ to page down p- for page up as the values of sy-ucomm

Hope this will serve your purpose.

Cheers

Ramchander Rao.K

Edited by: Ramchander Krishnamraju on Aug 13, 2009 6:41 AM

I searched forum but did not get clear answer so posting.

I am working on a BDC. Screen has Table. How can I find out how many rows there will be during BDC and when I need to do page down.

Thanks,

AP

3 REPLIES 3
Read only

Former Member
0 Likes
723

Hi,

While recording in the table for the BDC, start from the line line in the table, and after u enter the first record, hit enter.

The line you just entered will move to the first position. Similarly record input for 2-3 records and save the recording.

Hence, regardless of how many lines your upload data has, the data will be filled into the table from the last line -> subsequently moving to the first line and u need not worry about the lines of records.

Regards,

Amit

Read only

Former Member
0 Likes
723

Hi,

Its really not required to know the number of rows before doing the page down. While recording after entering the items in all the displayed rows, use 'P+' BDC_OKCODE wherein the page down function will be recorded and can be used in the program.

Regards,

Vik

Read only

Former Member
0 Likes
724

Hi,

The system field SY-LOOPC Contains the total number of rows visible in the TC and SY-STEPL contains the row number of current row.

Then use P+ to page down p- for page up as the values of sy-ucomm

Hope this will serve your purpose.

Cheers

Ramchander Rao.K

Edited by: Ramchander Krishnamraju on Aug 13, 2009 6:41 AM