on 02-27-2013 4:09 AM
Anyone know how to make a search field attribute read only in IF_FPM_GUIBB_SEARCH ?
Cheers
JSP
Hi John
I'm not sure you can do it via code but you should be able to set the search field as read only via WD configuration.
Regards
Glen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey John,
You could use 2 separate configurations and for the admin types who need more search functionality, give them an additional separate transaction (as a workaround)? Though that implies identifying these admin types up front with a unique role that would provide this additional transaction.
Or taking a different approach, why would the read-only field appear at all if they can't do anything with that field. If it's not, you could just remove the search field from the definition method couldn't you?
Cheers,
Matt
Hi John
I think you can use an AppCC to modify the config at runtime.
http://scn.sap.com/docs/DOC-2306
I've never had the need to do this myself but have always been meaning to try it. I'd be interested to hear how you go with it.
Regards
Glen
Hi Matt
Thanks for response.
I just read about Context Based Adaptations, and was thinking in the role of the administrator an additional application parameter could be added, then at run time adapt either use - 2 configurations or hide select option for no admin types.
Cheers
JSP
Hi John
That Context Based Adaptations sounds interesting. Is that only avail from 7.03? I can't find any FPM_ADAPTABLE* components in my 7.02 system...
If I understand it correctly, the configuration is chosen based on a application parameter - is that correct? The only downside I see is that if savvy users work this out then they could bypass your read-only restriction by adding/changing the URL parameters (assuming they can see the URL in the first place, that is). At least with the AppCC you can make the choice of the configuration based on an actual role and protect it it from external influences. But then your requirement might be a usability thing not a strict, security requirement...
I guess too many options is better than none!
Good luck with it.
Regards
Glen
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.