Scrolling in Table Control

-----Original Message-----
Subject: Scrolling in Table Control
From: Amit Purohit

Hey,

I have defined a table control and scrolling is not possible in that even if
the number of entries exceeds the window height. Below is the flow logic
which I have attached

PROCESS BEFORE OUTPUT.
MODULE STATUS_0300.
LOOP AT IT1 CURSOR ZTR0300-CURRENT_LINE.
ENDLOOP.
*
PROCESS AFTER INPUT.
LOOP AT IT1.
  MODULE USER_COMMAND_0300.
ENDLOOP.

What could I have done wrong ?

Thanks in advance.

Amit.

-----Reply Message-----
Subject: RE: Scrolling in Table Control
From: K.Hariprasad

Try defining the table control lines in PBO.

PROCESS BEFORE OUTPUT.
ZTR0300-CURRENT_LINE = 100.

-----Reply Message-----
Subject: RE: Scrolling in Table Control
From: K.Hariprasad 

I am sorry, i have typed ZTR0300-LINES as ZTR0300-CURRENT_LINE in previous
mail.

PROCESS BEFORE OUTPUT.
ZTR0300-LINES = 100

-----Reply Message-----
Subject: RE: Scrolling in Table Control
From amit.purohit

That worked.

Thank you for prompt reply.

Amit.

-----End of Reply Message-----

Fast Links:
BDC program examples:
Auto Disallowed Back Posting to Previous Period

Get help for your ABAP problems
Do you have a ABAP Question?

SAP Books
SAP Certification, Functional, Basis Administration and ABAP Programming Reference Books

ABAP Programming Tips
ABAP and Samples Program Codes for Abapers

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.