04-03-2008 8:11 AM
Hi all...
I m having a requirement to refresh a classical report from the output screen itself..
From the basic list, if I select a row and click on the detailed list button in application tool bar, a custom screen will be called. In that screen I am modifying some values and saving it. Again if i click back button, the modified value and related calculations should be updated in the basic list.....
The values which I am modifying in the screen are not to be directly updated in the list. Based on the values in the screen there are some computations ( Which are already there in the report)..
If refreshing is not possible, I need to run the report one more time to get the new values in the out put list, which is not desirable.....
Please solve this....
Thanks in advance,
JJ.
06-09-2008 8:20 PM
Hi JJ,
I have the same requirement. Did you find a solution for this?
Can you share that?
Thank you.
Reeta
06-10-2008 6:40 AM
Hi Reeta,
I got the requirement to migrate a report in old system (SAP 4.6c) to ECC6.0. The functionality of refreshing the report was not there in the old system, I have to incorporate that.
The old program was not modularized.
I finally myself modularized the code into different sub-routines and I identified that which sub-routines are exactly carrying out the report calculations and display, and I called the same set of two sub-routines under the back button of the detailed screen....
Before this I directly tried with submit to the same program under the back button of detailed list screen...though it is not a good solution it worked fine up to refreshing the report, but if we hit the back button in the refreshed basic list, it will directly go to the easy access screen instead of the selection screen..
So, I followed the modularization of old code and called the particular sub-routines....
-JJ.
06-09-2008 10:06 PM
Try the below one, check SAP help for more syntax.
MODIFY { {LINE line [OF {PAGE page}|{CURRENT PAGE}]
[INDEX idx]}
| {CURRENT LINE} }
[source].
You can execute this during save and return back to previous list.