2011 Jul 19 7:07 AM
Can anybody give me an idea how to do this:
There's a guy name Mr. Loop.
Within Mr. Loop is Mrs. Modify.
Mrs. Modify, of course, modifies the screen.
That's all. Tee Hee.
Well, the problem is I want the screen to be modified and be displayed before re-looping.
Kind of like displaying the output while processing the code.
But it seems ABAP only displays once, after the whole program (or something) is executed.
So basically, if i have a modify screen/line within a loop,
the final screen modification within the loop is the only screen that will be displayed.
And it seems changing screens is user-command dependent.
So is an animated screen possible? I'm guessing no. But some thoughts would be awesome.
Can anybody give me an idea how to do this:
There's a guy name Mr. Loop.
Within Mr. Loop is Mrs. Modify.
Mrs. Modify, of course, modifies the screen.
That's all. Tee Hee.
Well, the problem is I want the screen to be modified and be displayed before re-looping.
Kind of like displaying the output while processing the code.
But it seems ABAP only displays once, after the whole program (or something) is executed.
So basically, if i have a modify screen/line within a loop,
the final screen modification within the loop is the only screen that will be displayed.
And it seems changing screens is user-command dependent.
So is an animated screen possible? I'm guessing no. But some thoughts would be awesome.
2011 Aug 01 7:13 AM
HI,
As per you logic....
Screen will keep modifying with in the loop.. so the screen modified in last iteration of loop will persist only.
And moreover , u cannot achieve animation with screen dynamicity , because screen will only be displayed once when PBO is triggered.
Thanks
Raghav M.
2011 Aug 03 11:12 PM
for changing something in a screen, you must refreshing the screen and thats it, when screen is displayed processing the code is over until next action. So i think something like your animation is very difficult.
2011 Aug 06 9:10 AM
Try 'lave to screen ' command before re-looping .
Thanks.
garikapati206.
2011 Aug 10 4:09 AM
Mrs.Modify can avail the services of Ms.Progress by calling FM SAPGUI_PROGRESS_INDICATOR which would animate the progress by changing "Percentage" and "Text".
Regards
Suresh
2011 Aug 10 10:03 AM
Hi ,
Why cant you use a selection screen over there , You can call the selection screen dynamically during the program using the codes.
SELECTION-SCREEN BEGIN OF SCREEN <SCR NUM>
your code here.
SELECTION-SCREEN END OF SCREEN <SCR NUM>
you can call the screen with in the loop by
CALL SELECTION-SCREEN <SCR NUM>
this will call the sel screen during runtime. you can use some logic to modify the screen elements.
Rep me if i am not wrong.
Edited by: karthikeyan.chandrasekaran on Aug 10, 2011 11:04 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |