cancel
Showing results for 
Search instead for 
Did you mean: 

How to Modify a POWL

former_member207754
Participant
0 Kudos

Hi Guys,

I have a POWL in travel management (Type FITV_POWL_TRIPS_TR) and I want to add a column in this POWL that is not standard.

Where can I customize this new column?

Thanks,

Thiago Cavalcante

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

-> You can use Enhancement Framework Technology.

-> Look out for Blogs by Thomas Weiss. They are very useful.

-> Easiest way out to do the same would be as :

-> Put your application in display mode.

-> There is button for Enhancement in the tool bar (Spiral shaped).

-> Press that button and create a new enhancement.

-> Now add any UI Element(column) you want to add.

-> In Enhancement Framework we do have some Post Exit and Pre Exit Methods.

-> Some Enhancement Points are already given by Standard SAP.

-> You can write the logic there and activate the Enhancement.

Check out this link for basic idea about enhancement.

http://help.sap.com/saphelp_nw04s/helpdata/en/0e/4d3e42fc94aa04e10000000a1550b0/frameset.htm

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f5612003...

I hope above links will be helpful.

Thanx.

Answers (4)

Answers (4)

former_member207754
Participant
0 Kudos

Thanks guys!

We got it!

Former Member
0 Kudos

Hi,

Have you tried the changes and do they work...........

Best regards,

Rohit

former_member207754
Participant
0 Kudos

I'm sorry but what is the transaction that I use to do this steps?

Thanks

Former Member
0 Kudos

HI Thiago,

The POWL implementation has to be done with the feeder class.

Go to se80 transaction,

Enter the name of feeder class, in the method IF_POWL_FEEDER~GET_FIELD_CATALOG, implement your logic.

It will add a new column to the POWL.

Best regards,

Rohit Mahajan

https://wiki.wdf.sap.corp/display/ERPOPSBNG/POWL+Framework

0 Kudos

Hi,

Go to Transaction POWL_TYPE and give your powl type, there a Feeder class assigned to your powl type.

now go to se24 and place the powl feeder class and do the modifications.

Regards,

Kishore

0 Kudos

Hi,

To add a new column.

step1 Add the new column to the fied catlog

To do this go to attributes of your feeder class and find the structure of 'MT_object' attribute.

add a field to that structure.

step2: populate the field along with other data in method 'Get_objects'.

Hope this will solve your problem.

Enjoy,

Kishore