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

problem with hiding fields on screen

former_member232092
Participant
0 Likes
644

hi all,

I have a screen with fields arranged side by side to each other.When hiding any of the fields i get blank space where the respective field is hidden.Bottom fields are not reclaiming the space.How to reclaim the screen space left by hidden fields.

Thanking u

ram

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
579

all fields in the line must be hidden so that the line is not output at all (following lines are moved one line upper).

how do you hide?

Read only

Former Member
0 Likes
579

One small addition to Sandra's comment: For the given screen the runtime compression (screen attributes) must not be deactivated (see also [setting screen attributes dynamically|http://help.sap.com/saphelp_NW04/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/frameset.htm] for further information). Usually that shouldn't be a problem, because by default the flag is not checked...

Read only

Former Member
0 Likes
579

Hi,

You can consider using the Subscreens. Create 2 subscreen with different UI elements as per your requirement. And then dynamically call the subscreen as per the business logic. You can then use the screen more effectively.

Have a look at the following code for a DEMO Subscreen Programing

DEMO_DYNPRO_SUBSCREENS Subscreens

Hope this helps.

Thanks,

Samantak