‎2011 Jan 27 8:05 PM
In this program, from an external file, data's are checked in the database whether they are there and a purchase order is displayed in ALV along with checkbox. When checkbox is ticked, and then if process button is clicked....some process has to take place....but it is not working properly
<removed by moderator>
Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
Edited by: Thomas Zloch on Jan 27, 2011 9:58 PM
‎2011 Jan 28 11:11 AM
Hello Vasanthakumar
Most likely you have forgotten to call method go_grid->CHECK_CHANGED_DATA (guess you are using class CL_GUI_ALV_GRID) at PAI before calling your processing routine.
This method call ensures that
- the data at the frontend (i.e. the grid display) are transported to
- the backend, i.e. your itab in the ABAP report
If this is correct then processing does not take place because the marked checkbox contents is never visible in the itab.
Regards
Uwe
‎2011 Jan 29 12:58 PM
Thx Uwe...you are right...it is now working....how to pass internal table values in a BAPI...
Regards
vasanth
‎2011 Feb 05 12:48 PM
After using the method CALL METHOD alv_grid->check_changed_data, even if i dont tick the checkbox, it changes the quantity....my requirement is data's only be changed checking whichever checkbox has been ticked.....please help....
Regards
vasanth
‎2011 Jan 28 1:54 PM
I have already tried this option....what i wanted to do is...when i tick the checkbox of the purchase order, then i press the "process" button, in that row which i ticked the checkbox.....some functionality has to take place...
Display will be like this...
checkbox purchase order no quantiy price....
checkbox purchase order no quantiy price....
checkbox purchase order no quantiy price....
process
‎2011 Jan 28 4:02 PM
Hello,
Are you not able to indentify which row has to be processed?
Ramneek