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] Alternating Enabled/Disabled for an Input Field in ALV Grid

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

Reply from Loco-1 on Nov 26 at 3:51 PM
Hi to all.

First of all, must fill parameter I_GRID_SETTINGS with field EDT_CLL_CB = 'X'.
This will raise an event when user mark or dismark the checkbox.

The second action must be at parameter T_OUTTAB, this must have a field with LVC_T_STYL structure, this structure controls disabled edited cells on each row with field STYLE = cl_gui_alv_grid=>mc_style_disabled.

At Layout, must fill field STYLEFNAME with your style field.

Source:
http://wiki.scn.sap.com/wiki/display/Snippets/Disa ble+or+Enable+Input+fields+Conditionally+In+ALV

---------------Original Message---------------
From: jcastro2703
Sent: Tuesday, November 26, 2013 2:00 PM
Subject: Alternating Enabled/Disabled for an Input Field in ALV Grid

Hello guys,
Please, consider the following situation that I need to:
By using REUSE_ALV_GRID_DISPLAY_LVC, are displayed 3 fields:
1) A checkbox;
2) A description for a value;
3) A field that accept values.
I can change the value on field (3) freely, but once I do the check the
field 1 (checkbox), the field (3) is closed for edition.

I tried to change the values in is_layout_lvc table, but I have no idea how I should do
to "reload it" in real-time - I mean: Unchecking the field (1), field (3) become enabled to edition; checking the field(1), field (3) become disabled to edition. Is that possible?

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2013 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
Loco-1  

Programmer/Developer - Software
achievements
 
Mark as helpful
View this online
Ask a new question
 
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