cancel
Showing results for 
Search instead for 
Did you mean: 

[POWL] Actions ID on Button at level row

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

My question is quite simple. I want to add buttons on rows. In fact, I find out how to do it, it works. But, I have no idear how to set a specific action ID to those buttons.

When the buttons are on the toolbar it is easy, but how to do, when the buttons are on row level ?

The HANDLE_ACTION is well called, but the ACTIONID is empty, then, it is not possible for my to identify if my use clicked on SHOW button or MODIFY button.

If you have any clue, I will appreciate

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Joseph,

Is a custom  table or standard POWL screen ? .

Thanks

KH

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

It is based on FITV POWL Queries. I have enhanced the standard structure to add my buttons. Then in the field catalog method, I define it as a button :

Class : CL_FITV_POWL_FEEDER_TRIPS

Method : IF_POWL_FEEDER~GET_FIELD_CATALOG


(...)

when 'ZBT_MODIFY'.
                  <fs_cat>-col_visible = c_true.
                 <fs_cat>-display_type = 'BT'.
*                <fs_cat>-h_align = 'C'.
                 <fs_cat>-enabled = abap_true.
                 <fs_cat>-text = 'Reprendre'.
                 <fs_cat>-allow_sort = abap_false.
                 <fs_cat>-ICON_SRC = 'ICON_MODIFY'.
                 <fs_cat>-icon_first = abap_true.
                 <fs_cat>-width = 5c

.

Regards