This website is not affiliated with, sponsored by, or approved by SAP AG.

ALV - field input mode

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

ALV - field input mode

Postby Guest_SA » Sun Dec 28, 2003 8:19 am

Hi Guys,

Requirement:
I have a list displayed thro' ALV. User can modify some of the fields( fieldcatalog-input is set to x for that field). If one field(for ex. flag) is set, then user should not be allowed to change any of the fields on that row.

Question: How do I change field properties of individual rows or cells on the ALV list?

Come on Guru's.

Guest
Guest_SA
 

reference.........

Postby ulysis » Sun Dec 28, 2003 6:23 pm

You can reference Dev Class Slis....

'Slis' has a many exam program...

So you can find it....

good luck..
ulysis
 
Posts: 22
Joined: Thu Nov 28, 2002 9:38 pm
Location: seoul, korea

Postby Cyberron » Sun Dec 28, 2003 10:42 pm

Hi
Check out the program BCALV_EDIT_02 in the SLIS package. Input enabling is done at the cell level.

Regards
Cyberron
Cyberron
 

Thanks very much

Postby Guest_SA » Sun Dec 28, 2003 11:54 pm

Guys,

Thank you both a lot. It's a very relevant one. I'll go thro' and get back to you if i come across any problems.

Thanks again,

Guest_SA
Guest_SA
 

Postby Guess1 » Tue Dec 30, 2003 10:14 am

Change the field catalog's edit property as
data: ft_cat type lvc_s_fcat. Create field catalog.
If ft_cat-fieldname = 'MATNR'.
ft_cat-edit = 'X'.
endif.
Guess1
 

Postby Guest » Wed May 04, 2005 4:41 pm

Hi forum,

Change the field catalog's edit property as
data: ft_cat type lvc_s_fcat. Create field catalog.
If ft_cat-fieldname = 'MATNR'.
ft_cat-edit = 'X'.
endif.


In addition, I need that the editable field be obligatory ...anybody knows how I can do that?...I have checked the structure LVC_S_FCAT but I could not find a proper attribute!
As alternative, I am evaluating to send a message to the user making him to fill the editable field but the event DATA_CHANGED of CL_GUI_ALV_GRID does not work if the user does not fill any editable field
I will be grateful for any help

thanks in advance
Guest
 


Return to ABAP

Who is online

Users browsing this forum: Google [Bot] and 11 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.