‎2006 Nov 10 3:07 PM
Hi,
I need to write a program that will:
1. list entries from a table with a checkbox
2. have a username parameter box at the top
3. 'Update' button.
The manager will type the username into the box, check the entries that should be assigned to the user, click the update button. The 'username' field in the table would then be updated with the typed username.
How do I, on the initial screen (same screen as the username parameter and the pushbutton), have a checkbox for each line of the table? Once I have that, I think I should be able to figure out the rest myself.
Thanks.
‎2006 Nov 10 3:27 PM
Create a screen(SE51 tcode) with the table control having a checkbox field. In the same screen you can put an input/output field for your username and also code for an 'Update' button.
Put a check in the PBO to see if the Username field is BLANK, then deactivate the table control, only when the username is entered the table control should be activated in the PBO.
Hope this helps!
Regards,
Sudheer.
‎2006 Nov 10 3:27 PM
Create a screen(SE51 tcode) with the table control having a checkbox field. In the same screen you can put an input/output field for your username and also code for an 'Update' button.
Put a check in the PBO to see if the Username field is BLANK, then deactivate the table control, only when the username is entered the table control should be activated in the PBO.
Hope this helps!
Regards,
Sudheer.
‎2006 Nov 13 11:13 AM
Thanks Sudheer and Sreekanth.
I went with Sudheer's solution and it is just what I needed.
Cheers.
‎2006 Nov 11 7:55 AM
Hi,
1) use interactive lists and place update button on application tool bar
2)Take the first field of u r internal table as check box.
3)Retrieve all the records and place in u r internal table
4) Display all the records in the list
5) click the check box for the records u want to select for that particular user nameand click the update button.
6) in at user-command u write the code for updating the data for that user(ie, all the records which u have selected should be updated