cancel
Showing results for 
Search instead for 
Did you mean: 

Drop Down in POWL

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

SeanF
Explorer
0 Kudos

Hi Andew - did you have any luck with this?  I am having the same issue, where if I perform an dropdown on a lead-selected record no event is fired.

Former Member
0 Kudos

Hi Sean,

I manage to find out that the event is only triggered when you are running the POWL in NWBC and not when you are running the POWL in SAP Portal.

Regards,

Andrew

Former Member
0 Kudos

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

Former Member
0 Kudos

Can you share the solution ?

Former Member
0 Kudos

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.

Former Member
0 Kudos

Solved by myself