2007 Dec 26 11:18 AM
hi,
M having the following fields through screen painter.
1. sales offfice
2.sales district
3.customer no
for those three fields no extension is not provided and no search help is there.
i want write seletion options to get extension in that module pool
screen.
plese send coding for me , please let me know how to get that
select options with the above all three fields.
Thanks & Regards
Raji
2007 Dec 26 11:29 AM
Check it
In top include
DATA: number(4) TYPE n VALUE '9005',
PROCESS BEFORE OUTPUT.
MODULE status_9001.
CALL SUBSCREEN AREA1 INCLUDING SY-REPID number.
PROCESS AFTER INPUT.
MODULE user_command_9001.
CALL SUBSCREEN AREA1.
&----
*& Module status_9001 OUTPUT
&----
text
----
MODULE status_9001 OUTPUT.
SELECTION-SCREEN BEGIN OF SCREEN 9005 AS SUBSCREEN.
PARAMETER pa_bukrs TYPE t001-bukrs.
select-options matnr for wa_matnr.
SELECTION-SCREEN END OF SCREEN 9005.
ENDMODULE. " status_9001 OUTPUT
2007 Dec 31 5:37 AM
Dear All,
Myself i got the answere how to write the multiple select options in module pool program for different fields.
The logic is mentioned below.
1.First place bush button whereever u want in selection screen.
2.And give the FCT CODE name as PB_SO for that push button.
3.And the ICON NAME in layout as 'ICON_DISPLAY_MORE'
from icon list.
If push button name is PB_SO. (SO= sales office = knvv-vkbur)
when 'PB_SO'.
call function 'COMPLEX_SELECTIONS_DIALOG'
EXPORTING
TITLE = 'Sales Office'
tables
range = gr_vkbur (gr_vkbur = Dummy ranges)
EXCEPTIONS
CANCELLED = 0
OTHERS = 1.
Plese let me know if there is any other option.
Thanks & Regards
raji
2008 Feb 25 5:57 PM