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


Please Help Members By Posting Answers For Below Questions

What are internal tables? How do you get the number of lines in an internal table?

628


Why do we use Abstract classes give an example from your project?

881


Which table stores the programs created?

611


Can you delete a domain, which is being used by data elements? : abap data dictionary

809


What are conversion routines? : abap data dictionary

582






What is bdc? : abap bdc

604


How to call other programs?

617


Which infotype records can not be deleted ? : abap hr

602


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.

1557


performance tuning concepts

950


How many types of tables exists and what are they in data dictionary? : abap data dictionary

707


What is locking ?

598


how can we enable hyperlink in screen painter?

3372


What are the system fields? Explain?

630


How to find Kernal badi ?

1149