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

Table control help

Karan_Chopra_
Active Participant
0 Likes
835

How can I make a column of table control as check box and select muliple rows using that .

Also how can I call screen in function module (FM), do i need to make it thru se38 and then call in FM or i can make it in FM itself

1 ACCEPTED SOLUTION
Read only

praveen_hannu
Contributor
0 Likes
802

Hi Karan

1) You can create the screen in the function module itself and call it there. Using CALL Screen.

2) Creating a check box or row selector, you need declare a column in the table with the type C and length as 1.

3) In the screen, use the table painter wizard to draw the table, there you can choose this field as row selctor and you can set the properties for single or multiple selection in the screen. When the user selects any perticular row, for that row in the table, in this field has value as 'X'.

Hope it will work for you.

Thanks

Praveen

6 REPLIES 6
Read only

Karan_Chopra_
Active Participant
0 Likes
802

Plzz help

Read only

0 Likes
802

Hi,

Right click on the field which you want to make as check box in the table control. select CONVERT-> CHECKBOX.

Thanks,

Sri.

Read only

Former Member
0 Likes
802

Hi,

You can call a screen in function module itself.

You can create a screen for Function Group in Se51 and then you call it in FM.

You can handle PBO and PAI of screen in Main program.where you will have PBO and PAI include.

Regards,

Shanmugavel Chandrasekaran

Read only

Former Member
0 Likes
802

Hi,

You have a checkbox in your palette (just like how you add your I/O fields), just drag and drop the checkbox onto your table control.

Also add a field for checkbox in your internal table.

Read only

praveen_hannu
Contributor
0 Likes
803

Hi Karan

1) You can create the screen in the function module itself and call it there. Using CALL Screen.

2) Creating a check box or row selector, you need declare a column in the table with the type C and length as 1.

3) In the screen, use the table painter wizard to draw the table, there you can choose this field as row selctor and you can set the properties for single or multiple selection in the screen. When the user selects any perticular row, for that row in the table, in this field has value as 'X'.

Hope it will work for you.

Thanks

Praveen

Read only

RaymondGiuseppi
Active Contributor
0 Likes
802

Execute SE51 on the main program of the function group (SAPLxxxx) to create the dynpro, you can then CALL this screen in the FM, modules will be written in includes of this main FG program. (You can use a [Wizard|http://help.sap.com/saphelp_sm32/helpdata/EN/6d/150d67da1011d3963800a0c94260a5/frameset.htm] to help you create your first table control.)

In the [Table Control Attributes|http://help.sap.com/saphelp_nwpi711/helpdata/en/d1/801c7b454211d189710000e8322d00/frameset.htm], Line Sel : set "multiple", give the name of a field of the internal table to memorize the selected flag. ([Defining a Table Control|http://help.sap.com/saphelp_sm32/helpdata/EN/d1/801bdf454211d189710000e8322d00/frameset.htm])

Regards,

Raymond