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

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

AW: [sap-dev] select-options input disable field

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

Posted by INBUMA
on Jul 21 at 2:10 AM
Mark this reply as helpfulMark as helpful
Hi Khatia,

If you want to switch off the field you can use the paramter no-display.
But if you want to protect the field for input you can define a modify group.

like this:
SELECT-OPTIONS: S_ROLLE FOR AGR_USERS-AGR_NAME MODIF ID ABC.

*----------------------------------------------------------------------*
AT SELECTION-SCREEN OUTPUT.
*----------------------------------------------------------------------*
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
SCREEN-INPUT = '0'.
SCREEN-OUTPUT = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.

perhaps it helps you.

greetings
from Ingrid




________________________________
Von: R. Neal Wilhite via sap-dev [mailto:sap-dev@Groups.ITtoolbox.com]
Gesendet: Dienstag, 20. Juli 2010 16:56
An: Buchmaier, Ingrid
Betreff: Re: [sap-dev] select-options input disable field

[http://userimages.toolbox.com/user/b_420467.jpg] Posted by R. Neal Wilhite (Senior Project Manager)
on Jul 20 at 10:53 AM [http://images.ittoolbox.com/vt/icons/vote.png] Mark as helpful<http://it.toolbox.com/api/ContentVote/3644469/1/1/ >
I think the question should be "what is your purpose in doing so"? It might change the answer...

Neal










-----Original Message-----
From: Khatia_ via sap-dev <sap-dev@Groups.ITtoolbox.com><http://http://Groups.ITtoolbox.com>>
To: R. Neal Wilhite email@removed
Sent: Tue, Jul 20, 2010 9:51 am
Subject: [sap-dev] select-options input disable field











Posted by Khatia_ (ABAP Developer)
on Jul 20 at 9:47 AM








Hi to all. I have problem, can anybody help me?
my problem is: I want that my select-option field have been input disabled.
I use code but it only works to parameters:
SELECT-OPTIONS: so_matnr FOR mara-matnr.

AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name EQ 'SO_MATNR'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.

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

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements
_.____.__

0 comments:

Post a Comment

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