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 the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.
It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization
In Table Field when display the Name, whose first charecter should be capital letter and rest will be small letter.
What is the difference between call transaction method and the session method? : abap bdc
What are the differences between primary and secondary indexes?
What is the relationship existing between the various data elements in data dictionary? : abap data dictionary
What are the drill-down features provided by abap/4 in interactive lists?
What are the differences between a database index and a match code? : abap data dictionary
Tell me a scenario where did you use secondary index?
What is narrow casting and wide casting?
Explain open dataset in sap abap?
What is an internal table?
Does the table can have multiple foreign keys?
Differentiate database index and match code.