‎2008 Aug 02 9:56 AM
hi
I have developed a mod-pool prg which is haveing 2 table control as pop-up window .i am displaying some data in table control. there is only one field for inpput in table control..
my problem is when i am flaging the check box and entring
the data and then press enter ..
the data which is enter disappear althought it enter the data
base table.it should show the data which user had enter...
can any one help me what is the problem
‎2008 Aug 02 10:52 AM
‎2008 Aug 02 10:52 AM
‎2008 Aug 02 5:04 PM
Hi ,
Still the data enter in table control is disappering
can one help me
i have coded like this.
ITI- is internal table which consist of data &
which is display in Table control throught ITF internal
table .
PROCESS BEFORE OUTPUT.
MODULE STATUS_0112.
LOOP at ITI
WITH CONTROL TC
CURSOR TC-CURRENT_LINE.
MODULE FILL_TABLE_CONTROL_0112.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
LOOP at ITI.
module read_table_INPUT_0112.
ENDLOOP.
MODULE USER_COMMAND_0112.
-
module read_table_INPUT_0112.
IF ITF-SEL = 'X'.
modify itf index tc-current_line.
INSERT ZACG_NSI from itf.
ENDIF.
ENDMODULE. "read_table_control INPUT
‎2008 Aug 03 2:27 PM
‎2008 Aug 04 6:11 AM
Hi Abaper786 ,
Make sure that you did n't use any clear statement before updating entered data into you internal table.I think you are usin clear the line statement before updating your data into internal table.that's why it is not storing any where and displaying in table control
‎2008 Aug 04 6:19 AM
Hi....
Why not it should deffenately shows the value which you enter...
The problem may be.. you are displaying the previous( before you entered the value) table....
or
You are using clear statement for that entry
or
You are going for refresh the itab
Iam sure.... Nothing more than this in your problem....
Plz check the above by debugging, You can deffenately solve you rproblem..
Thanks,
Naveen Inuganti.
‎2008 Aug 04 7:36 AM
Hi,
This problem generally when u donot referesh the internal table.
Use Clear Work area...
and Refresh internal table.
hope this helps out.
thanx,
dhanashri
‎2008 Aug 04 3:22 PM