2013 May 27 4:01 PM
hi,
I have a table control (with wizard) and i need to make some fields editable depending on the button clicked (button add).
at first my table is displayed with data and all fields are not editable except one.
i want when i click on add button fields become editable.
thanks.
hi,
I have a table control (with wizard) and i need to make some fields editable depending on the button clicked (button add).
at first my table is displayed with data and all fields are not editable except one.
i want when i click on add button fields become editable.
thanks.
2013 May 27 4:10 PM
Please search. There's plenty of information about editable ALVs.
2013 May 27 4:15 PM
i serached a lot but i didn't find my need .
i used table control with wizard. i did not know where i should add my code.
2013 May 27 4:25 PM
2013 May 27 4:53 PM
hi,
thanks for your help but i have seen this before abd it's not very clear.
where should i put that code.
2013 May 27 5:03 PM
hi,
once u selected the aprticluar line and click on the push button write the code in the pbo event
usinh the loop at screen..........and amke editable of the partilar field which u want....
2013 May 29 8:18 AM
(FAQ) Start reading the documentation of LOOP AT SCREEN on help.sap.com or via F1 key, then perform some search (scn tool, google) on PBO, LOOP AT SCREEN and TABLE CONTROL...
Regards,
Raymond
PS: There are many samples at scn, help.sap.com and in SAP demo program (check transactions like ABAPDOCU or DWDM)
2013 May 29 10:58 AM
Hi,
You can put a code in Section of PBO like that
if sy-ucomm = 'Button1'.
loop at screen.
if screen-name = 'Field1' ---> 'which fields are required
screen-active = '1'.
modify screen.
endif.
endloop.
Thanks!
Ram
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |