Showing posts with label Scrolling in Table Control in sap abap. Show all posts
Showing posts with label Scrolling in Table Control in sap abap. Show all posts

Friday, November 23, 2007

Scrolling in Table Control in sap abap

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

Iam 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.

Blog Archive