Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Living Screen.

Former Member
0 Likes
718

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.

5 REPLIES 5
Read only

Former Member
0 Likes
676

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.

Read only

Emre_tr
Active Participant
0 Likes
676

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.

Read only

Former Member
0 Likes
676

Try 'lave to screen ' command before re-looping .

Thanks.

garikapati206.

Read only

SureshRa
Active Participant
0 Likes
676

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

Read only

Former Member
0 Likes
676

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