Application Development 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: 

table controls

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

former_member667836
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hello Jim,

Have you try use CHAIN for detect when a value is changed?

Former Member
0 Kudos

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