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 is a modification assistant?

597


How to pass data from list to report?

576


What is the lock object?

612


Explain what are the various types of selection screen event?

565


Difference between user exit and badis?

614






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

895


java script for push button in adobe forms.

1903


What is screen flow logic? What are the sections in it?

606


How to specify a client for database table processing?

623


What are your ways to performance optimization?

922


Explain about Recording Function?

672


Can a transparent table exist in data dictionary but not in the data base physically? : sap abap data dictionary

620


What is a data dictionary? : sap abap data dictionary

557


What is the max no of match code id's that can be defined for one match code object? : abap data dictionary

655


What are match codes? describe?

636