Skip to Content
Author's profile photo Rajkumar Shanmuganathan

Display Trip number in the POWL queries of Travel management

In the earlier versions of Travel management, before the existence of Employee Self Service (ESS), trip number is displayed for any Travel Request/Expense created in the system.

You can check the Trip column in the PR05 or TRIP transaction.

In PR05 transaction,

/wp-content/uploads/2012/08/1_133000.png

In the ESS travel management solution, travel related POWL queries are displayed as shown. I had removed Travel Planning related tabs from the POWL queries.

/wp-content/uploads/2012/08/2_133019.png

In the new version of travel management (ESS), trip related information’s are displayed to the user using the POWL queries but the trip number is not available/displayed.  Below steps will help in make the trip number visible in ESS travel management as well.

POWL query uses the feeder class to display the information.

You can find the feeder class and query related information in the transaction POWL_TYPE.

/wp-content/uploads/2012/08/3_133020.png

For each type there will be a feeder class assigned. For example, for My trips, by standard the available feeder class is CL_FITV_POWL_FEEDER_TRIPS.

In order to display the Trip number in the POWL query, have copied the feeder class from CL_FITV_POWL_FEEDER_TRIPS  to ZCL_FITV_POWL_FEEDER_TRIPS.

/wp-content/uploads/2012/08/4_133021.png

In the feeder class CL_FITV_POWL_FEEDER_TRIPS, in method GET_FIELD_CATALOG you have the hidden column name “Trip number” as below,

/wp-content/uploads/2012/08/5_133022.png

In the modified class ZCL_FITV_POWL_FEEDER_TRIPS, I have modified the code as below.

/wp-content/uploads/2012/08/6_133023.png

There will be syntax error in the customized class, you need to change the class name in the below method as well.

/wp-content/uploads/2012/08/7_133024.png

As a result of all the above changes, you can see the trip numbers in the ESS POWL queries as well.

/wp-content/uploads/2012/08/8_133034.png

Thanks,

S.Rajkumar.

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Dear Rajkumar,

      the following is not correct:

      "...queries but the trip number is not available..."

      You can easaly show the trip number by access of the "user setting link" placed on each POWL

      Best regards,

      Sigi

      Author's profile photo Rajkumar Shanmuganathan
      Rajkumar Shanmuganathan
      Blog Post Author

      Hi,

      Thanks for your feedback. By standard SAP Travel Management solution, this column will not appear in the POWL list unless you make them activate/visible with the custom feeder class. You can see in the screen shot itself where I have pointed that "

      In the feeder class CL_FITV_POWL_FEEDER_TRIPS, in method GET_FIELD_CATALOG"   the trip number column is invisible. You will see this column active in the user setting link only if you activate the column using the custom feeder class.

      To explain better, look at the code,  When 'TRIPNUMBER'. ls_fat-col_visible = c_true .  Instead of ls_fat-col_visible = SPACE.

      Thanks,

      S.Rajkumar.