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

Deactivating a sub-screen

Former Member
0 Likes
472

Hi ,

I have a subscreen with 20 fields.

On the 'Display <-> Change' option I need to activate/deactivate these fields.

I think I need to deactivate them one by one.

Anyone has a better way to do this at one go ?

Any FM which deactivates the subscreen altogether ?

Thanks in advance.

Regards,

Sandip.

3 REPLIES 3
Read only

Former Member
0 Likes
425

You could assign all the fields to a group and then deactivate the group, instead of deactivating one-by-one.

Hope this helps.

Sudha

Read only

ibrahim_u
Active Participant
0 Likes
425

You can use Screen Groups For Grouping Fields.

In Screen Painter, Attributes List for field, You will see "Groups" attribute. You can specify 4 difference groups.

In PBO,

Loop At Screen.
  If Screen-Group1 EQ 'ABC'.
    Screen-Input = 0.
    Modify Screen.
  EndIf.
EndLoop.

Regards

Ibrahim

Read only

Former Member
0 Likes
425

hi

good

as per my knowledge i dont think there is any function module to do this but you can do this by apply the logic.

you go through the following links they might help you

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBTOO/BCDWBTOO.pdf

http://www.planetsap.com/Userexit_List.htm

thanks

mrutyun