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 with table control data

Former Member
0 Likes
466

Hi Gurus,

i am working on module pool program ,

here in my table control one field is kunnr having f4 help.

once the customer get the data into table control using f4 help .

next time when ever the user click on any object on screen data disappearing from table control how to handel this data .

can u please help me onthis issue .

Venu Madhavan Boppudi

3 REPLIES 3
Read only

Former Member
0 Likes
434

Venu,

In table control when you click on F4 help it will go first PAI and againg go to PBO and fill the help data.

After that when you click on other object again this control goes to PAI and PBO.

But initially in your PBO there is no code to get the help data .PBO code will get execute and the help data get refreshed . and first screen will get displayed.

So to control this put a conditon that

when press help data don't process this code.

Pls reward if useful.

Read only

Former Member
0 Likes
434

Hi,

i have resolved the problem my self,

when ever we are working on table control system will treated, table control also one sub-screen , below code must be written in PBO module.

DATA : cols LIKE LINE OF tc2-cols.

LOOP AT tc2-cols (table control name) INTO cols WHERE index EQ 1.

IF cols-screen-input = '0'.

cols-screen-input = '1'.

ENDIF.

MODIFY tc2-cols FROM cols INDEX sy-tabix.

ENDLOOP.

Read only

Former Member
0 Likes
434

help a lot