‎2007 Mar 22 10:03 AM
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
‎2007 Mar 22 10:18 AM
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.
‎2007 Jun 27 12:32 PM
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.
‎2007 Jun 27 12:33 PM