Application Development 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: 

Positioning subscreen

Former Member
0 Kudos
528

Hi experts,

In a main screen i have 3 subscreen

Top subscreen

Middle subscreen

Bottom subscreen.

Based on the data if i'm not calling Top subscreen the Middle is moving up and taking the position of top and bottom move up to the place of middle which is good.

Now based on this i created similar subscreens in a main screen

Left Subscreen | Middle subscreen | Right subscreen.

If i'm not calling the left subscreen ,the middle subscreen is not moving to left.i do not know why .Basically i'm trying to

create 3 subscreens vertically and based on the data it is required to move to the left for displaying details.

Any ideas,what i'm missing or is there any other way to do this.

Thanks,

Linda

5 REPLIES 5

Former Member
0 Kudos
183

Hi Linda,

I dont have access to a system right now, hence am not sure whether we can assign a group ID (modif ID - SCREEN-GROUP1) to the subscreen area defined on the screen or not.

But, if it is possible, assign a modif ID and in PBO of main screen, you can set the SCREEN attributes for the subscreen to disappear as SCREEN-ACTIVE = '0' and SCREEN-INVISIBLE = '1'.

Hope this works.

Cheers, Aditya

Former Member
0 Kudos
183

The one possibility that seems to be possible here is only under the condition if you know that the subscreen 1 has no content then you can dynamically shift the content of the second subscreen to the first and the third to the second.

Former Member
0 Kudos
183

Hi Linda,

The horizontal adjustment of screen elements does not happen automatically like vertical adjustment...

In your case you can write code for this.

If I am not wrong you must be having 3 subscreen areas say SA1 SA2 SA3.

declare 3 variables gv_dynnr1, gv_dynnr2, gv_dynnr3.

always call gv_dynnr1 in SA1, gv_dynnr2 in SA2, and gv_dynnr3 in SA3.

When you dont want to display the first subscreen then assign your second subscreen to gv_dynnr1 and third subscreen to gv_dynnr2.

Try this and please let me know if you face any problem or need any further clarification on this

Former Member
0 Kudos
183

Hi,

I give some idea,follow it.but it is some tough.Open prg SAPLMIGO in SE80. have loook into screen 0001,0002,0003,0004,0005.it is MIGO program. you will get some idea.

It means you need 4 main screen like following manner of sub screen

1. with top, mid , bottom

2. with top, mid without bottom

3. with mid, bottom with top

4. with mid without top, bottom

Then place the sub screen.

Reward me,if useful

L.Velu

Former Member
0 Kudos
183

Hi,

If you don't want the dynamic change..., call a blank screen to the subscreen area on first if the first one is not required...

Regards,

Renjith Michael.