Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

When i click process button, it is not working.

Former Member
0 Likes
782

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

5 REPLIES 5
Read only

uwe_schieferstein
Active Contributor
0 Likes
645

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

Read only

0 Likes
645

Thx Uwe...you are right...it is now working....how to pass internal table values in a BAPI...

Regards

vasanth

Read only

0 Likes
645

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

Read only

Former Member
0 Likes
645

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

Read only

Ramneek
Product and Topic Expert
Product and Topic Expert
0 Likes
645

Hello,

Are you not able to indentify which row has to be processed?

Ramneek