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

Problem in module-pool.

Former Member
0 Likes
964

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
933

Abaper786,

refer:

Amit.

7 REPLIES 7
Read only

Former Member
0 Likes
934

Abaper786,

refer:

Amit.

Read only

Former Member
0 Likes
933

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

Read only

Former Member
0 Likes
933

Use clear and refresh statements properly.

Read only

former_member761936
Active Participant
0 Likes
933

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

Read only

naveen_inuganti2
Active Contributor
0 Likes
933

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.

Read only

Former Member
0 Likes
933

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

Read only

Former Member
0 Likes
933

Hi Friends,

Thanx for ur reply..

This problem is solved