‎2006 Sep 06 10:17 AM
Hi All,
Please kindly Help me on this topic.
I developed one module pool program.
it has two screens 1000 and 3000.
in 1000 i have only one input field ( Order Number),
once user gives the order number(Having 2 records)and press enter, all the
Item details diaplyed in table control in screen 2000.
(assume here it displaye 2 records in Table Control)
when usre press <b>back</b> button it goes to 1000 screen.
again he gives another Order Number(aasume the second Order number is having<b> 5 records</b>) and Press enter,
it has to disply all the records <b>but it is diplaying only
two records in table control.</b>
like this in first entered order number is having one record and 2nd entered order number is having 12 records.
Once processing the first Order Number i came <b>back</b> to 1000 screen now i process the second record it has to display 12 records . <b>but in table control it is displaying only one record.</b>I tried in many ways but i did't get the logic,
Please can any one help me , it is urgent.
Thanks in advance.
Thanks & Regards.
Ramu.
‎2006 Sep 06 10:25 AM
Hi
The proble could be the tc don't refresh the caracteristics loaded for first run, so before calling dynpro 3000 you should refresh tc:
REFRESH CONTROL <TC> FROM SCREEN <screen>.
Max
‎2006 Sep 06 12:17 PM
‎2006 Sep 06 10:32 AM
check this one
when u r comming back to screen 1000 clear the table contents internal table.may be this is the problem
‎2006 Sep 06 11:03 AM
Hi.
In the PAI of screen 1000, once the user enters the order nu. and you use the same for the select query, clear the order number field.
This will fetch you the desired results.
Reward if helpful.
Rgds
‎2006 Sep 06 11:20 AM