2006 Sep 12 7:33 PM
HI
I need to display a zfield in the pop up dialog box as a check box.
I am using the FM POPUP_GET_VALUES to trigger the pop up within the user exit and passing the Z table field to it.
Z field is displaying as an input field.
But I need to display it as a Check box.
Can any one tell me how to do this
Thanks in advance
Bhasker
HI
I need to display a zfield in the pop up dialog box as a check box.
I am using the FM POPUP_GET_VALUES to trigger the pop up within the user exit and passing the Z table field to it.
Z field is displaying as an input field.
But I need to display it as a Check box.
Can any one tell me how to do this
Thanks in advance
Bhasker
2006 Sep 12 7:48 PM
hi,
Use the FM REUSE_ALV_POPUP_TO_SELECT..
I_TITLE TEST
I_SELECTION - X
I_SCREEN_START_COLUMN - 10
I_SCREEN_START_LINE - 12
I_SCREEN_END_COLUMN - 20
I_SCREEN_END_LINE - 20
I_TABNAME - GT_TEST
IT_FIELDCAT
-
ROW_POS - 1
COL_POS - 1
FIELDNAME - MRNKZ
TABNAME - GT_TEST
CHECKBOX - X
REF_FIELDNAME - MRNKZ
REF_TABNAME - VBRK
INPUT - X
EDIT - X
OUTTAB
-
One blank row..
Thanks,
Naren
2006 Sep 12 8:02 PM
Hi Naren,
I cannot use FM REUSE_ALV_POPUP_TO_SELECT for my requirement
as I have to capture the 10 input valus from Pop up dailog box in the user exit
One of the input field should be displayed as a check box.
Thanks
Bhasker
2006 Sep 12 8:28 PM
I don't think you can make one input a checkbox. You may be able to use a field of type Char 1 with a value range of 'X' and blank. Try testing the FM with field CUKN-LKENZ to see what I mean.
2006 Sep 12 8:54 PM
Hi,
Still you can use the FM REUSE_ALV_POPUP_TO_SELECT, but the input fields will be column wise instead of rows..
Thanks,
Naren
2006 Sep 12 9:02 PM
Call a subscreen from the user-exit. Define the field as checkbox in the subscreen (or if you prefer calling a screen, you can do that as well)
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |