‎2014 Sep 23 4:17 PM
Hi Group,
I am trying to develop pop up screen ( exactly similar to ALV ) can any body help how I can capture Icons design for up and down arrows and search functionality in module pool program.
‎2014 Sep 24 6:56 AM
Hi, Rajiv!
Not sure whether I got you right. You can see available icons (names, codes) in SHOWICON report.
‎2014 Sep 24 10:09 AM
Hi Nicholay,
thank you for your reply, but my query is about designing pop up screen like ALV style, which is shown in the pic.
‎2014 Sep 24 11:50 AM
Hi, Rajiv!
Still I can't understand what you are trying to implement.
You created some screen. And you want to add some buttons with the mentioned icons (up arrow, down arrow, search). What's the problem in implementing it?
‎2014 Sep 24 12:19 PM
Hi Rajiv ;
You can find all icons with ICON table.
Regards.
Özgün.
‎2014 Sep 24 1:24 PM
Hi Rajiv,
I guess you can use custom container in module pool programming to achieve this. Search on the internet about the steps to create and how to use a custom container.
Regards-
Chirag Keswani
‎2014 Sep 24 1:58 PM
Hi Chirag,
I search custom container ,nothing is giving related to module pool.
I need to design the sceen ALV type shown in the pic.
‎2014 Sep 24 3:49 PM
Hi Group,
here my query is how to create those ICONs in my table control , I am using two table controls one on right and another on left ,is there any option to create .
‎2014 Sep 24 6:03 PM
You can use REUSE_ALV_POPUP_TO_SELECT Function in you screen, and exclude the button which you do no need.
‎2014 Sep 24 7:39 PM
Hi Rajiv,
You can add push buttons which is showing in above screen, added your required icon by clicking which is highlighted below option .
Thanks,
Ashok.
‎2014 Sep 25 5:20 AM
You can use REUSE_ALV_POPUP_TO_SELECT Function in your screen, and exclude the button what and all not needed
‎2014 Sep 25 10:40 AM
Hi Group,
I think there is small confusion in the group, my query is I want to create ICONs (serach, down arrow, up arrow etcc.) on top left corner of each table controls can any body suggest how I can achieve this I cant use menu bar because there are differenct ICONS on two table controls on the same screen , hope this is clear
‎2014 Sep 26 12:35 PM
Rajiv,
There are two ways of approaching this.
Method 1
1. Have buttons on the top of both the table controls with the proper ICONS as you want.
Method 2
2. Use CL_GUI_ALV_GRID. Instaniate it inside a docking container / custom container.
There is an event TOOLBAR for this class. Implement a event handler for this.
In the implementation create your toolbar as:
MOVE 'SEARCH' TO it_toolbar-function.
MOVE ICON_SEARCHTO it_toolbar-icon.
MOVE 2 TO it_toolbar-butn_type.
APPEND it_toolbar TO e_object->mt_toolbar.
3. Implement event USER_COMMAND for the same class to handle the button click.
Note:
The screen shot you gave is of function group SKBH subscreen - 610 have a look at it, you will understand more.
Regards
Deepankar Bhowmick
‎2014 Sep 26 2:10 PM
Hi Deepankar,
Thank you for your reply, I am designing as push button boxes for each this ICONs and its coming well in layouts, can any suggest code in PAI for the below:
Find Button ( when user clicks this button I am desinging one pop up where user enters value
and it comebacks to table control and needs to find value)
ICON_NEXT_VALUE
ICON_PREVIOUS_VALUE
ICON_PREVIOUS_VALUE
ICON_PAGE_UP
ICON_PAGE_DOWN
‎2014 Sep 26 3:33 PM
Shouldn't you be doing that yourself ? I mean coding of the PAI event is completely depending on teh requirements which only you really know.
It also depends on how you have set up your program, again only you know.
So try it first before you ask people to give you the complete code.
Do a search or follow an ABAP course, because this is really basic stuff I think.
‎2014 Sep 26 3:48 PM
Hi Peter,
Thank you for your reply, but I need general functionality for those buttons like finding entry moving curose up and down etc..
‎2014 Sep 25 5:54 AM
Hello Rajiv,
The icons are ICON_COLUMN_LEFT & ICON_COLUMN_RIGHT.
Now to achieve a similar function, in PAI you can use the table_control-current_line to read the row selected in the left table and append it to the right one, vice-versa.
e.g.
READ TABLE gt_left_table INTO lwa_table INDEX table_control-current_line.
IF sy-subrc EQ 0.
APPEND lwa_table TO gt_right_table.
ENDIF.
Regards,
Deepankar Bhowmick