‎2010 Mar 16 7:02 AM
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
‎2010 Mar 16 7:40 AM
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
‎2010 Mar 16 7:25 AM
‎2010 Mar 16 7:41 AM
Hi,
Right click on the field which you want to make as check box in the table control. select CONVERT-> CHECKBOX.
Thanks,
Sri.
‎2010 Mar 16 7:36 AM
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
‎2010 Mar 16 7:38 AM
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.
‎2010 Mar 16 7:40 AM
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
‎2010 Mar 16 7:42 AM
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