We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-abap] How to Grey Out a Parameter

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by TerryB (Sr. SAP Developer)
on Sep 20 at 6:47 PM
Nicolas,
When a parameter on a selection screen is set to output-only, the user can still display the associated search help, but can't select anything from it. You could probably code a call to the search help in the AT SELECTION-SCREEN ON VALUE REQUEST event for the parameter (something along the lines of what Stan is suggesting), but I think the whole scheme of an output-only parameter that isn't really output-only is kinda kinky.
I'm guessing that the goal here is to limit the user to selecting from a subset of the valid values available for the field. Why not just make it a regular input-capable parameter, then in the AT SELECTION-SCREEN ON <fieldname> event, do the necessary validation to ensure that the user has provided an allowed value. It seems to me that would be more intuitive to the user anyway. And you could give a very specific error message explaining the reason why the entry is invalid.
Cheers,
Terry

---------------Original Message---------------
From: Nicolas de los Reyes
Sent: Tuesday, September 20, 2011 1:49 PM
Subject: How to Grey Out a Parameter

Hi Terry,

I see you've caught the idea. I am trying to simulate the same logic se63 is using, but my program is a report instead of a module pool... I'll keep on googling, if you find something else please let me know!

Thanks!

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
TerryB
SAP ABAP Enthusiast

Contributed 100 posts in a group to earn a Bronze Achievement
Popular White Papers

In the Spotlight
Have you explored the Toolbox.com Marketplace? Learn more and access a free course now.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language