on 11-20-2015 12:48 PM
Hi there,
I have a problem I don't see the wood because of too much trees in front of me. After a lot of searching I decided to ask, because I do not find the correct key-words to get a step forward.
Here is my problem:
I want to assign a action_id to a button in my powl.
I have added the button at the fieldcatalog with the following code:
METHOD if_powl_feeder~get_field_catalog.
* 1. Button
CLEAR ls_fieldcat.
ls_fieldcat-colid = 'BUTTON'.
add_colpos.
ls_fieldcat-col_visible = 'X'.
ls_fieldcat-enabled = 'X'.
ls_fieldcat-enabled_ref = 'AUTH'.
ls_fieldcat-display_type = 'BT'.
ls_fieldcat-text = text-015.
ls_fieldcat-editable = ' '.
ls_fieldcat-width = 5.
INSERT ls_fieldcat INTO TABLE mt_fieldcat.
everything is working fine and my result looks like that:
My problem is, that I also need a specific action_id which I can use at METHOD if_powl_feeder~handle_action.
At the moment the method is triggered, but I do not have an action_id, of course
So I'm pretty sure I have forgot something and hope someone can give me a hand.
If I have to provide more details, just let me know.
Thanks in advance.
~Florian
Hi Rohit,
your codesnippet shows how to add a button at the statusbar, that isn't that what I wanted to archive.
I found the solution by my and here is a link to my wikipage where I described how to handle it.
POWL - Personal Object Worklist - ABAP Development - SCN Wiki
Thank you.
~Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this is the hint I needed. As I wrote, I didn't saw the wood because of too much trees in front.
Thank you in advance.
~Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.