In ALV, i have to display list in which some records has to
display. starting of each record it should display checkox.
and we have to display push button delete. when user select
chekc box and press delete button, that entry should
delete. please tell me how to do it?
Answer Posted / sivaramakrishna
hi mr zubera try it in the way
create userdefined type
types : begin of mara
check type c
matnr type mara-matnr...take neceassery fields.
create itab ,wa.
In manual field catalog declaration:
wa_fcat-Checkbox = 'X'.
now display using grid display or list display
using set pfstatus create one custom button on list screen.
and use below in that
if sy-ucomm = 'deleate' "fct code of deleate button
deleate it_fcat where checkbox = 'x'.
now all the checked records will be deleated.
now display the it_fcat using loopat which will display
only unchecked records
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are the page windows? How many main windows will be there in a page window?
What is repository info. Systems?
What are the differences between table and structure in data dictionary?
What data is contained in data dictionary? : abap data dictionary
What are the different types of the sap abap data dictionary objects?
State the differences between database view & projection view? : abap data dictionary
any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?
What is the difference between sum and collect?
What are the techniques involved in using sap supplied programs?
Can you print decimals in type n? What is difference between float and packed data type?
How do you write manual bdc session method? : abap bdc
visibility section for class level and attributes level
How to combine multiple order in one Delivery ( Step by Step)?
What is view? Different types of view. Explain?
What is a sequence of event-triggered in report?