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 is a modification assistant?
How to pass data from list to report?
What is the lock object?
Explain what are the various types of selection screen event?
Difference between user exit and badis?
Why do we use Abstract classes give an example from your project?
java script for push button in adobe forms.
What is screen flow logic? What are the sections in it?
How to specify a client for database table processing?
What are your ways to performance optimization?
Explain about Recording Function?
Can a transparent table exist in data dictionary but not in the data base physically? : sap abap data dictionary
What is a data dictionary? : sap abap data dictionary
What is the max no of match code id's that can be defined for one match code object? : abap data dictionary
What are match codes? describe?