on 02-13-2007 12:27 PM
Hello!
Has any body implemented a dropdown key in the POWL worklist. I have used the
field POWL_DISPLAY_DOM as 'DK' from structure POWL_FIELDCAT_STY. That hasn't helped me in getting a dropdown in the powl worklist.
Thanks in advance!
Best regards,
Smitha.
Hi,
If you fill the information related to Drop-Down key in the field VALID_VALUES of structure POWL_FIELDCAT_STY then automatically the field will becomes as a drop-down only.
<b>For Example:</b> Here for CARRID field i am providing the drop-down information.
ls_fieldcat-colid = 'CARRID'.
ls_fieldcat-filter_ref = 'CARRID'.
ls_fieldcat-colpos = '1'.
ls_fieldcat-col_visible = abap_true.
ls_fieldcat-enabled = abap_true.
ls_fieldcat-allow_sort = abap_true.
ls_fieldcat-allow_filter = abap_true.
ls_valid_value-key = 'LH'.
ls_valid_value-value = 'Lufthansa'. "#EC NOTEXT
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_valid_value-key = 'BA'.
ls_valid_value-value = 'British Airways'. "#EC NOTEXT
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_valid_value-key = 'UA'.
ls_valid_value-value = 'United Airlines'. "#EC NOTEXT
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_valid_value-key = '*'.
ls_valid_value-value = 'All'. "#EC NOTEXT
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_fieldcat-valid_values = lt_valid_values.
INSERT ls_fieldcat INTO TABLE c_fieldcat.
I think I make you clear for your requirement
Thanks and Best Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.