‎2008 May 22 2:02 PM
Hi experts,
Would you please tell me the usage and effect of 'SWITH' attributes in dialog programming view SE41? I haven't found the detailed explanation of this attribute as F1 help dosen't provide sufficient info which could let me understand it. Thanks for your attention.
‎2008 May 23 2:11 AM
Do you mean the "Function Active <-> Inactive" option (Ucomm = SWIT)? If so, this allows you to have a function code defined in your PF-STATUS which shows as "greyed out" to the user (deactivated) i.e. visible but not accessible by clicking on it. Personally I tend to use the "excluding" option instead and hide the buttons / menu options that are not relevant.
Jonathan
‎2008 May 23 2:28 AM
Dear Jonathan ,
it is my fault that I didn't express my questions so clearly that you made the incorrect understanding. I meant a attribute 'SWITCH' when double-clicking any element in Screen Painter. I wanna know such attribute's meaning and usage. Thanks again.
Edited by: Alex Liao on May 23, 2008 3:31 AM
‎2008 May 23 2:59 AM
Thanks for the extra info - took me a while to find it as I was using the non-graphic dynpro editor and it's not on the Attributes popup there...!
If you dig down a little you can find structure D021S_RES1 which has the various setting fields - this one is labeled "ID of a Switch in Switch Framework (7.00)"... if you then head off to [Switch Framework|http://help.sap.com/saphelp_nw2004s/helpdata/en/af/e8b540afc87c2ae10000000a155106/frameset.htm] you can read more on this technology... the way I read it is that this "Switch" field will allow certain fields to be relevant to specific "switches", rather than using screen groups or field status definitions to drive the dynpro layouts.
Jonathan
‎2008 May 23 7:42 AM
Dear Jonathan ,
Thanks so much for useful info that did paved the way for my new point learning.