Skip to Content
author's profile photo Former Member
Former Member

table controls

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2007 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 11:39 AM

    Hello Jim,

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.