cancel
Showing results for 
Search instead for 
Did you mean: 

BADI - Travel Receipt (Expense Types)

Former Member
0 Kudos

I'm not having any luck search the SDN or browsing the BADI's in SE18 to find how to control the expense types on the travel receipts (documents) page. I'm just trying to find where I add a sort statement to get SPZKL sorted in the drop-down expense type list.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189496
Active Participant
0 Kudos

Hi,

If you are using webgui you can "play" with the list of expense types shown using the Badi TRIP_WEB_CUSTOMIZING

I'm using it to hide some entries, so you should be able to using it to sort the list.

Hope this help.

Regards,

Christophe DARS

T&E Consulting

http://www.te-consulting.fr

Former Member
0 Kudos

I was trying ot use that BADI last week. It sorts the expenses but something re-sorts them back after it exits that BADI.

METHOD if_ex_trip_web_customizing~user_exit_customizing.

SORT expense_types BY exp_type. "Added 07/15/2010

ENDMETHOD.

It appears it's sorting based on EXP_TXT.

Edited by: David Dockham II on Jul 20, 2010 8:02 AM

former_member189496
Active Participant
0 Kudos

Hi,

It sounds logic that this is sorted on the text field as only the text is visible.

Why would you like to sort it with the expense type code ? Don't you think that it will confuse the end users ?

You can also add the expense type code in the text description ...

Regards,

Christophe DARS

T&E Consulting

http://www.te-consulting.fr

Former Member
0 Kudos

The users have requested it be sorted by expense type and not shown in the text. Right now all it's doing is confusing the developers. LOL