on 11-16-2009 6:18 AM
Hi Friends,
I need a drop down list in my POWL. I came to know that the display type needs to be DK in fieldcatalog. However i am unable to fill values in it and get it as output. Pls let me know how i can do that.
Thanks & Regards,
Saud
Hi All,
Does anyone know who to add an action to the drop-down on the POWL?
I need to trigger an action once the user selected a value from the drop-down list.
Any help would be appreciated.
Regards,
Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I have done a coding which is exactly as shown above. But i am not getting the drop down in POWL View.
With respect to above code should i populate STATUS Values in IF_POWL_FEEDER~GET_OBJECTS also.
Will the user be able to select any other values present in the drop down further if they want to change.
Regards,
Vinay Mutt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share the solution ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The following works for me ( code in method GET_FIELD_CATALOG )
*---Editable Dropdown field
DATA: ls_valid_value TYPE powl_namevalue_sty,
lt_valid_values TYPE powl_namevalue_tty.
clear ls_fieldcat.
ls_fieldcat-colid = 'STATUS'.
add_colpos.
ls_fieldcat-enabled = abap_true.
ls_fieldcat-editable = abap_true.
ls_fieldcat-display_type = 'DK'.
ls_valid_value-key = ' '.
ls_valid_value-value = 'Initial'.
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_valid_value-key = '02'.
ls_valid_value-value = 'released'.
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_valid_value-key = '03'.
ls_valid_value-value = 'approved'.
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_valid_value-key = '04'.
ls_valid_value-value = 'rejected'.
INSERT ls_valid_value INTO TABLE lt_valid_values.
ls_fieldcat-valid_values = lt_valid_values.
INSERT ls_fieldcat INTO TABLE me->mt_fieldcat.
Solved by myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.