‎2005 Sep 14 12:17 PM
how to modify the changes made to the report displayed. i.e., i am having a first column as checkbox, when i select the checkbox it should be update in the internal table. how can i do this.
‎2005 Sep 14 12:23 PM
‎2005 Sep 14 12:23 PM
‎2005 Sep 14 12:24 PM
this is not at selection screen after the list has been displayed.
‎2005 Sep 14 12:29 PM
Hi Hashmatullah ,
look sample program DEMO_LIST_READ_LINE
regards Andreas
‎2005 Sep 14 12:31 PM
‎2005 Sep 14 12:49 PM
‎2005 Sep 14 1:11 PM
the checkbox selected is not captured. i had specfied the checkbox in the internal table also. can anyone give some more tips to do.
‎2005 Sep 14 1:16 PM
can you post the code you are using? we can check out whats going wrong
Regards
Raja
‎2005 Sep 14 1:31 PM
loop at it_zqord into wl_zqordq.
write:/1 a, 3 wl_zqord-ch as checkbox, 4 ''.
write: 5 a, (10) wl_zqord-vbeln,
a, (6) wl_zqord-posnr,
a, (10) wl_zqord-erdat,
a, (8) wl_zqord-zpositionid,
a, (9) wl_zqord-pernr,
a, (10) wl_zqord-zqtapct,
a, (10) wl_zqord-zvbegdt,
a, (10) wl_zqord-zvenddt,
a, (10) wl_zqord-zcommdt,
a, (6) wl_zqord-zordstat,
a, (10) wl_zqord-zordstatdt,
a.
line = sy-tabix.
read line line field value wa_zqordqtah-ch
into wa_zqordqtah-ch.
modify itd_zqordqtah from wa_zqordqtah-ch.
endloop.
When button is pressed
do line times. " line_count times.
read table it_zqord into wl_zqord index sy-tabix.
read line sy-tabix field value wl_zqord-ch into w_ch.
if sy-subrc ne 0.
exit.
endif.
if w_ch = 'X' and confirmation = 'G'.
modify it_zqord from wl_zqord.
endif.
enddo.
‎2005 Sep 14 1:51 PM
Hi,
I suppose that you should check what is the number of the list line, where begins your table output. It is possible to not the first line. That's why you exit from the do loop.
Svetlin
‎2005 Sep 14 2:03 PM
suppose if go thru sy-index. when i am displaying the report starting 8 rows were defined for header, so now the printing part comes from 9th row. now if i selected the 10th row(index) how can i modify the data to the internal and database. reply soon its urgent.
‎2005 Sep 14 2:22 PM
Hi,
data index type i.
loop at it_zqord into wl_zqordq.
index = <b>sy-tabix</b> + 9.
read line index field value wl_zqord-ch into w_ch.
modify it_zqord from wl_zqord.
endloop.
Svetlin
Message was edited by: Svetlin Rusev
‎2005 Sep 14 2:28 PM
hi,
instead of using sy-tabix or sy-index use one counter variable and process set the default value as per your requirement.
using the counter variable process the read line,
normally the default lines don't have check box i thing so.,
cheers,
sasi