cancel
Showing results for 
Search instead for 
Did you mean: 

Add a pop up in POWL:FITV_POWL_TRIPS

Former Member
0 Kudos

Hi Experts,

My requirement is to add a "Delete" button under the "Credit Card Import" tab of the WD Component

FITV_POWL_TRIPS.

I was able to find a feeder class CL_FITV_POWL_FEEDER_TRIP_CCC and can create a button by enhancing the class.

What i am going to do is

1.Create button in get_actions method

2.Handle the action in handle_action method.

On Action of delete button i need to show a pop up window and that is what i am looking for, how can i call a popup window here on POWL?

Bhanu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Experts,

I was able to add a "Delete" button using the get_actions method of the feeder class CL_FITV_POWL_FEEDER_TRIP_CCC

My requirement is when user selects the record of a table and click on "Delete" button i need to raise a pop up to confirm if the user wants to delete the line item.

I would like to know how can i create a pop up in powl ?

I read in one of the posting that we need to pass the required message in e_conf_message parameter of the method

GET_ACTION_CONF but how will that generate a pop up in powl?

Need your advice on the same.

Thanks

Bhanu

Former Member
0 Kudos

Hello Bhanu,

The feeder method GET_ACTION_CONF will take care of generating the message.

Just a example, for delete thing.

DATA: l_test LIKE LINE OF e_conf_message.

CASE i_actionid.

WHEN 'DELETE'.

l_test = 'Really delete selected lines?'. "#EC NOTEXT

INSERT l_test INTO TABLE e_conf_message.

Best regards,

Rohit

Former Member
0 Kudos

Hi Rohit,

Yes i tried it and it worked for me.

Also your document on POWL here on SDN was very helpful.

Thanks

Bhanu

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes, you will need to implement the badi for the class mentioned by you and in the method handle_action, there is one parameter c_portal_actions. You will need to pass portal_path, portal_nav_mode, bo_system and bo_name to this parameter....In Portal, you will need to create an iView and pass the path to parameter portal_path.....

eg., 'ROLES://portal_content/.....'