Hi,
I have a requirement to change the plant, asset master profit center and purchase order data for an equipment, for this I have written a module pool program which has selection and main subscreens where selection screen displays the selection criteria and main screen displays the output with the plant as editable field.
The program has two buttons, one is to display the equipment details based on the equipment data provided in the selection screen and another one is to update the master tables with the changed value.
The issue is after editing the plant and updating the equipment master tables, if I again try to display the equipment in the same session by clicking on the display button, it is displaying the old value instead of the new one (updated plant value). Irrespective of the number of times u change the value it is still showing the initial value only instead of the latest one even though I refreshed the output table which is displayed in the ALV container as well the ALV container before displaying the data in it.
I'm reading the equipment hierarchy data using the function module "EQUI_HIERARCHY_READ" where it is returning the old value instead of the updated values. I am calling this function module in a method of my own class. Its happening only when I call it in the class, but If I run the same function module in a report of same logic, it is returning the updated values.
Pls. advise me how can I get the updated value.
Edited by: sailaja reddy on Jan 19, 2011 3:29 PM
Edited by: sailaja reddy on Jan 19, 2011 3:29 PM