10-15-2007 4:55 AM
Hi,
I had a dialog screen showing a valid from date as 10.10.2007. I changed it to 15.10.2007 and click on other details tab. when I returned, it is still showing the old values.
When I did a DEBUG, upon changing and hitting enter key, the new dates for the screen field is not changed. it is still showing the old date for the screen field.
why is it so?
I think this is the cause of why the old values is still displaying. How can I get the field updated to my internal table. It need to be filled with the new values before I can updated to my internal table and then re-displayed again.
How to get the new values into the screen field?
10-15-2007 5:03 AM
Hi..
As i understatnd this field is in TABLE Control.
In that case you must Update the Internal table in the PAI .. Inside LOOP .. ENDLOOP.
Process After Input.
LOOP AT ITAB.
Module Update_itab. "Calling the module
ENDLOOP.
<b>In Module pool</b>
Module Update_itab INPUT.
modify itab from wa index TABCON-CURRENT_LINE.
ENDMODULE.
Note: Here WA is the work area of the Screen fields and TABCON is the Table control variable.
<b>Reward if Helpful.</b>
10-15-2007 5:41 AM
hi,
I did a DEBUG.
Upon changing and values date to 10.10.2007 to 15.10.2007 and hitting the ENTER key, ti branches to PROCESS AFTER INPUT.
Before it entered into the module MODULE USER_COMMAND_1100, the screen field, WS-DETAIL-DATBI still showing the old values instead of the new values, is it correct?
if no, how do i get the new values to the screen field for update?
10-15-2007 5:45 AM
Hi,
You need to do the modification of internal tabel in the PAI itself. After that when the PBO is triggered, the updated value will come in the screen.
Reward if helpful.
Thnx,
RSS.
10-15-2007 6:07 AM
Hi,
The problem is the new values I changed is not in the screen field that is used for it.
The screen field is still showing the old values.
If the screen values is having the latest values, then I would be able to update it in PAI before PBO.
Is there any where wrong with my setting. The screeen field is also my internal table.
10-19-2007 10:00 AM