12-04-2007 6:49 AM
hi experts ,
i have two table control in two different screen.suppose i am entering some value in screen A with some amount , two to three line i enter.
when i press Enter key and Click on BACK (PAI) button i am getting corresponding sum of all field in Table control of Screen B . ITs working fine.
Now my quation that
If i never press Enter key and dirctly clicking on Back (PAI) button then corresponding sum is not reflecting in second table control of B screen.
How to solve above problem..
Point is assured.
12-04-2007 12:26 PM
hi Jim,
In the PAI of the Screen A ...
when sy-ucomm = 'BACK'.
Transfer the values in the table control to an internal table itab.
in the PBO of Screen B.
Move the values in itab to table control.
Thanks,
Kasiraman R
12-04-2007 11:07 AM
Hi Jim,
it is very clear that the module you written in the PAI of the screen needs to be triggered somehow.whether it is ENTER key or Back.It is not clear from your post at what time you want to populate the data?
Message Edited
shibu
12-04-2007 11:39 AM
Hello Jim,
Have you try use CHAIN for detect when a value is changed?
12-04-2007 12:26 PM
hi Jim,
In the PAI of the Screen A ...
when sy-ucomm = 'BACK'.
Transfer the values in the table control to an internal table itab.
in the PBO of Screen B.
Move the values in itab to table control.
Thanks,
Kasiraman R