Hi,
Values are not gettting populated into my table control from my database table in a screen.
The data declarations are as under:
DATA : wi_custa TYPE zcust_master3 OCCURS 0 WITH HEADER LINE.
DATA : cursor1 TYPE i.
CONTROLS table1 TYPE TABLEVIEW USING SCREEN 0103.
I have written the code as:
PROCESS BEFORE OUTPUT.
MODULE STATUS_0103.
LOOP AT WI_CUSTA CURSOR CURSOR1 WITH CONTROL TABLE1.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0103.
LOOP AT WI_CUSTA.
MODULE TABCONTROL1.
ENDLOOP.
in my flow logic..
And in my screen ABAP program, i have the following code:
In PBO,
SELECT * FROM zcust_master3 INTO TABLE wi_custa.
table1-lines = sy-dbcnt.
zcust_master3 - database table with 2 entries
wi_custa - internal table
table1 - tablecontrol name
0103 - screen number in which the table control is present.
Please help me..
Thanx in advance,
Saipriya.S