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 internal tables? How do you get the number of lines in an internal table?
Why do we use Abstract classes give an example from your project?
Which table stores the programs created?
Can you delete a domain, which is being used by data elements? : abap data dictionary
What are conversion routines? : abap data dictionary
What is bdc? : abap bdc
How to call other programs?
Which infotype records can not be deleted ? : abap hr
hi,i worked mostly in core abap.know iam assigned to XI utility project.can u experts let me know what r the basic things i need to learn to work in XI utility project.i already searched in forum.thanks in advance.
performance tuning concepts
How many types of tables exists and what are they in data dictionary? : abap data dictionary
What is locking ?
how can we enable hyperlink in screen painter?
What are the system fields? Explain?
How to find Kernal badi ?