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 table pool?
In select-options, how to get the default values as current month first date and last date by default?
Why bapi need then bdc ? : abap bdc
How can we upload a text file having delimiters in to legacy system? : abap bdc
In an abap/4 program how do you access data that exists on a presentation server vs on an application server?
what is the difference between hashed & sorted internal tables?
Control Break statements- At new...endat.
Explain read dataset in sap abap?
Difference between BDC vs Direct Loads?
Hi to all abap gurus iam new to abap and my querry is as follows . and i feel so happy if u give exact anwers ? Querry1: i have one page( named "page1" )in my script with three windows(logo,adress,main windows) my requirement is to display some dynamic data in the script that is list of orders of the customer whn u give the customer number in selction-screen .then we can go for main window only to dispaly dynamic data ? or is there any other option ? then what should we give as apage number in the next page attribute in the header information. suppose if i dont give "page1" in the next page attribute as anext page what will happen ? i mean that dynamic data will be displayed or not ? Querry2: one one more querry incase if we have two pages in my layout .in page1 (3 windows as said above ) and page2 ( only logo and address window ) and no main window in page2. now if we give "page2" as next page in the next page attribute of page1 then that dynamic data will be displayed or not ?
What is the difference between refresh and free statements?
While sorting field groups we cannot use more than one key field. State true or false. : abap modularization
What is the first thing you do after vendor setup is complete?
Polymorphism real time scenario
How the at-user command serves mainly in lists?