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

Checkbox, pushbutton, interactive list

aidan_mulcahy
Active Participant
0 Likes
466

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
430

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.

3 REPLIES 3
Read only

Former Member
0 Likes
431

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.

Read only

0 Likes
430

Thanks Sudheer and Sreekanth.

I went with Sudheer's solution and it is just what I needed.

Cheers.

Read only

Former Member
0 Likes
430

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